NetXMS Support Forum

English Support => General Support => Topic started by: justrest on February 10, 2023, 03:57:40 PM

Title: How to avoid the alarm flood of offline equipment chain?
Post by: justrest on February 10, 2023, 03:57:40 PM


I would like to ask the expert a question: if an aggregation device is disconnected, all the devices under it will be offline, and each device will send an alarm message at this time. How can we make sure that only the top device performs the action of sending alarm message, and the lower part relies on the device not to send alarm message?
Title: Re: How to avoid the alarm flood of offline equipment chain?
Post by: keenoar on February 13, 2023, 10:28:09 AM
A quick solution would be to exclude the child nodes from source objects in the EPP for that rule.
Title: Re: How to avoid the alarm flood of offline equipment chain?
Post by: justrest on February 13, 2023, 12:26:41 PM
Thank you very much, but  if  manually exclude the child nodes, it is too much trouble,  can there be any rule than can  automatically adapte  to it?
Title: Re: How to avoid the alarm flood of offline equipment chain?
Post by: keenoar on February 13, 2023, 02:00:24 PM
you can use a filtering script in the EPP and match for the names of the nodes you want to dismiss. something like this:

if($node->name match "^unwanted_node.+")
{
    return false;
}
return true;
Title: Re: How to avoid the alarm flood of offline equipment chain?
Post by: justrest on February 13, 2023, 05:07:58 PM
Thank you very much for the pointers!