NetXMS Support Forum

English Support => General Support => Topic started by: Andreas E. Mueller on January 22, 2016, 11:04:32 AM

Title: Maintenance in "Processing Policy"
Post by: Andreas E. Mueller on January 22, 2016, 11:04:32 AM
Hello and thank you for this awesome monitoring tool.

I have a question regarding the new maintenance mode.

Is there any posibility to add a script in the "event processing policy", that is doing the following?

- If node is in maintenance, then "return true", so that the action to be taken is "stop event processing"
- else return false, to proceed to the next policies, till rule match.

Greetings from Germany,
Andreas
Title: Re: Maintenance in "Processing Policy"
Post by: Andreas E. Mueller on January 22, 2016, 02:20:12 PM
OK, sorry it was my mistake. It seems there is no need to write a policy script for it.

I think I only had alarms from maintenance nodes (which I shut down), because of a polling delay. :)

Thread can be considered as closed.
Title: Re: Maintenance in "Processing Policy"
Post by: tomaskir on January 22, 2016, 02:31:17 PM
Just a bit more info on this:

When a node is put into the maintenance mode, all new events generated for that node are correlated to the "Node entered maintenance mode" event.
So any new events (after node is put into maintenance) do not actually enter EPP at all (since correlated events do not enter EPP).

When you double click on the "Node entered maintenance mode" alarm in the Alarm Browser, you can see all events that were correlated to the maintenance event.
Title: Re: Maintenance in "Processing Policy"
Post by: Andreas E. Mueller on January 22, 2016, 02:45:14 PM
Aaaaah, ok. Thank you very much tomaskir.

Have to admit, I really start loving NetXMS. :D