Folks:
Is it possible to get a summarized email that lists affected child objects when a parent object goes down? I am trying to limit the number of emails that I receive when I have an outage of parent object, which has 20 different child objects.
This might seem odd, but I have staff members that forget to check child objects when there is an outage.
So - is it possible to get one outage email that lists or summarized affected devices down-stream?
Example
Parent object (Main Layer 3 cisco switch)
child object (Layer 2 switch)
child object (layer 2 switch)
child object(server)
Summarized email for child objects when parent is down
-
jason_jackal
- Posts: 6
- Joined: Wed Nov 05, 2014 3:34 pm
Re: Summarized email for child objects when parent is down
You could also change the content of the first message to "Please check Nagios, something is really wrong" 
Rob Hassing


Re: Summarized email for child objects when parent is down
I'm not familiar with the fact if it is possible to create a message which tells about the childs? I would first check if there are macros available.
Rob Hassing


-
jason_jackal
- Posts: 6
- Joined: Wed Nov 05, 2014 3:34 pm
Re: Summarized email for child objects when parent is down
Hi rhassing - thank you for your quick response. As a stop-gap, this is what I am doing now; however, I thought a summarized email would assist in troubleshooting from mobile devices that do not have vpn connectivity to view objects that "might" be affected. Currently - I do not expose my Nagios server to the Internet, and due to the latter a vpn is required.rhassing wrote:You could also change the content of the first message to "Please check Nagios, something is really wrong"
I am not always able to get to a computer with vpn connectivity to review outages, and affected devices.
Thank you
Re: Summarized email for child objects when parent is down
Currently, I don't think Nagios will be able to do this out of the box.
As for possible, yes, I believe it is. It would take a bit of custom development though. You would need to create a custom script to query those results in question, and then send the results out.
As for possible, yes, I believe it is. It would take a bit of custom development though. You would need to create a custom script to query those results in question, and then send the results out.
Former Nagios Employee
Re: Summarized email for child objects when parent is down
If you set up the parent/child relationships properly, instead of "Down", you would get "Unreachable" states for the children. Then you can exclude "Unreachable" states from notifications.I am trying to limit the number of emails that I receive when I have an outage of parent object, which has 20 different child objects.
https://assets.nagios.com/downloads/nag ... ility.htmlIf you want to spare yourself from a flood of UNREACHABLE notifications during network outages, you can exclude the unreachable (u) option from the notification_options directive in your host definitions and/or the host_notification_options directive in your contact definitions.
Be sure to check out our Knowledgebase for helpful articles and solutions!