Page 1 of 1
Disable Service notifications on multiple hosts
Posted: Thu Aug 17, 2017 2:24 pm
by jkinning
I had a request come in asking about disabling notification for services and host on multiple clients. They use the Nagios XI Search at the top to search for their machines. Example search might be something like Markit which shows 5 hosts and they hit Enter and then in the primary window all the Markit hosts show up and the services. Is it possible to somehow "bulk" disable notifications for all services on this host and include the host as well with one swoop? Currently they select the host and I've added the Disable notification for all services on this host which pops up another small window and they check the Include host check box as well.
I looked around and couldn't figure out a way to disable notification on multiple hosts and include the services on each host as well.
Re: Disable Service notifications on multiple hosts
Posted: Thu Aug 17, 2017 4:56 pm
by tgriep
If you want to disable the email notifications temporarily while a host or service id down, you can do that from the Home > Incident Management >Mass Acknowledge menu.
You could use this tool to schedule downtime or to acknowledge large groups of unhandled problems.
Is that what you are looking for?
Re: Disable Service notifications on multiple hosts
Posted: Fri Aug 18, 2017 6:26 am
by jkinning
That doesn't appear to show all my hosts. Periodically, we are required to do some kind of maintenance, application upgrade, OS patch, etc, that requires us to take the VM(server) down. To prevent Nagios alerts we temporarily disable notifications for the host and services. Usually this is done across the entire environment (dev, qa, staging, production) and some application teams have multiple server environments. Today we search for the host and then host by host we disable all services for that host and include the host. I was looking for a way in which I can search for the host and perform this task from one central location. All the environments begin with the same name which is usually based off the application. For my example the servers were called markitappw1p, markitappw2p, markitappw1s, markitappw2s, and so forth and so one. There were 8 hosts total that I wanted to disable all services and the host from sending out notifications. Instead of disabling one-by-one I am wondering if there is a method to perform that task in one shot.
Re: Disable Service notifications on multiple hosts
Posted: Fri Aug 18, 2017 11:27 am
by tgriep
Yes, that menu will only show host and services that are in an Alert state.
You can use the Home > Schedule Downtime menu, in that menu you can select multiple hosts and put them in downtime and select to put the services in downtime as well.
That way you can temporarily disable notifications during the scheduled downtime and when the downtime expires, it will re-enable notifications.
Another option is to create a host group and use the Hostgroup Summary / Overview / Grid menus to disable the notifications that way but you would have to create the groups before hand.
When you get to that menu, click on the View Host Groups command icon and disable the notifications for the hosts and services.
Let us know if you have any other questions.
Re: Disable Service notifications on multiple hosts
Posted: Mon Aug 21, 2017 2:55 pm
by jkinning
This can be locked.