Page 1 of 1

if don't need all monitoring notifications ...

Posted: Wed Jul 10, 2019 9:22 am
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?

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

Posted: Wed Jul 10, 2019 10:51 am
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.