if don't need all monitoring notifications ...

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

if don't need all monitoring notifications ...

Post by xpertech »

there're 5000 monitoring host/service, if only need several even only need one host/service alarm notification, our configure steps are ...
1. using Bulk Modification Tool
2. select 「notifications_enabled」
3. select all host/service
4. choose off and save
5. re-enable specific host/service notification individually

is that correct or have another easy way?


Another thing, couple years ago, we use Bulk Modification Tool to setup an item in same time to the 5000 host/service, after it display finished, we found there were still some host/service that had not been modified, seems missing some, why?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: if don't need all monitoring notifications ...

Post by lmiltchev »

is that correct or have another easy way?
Probably this will be the easiest way to go. It shouldn't take long time at all.
Another thing, couple years ago, we use Bulk Modification Tool to setup an item in same time to the 5000 host/service, after it display finished, we found there were still some host/service that had not been modified, seems missing some, why?
It's impossible for us to know why something happened a couple of years ago... It is possible that some of the changes were not applied due to timeouts, etc. Bulk Mod tool can "hang" if you don't have enough resources and you try to modify a very large number of objects in bulk. I would recommend that you modify your php.ini file as described here:

https://support.nagios.com/kb/article/n ... e-611.html

Depending on your specific environment, you could increase some of these values even more. For example, on my test XI system, I have set:

Code: Select all

max_input_vars = 100000
just to make sure that I could modify a large number of objects in bulk.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked