Page 1 of 1

Schedule all checks in a nagios group

Posted: Tue May 08, 2012 9:39 am
I have a large group of 500 hosts, each has 9 service checks.
For each host it is possible to 'Schedule a check of all services on this host'.

:? Is it possible to do this at the group level, rather than just at the host level?

Regards
Liam

Re: Schedule all checks in a nagios group

Posted: Tue May 08, 2012 7:48 pm
by jsmurphy
No there's no way to do it on the hostgroup level, I don't see this ever being added to the hostgroup commands if only for the reason I'm struggling to imagine a scenario where you would actually need to do this on a regular basis. Not only that but the scheduling engine would have to spread it out anyway to handle the new 4500 requests and still honour the existing schedule for your other devices.

Maybe explain why this is a problem we can work out a better solution? :)

Re: Schedule all checks in a nagios group

Posted: Thu May 10, 2012 6:06 am
I agree with your reasoning with respect to performing this on a regular basis. The

Most of the work I do with Nagios is in the setup and deployment, as such, when changes are made to a group, it is very useful during this testing phase, to be able to force schedule a check on all host/services within a specific group. I would use a 'test' Nagios box for such work, rather than the production units.

Is there a way to enable such a feature either in nagios.cfg or elsewhere, for test / development use only.

HTH

Liam

Re: Schedule all checks in a nagios group

Posted: Thu May 10, 2012 10:05 am
by mguthrie
You'd probably have to script the solution somehow using the external commands.

http://old.nagios.org/developerinfo/ext ... ndlist.php

Re: Schedule all checks in a nagios group

Posted: Fri May 11, 2012 6:54 am
http://support.nagios.com/forum/images/ ... m-ohno.png Wow! I didnt know I could do this with nagios. I will have a look through the commands available and check how I could achieve my goal

Thanks
Liam

Re: Schedule all checks in a nagios group

Posted: Fri May 18, 2012 3:35 am
I have begun using nagiosbpi, it does nost of what I need ,

Thanks For the info.

Regards
Liam

Re: Schedule all checks in a nagios group

Posted: Fri May 18, 2012 10:17 am
by agriffin
Glad you figured out a setup that suits you!