Suppress or roll-up service downtime notifications?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Re: Suppress or roll-up service downtime notifications?

Post 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...
Andrew J. - Do you even grok?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Suppress or roll-up service downtime notifications?

Post 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.. :)
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Re: Suppress or roll-up service downtime notifications?

Post 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?
Andrew J. - Do you even grok?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Suppress or roll-up service downtime notifications?

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Re: Suppress or roll-up service downtime notifications?

Post by vAJ »

Will give it a shot. Thanks!
Andrew J. - Do you even grok?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Suppress or roll-up service downtime notifications?

Post 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.
Locked