Disable SYS_IF_DOWN for most nodes
-
Hello,
I am learning NetXMS.
I have a big network with servers, routers, switches and pcs.
I receive too many SYS_IF_DOWN events.
I want to receive them only from servers, which is the best way to do it?
Thanks,
Mario -
-
I prefer to not see alarms in alarm browser but I am also interested in your idea.
I supposed this is a common thing to ask, like having different thresholds for different nodes. -
I do notification via following nxsl script:
/* $1 - Unique ID of event source object $2 - Email subject $3 - Email body */ node = FindObject($1); if (node != null) { emails = node->getCustomAttribute("notify"); if (emails != null && emails != "") { SendMail(emails, $2, $3); } }The notify Custom Attribute contains email addresses separated by ";". The value can be set for each Node differently or as Inheritable for whole Container.
It it is missing no notification is sent.I solve the different thresholds for different nodes similar way (Custom Attribute and nxsl script checking the threshold).
-
You can set expected states of interfaces to "IGNORE". This could be done automatically from HOOK::ConfigurationPoll - it's a script that is launched on each configuration poll.
interfaces = GetNodeInterfaces($node); foreach(i : interfaces) { SetInterfaceExpectedState(i, "IGNORE"); }Obviously you need to add some filters - you can check if node has agent ($node->isAgent), etc.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login