As part of my move to a new Nagios box, I would like to disable notification emails on the old box system wide.
I'm worried that by using the bulk modification tool to do this, I will run into issues if I need to turn them back on.
The bulk modification tool only modifies the hosts and the services, not templates.
I have gone through and tried to use a template for all of my hosts and services in order to make modifications easier down the road. If I disable notifications at the host/service level, it overwrites the templates that are applied. If I need to enable notifications once more for some reason, Just turning notifications on at the host/service level might cause problems.
Am I looking at this the wrong way?
Turn off email notifications system wide
Re: Turn off email notifications system wide
You can go to: Home->Monitoring Process->click on the "x", next to "Notifications" (the "Disable" action button) to disable notifications globally.
Hope this helps.
Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Turn off email notifications system wide
Well that was beyond simple. Now I feel like a goober.
Thanks!
Thanks!
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Turn off email notifications system wide
Closing as resolved.
Re: Turn off email notifications system wide
jbennett,
Run the following command to start capturing output:
and click on the "Disable" Notifications button from the web interface. Wait for a while, then send me the output from running the tail.
Also, run the following commands and show me the output of it:
Are you having issues with disabling notifications globally?
Run the following command to start capturing output:
Code: Select all
tail -f /usr/local/nagiosxi/var/cmdsubsys.logAlso, run the following commands and show me the output of it:
Code: Select all
ls -ld /usr/local/nagios/var/rw
ll /usr/local/nagios/var/rw/nagios.cmdBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Turn off email notifications system wide
I actually ended up restarting the nagios process and in the process got a Warning: Cannot set UID=500 error that I've gotten before.
Since this box needed to be rebooted anyways, I went ahead and rebooted it and now the notifications are disabled just as they should be.
Thanks so much!
Since this box needed to be rebooted anyways, I went ahead and rebooted it and now the notifications are disabled just as they should be.
Thanks so much!
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Turn off email notifications system wide
Great thanks for letting us know!