Timed Alarms Configuration
-
My goal is to have three alarms when a node goes down. One alarm after being down for 2 min, another alarm after being down 5 minutes, and a third alarm once the node has been down for 20 minutes.
Once the node comes back on line then we get a node Up alert.
With my current setup this is all working with one snag. If a node goes down for less than 2 minutes and then comes back up I get a node up alert. Since the node was down for less than 2 minutes I never get the node down alert.
Very similar to the issue in this post from 2012, but when I try to add the first script Netxms tells me its deprecated.
https://www.netxms.org/forum/general-support/event-based-on-resolving-an-alarm-timeout/I'm not familiar with scripting at all so I was hoping I could get this accomplished using some combo of event processing policies. Any help would be appreciated.

-
Screenshot below shows how we do it. Basic idea is not to send "node up" notification if timer for "node down" notification was not fired yet. Note that rule order is important in this setup.
Best regards,
Victor -

-
That was exactly what I needed. Thanks! Posting setup here for reference.
Node goes down.
2 minutes later slack alert goes out
5 minutes later slack alert goes out
20 minutes later slack alert goes outIf the node comes up prior to 2 minute alert, alarms are cleared and no alert is sent.

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