Page 2 of 2
Re: Suppress or roll-up service downtime notifications?
Posted: Wed Nov 27, 2013 3:56 pm
by vAJ
I think that's it. All contacts are using xi_contact_generic, which was still set to send notifications for downtimes.
I removed it from there are tested, all seems good. I keep forgetting that most settings can be set in 4 different places...
Re: Suppress or roll-up service downtime notifications?
Posted: Wed Nov 27, 2013 3:58 pm
by slansing
Yes, well that is part of the beauty of Nagios.. lots of configuration possibilities, though it can be a curse if half your environment is set up one way..

Re: Suppress or roll-up service downtime notifications?
Posted: Mon Mar 10, 2014 3:55 pm
by vAJ
Since this is still open, I thought I'd add another question.
My previous issue was for one contact receiving DOWNTIME start/end alerts... Now for another instance, I'm trying to disable these notifications for several users (close to 60).
Updating the template they all use does not work. All contacts still have the "S" option checked for hosts and services. Is there any way to bulk disable this option across multiple contacts? I'm really getting sick of my engineers complaining about these notifications. When I give them the instructions to disable them themselves, I get even more static...
Ideas?
Re: Suppress or roll-up service downtime notifications?
Posted: Mon Mar 10, 2014 4:07 pm
by sreinhardt
Since it's not in the bulk mod settings, I would probably say the easiest route is to take the contacts.cfg, and sed to replace inline the notification options removing the downtime flags. Then add them to the etc/imports directory and run scripts/reconfigure_nagios.sh. This will overwrite their options to remove the downtime.
That's about the best option I can think of at the moment.
Re: Suppress or roll-up service downtime notifications?
Posted: Mon Mar 10, 2014 4:17 pm
by vAJ
Will give it a shot. Thanks!
Re: Suppress or roll-up service downtime notifications?
Posted: Mon Mar 10, 2014 4:48 pm
by slansing
Let us know how this turns out, importing configs is definitely a viable solution to mass changes that are not able to be done with Bulk Mod yet.