Page 1 of 1

change check interval for all services

Posted: Thu Jul 28, 2016 7:11 am
by nagios_aws
Hello everyone,

I have added almost 300 services, and I need to change the value of the "check interval" from 1 to 5 on all those 300 services ...

Is there a way to do it for all ? or do I have to do it manually on each service ?

Thank you

Re: change check interval for all services

Posted: Thu Jul 28, 2016 9:49 am
by tmcdonald
If you have a template in use by all of the services and you are defining the check_interval in that template, then changing that template should suffice. Otherwise, we do have a tool called the Bulk Modifications Tool in the Enterprise Edition feature set. There is a (somewhat older) video of ours that shows exactly what you are wanting to do:

https://www.youtube.com/watch?v=3wsLAMR4V2Y

If you have not done so already, you can enable a free 60-day trial of the Enterprise Edition features to get access to this tool.

Re: change check interval for all services

Posted: Mon Aug 01, 2016 9:30 am
by nagios_aws
Hello,

thank you for your answer, I didn't know about this tool, I used it and it works perfect.

It will ease further changes :)

Re: change check interval for all services

Posted: Mon Aug 01, 2016 9:36 am
by tmcdonald
Great to hear it! Is it alright if we close this thread now?

Re: change check interval for all services

Posted: Tue Aug 02, 2016 3:32 am
by nagios_aws
Yeah, sorry, forgot to tell you to do it :)

thank you !