Hi,
I need create an alert to trigger when Node ABC is up, and Nodes DEF or GHI is down.
I made this alert, but it´s not working:
There is a problem with the logic in the any section. Using any here creates a logical OR so that that condition will be true in the db contains a down node OR and node named DEF OR a node named GHI. So basically that sesction will always be true. If you add an all to each any in the second section you should be ok.
Thanks a lot for your fast answer.
I need create an alert with 60 servers, to trigger only when ABC is up
and any of these 60 servers is down. Need I follow your example ?
Yes - but it looks like there is a small error on my nesting. I'll fix it and repost.
Here you go. To add more servers you just keep adding to the last OR but keep the alignment as shown. Another method would be to make the alarm for one server against that status of ABC then copy and edit that alert for each other server. That will keep you from having a real long trigger condition in a singe alert that might be difficult to edit and troubleshoot.
It would easier to attack this using a dynamic service group. If you create a group of all the servers that should not be down B,C,D, E...), set the group status to worse and the the alert will only need to reflect the status of server A = up AND group X status is down. That make only one alert which is easy to manage and understand. From there you can use the group variables to message exactly which part of the group failed in an email.