Schedule all checks in a nagios group

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
[email protected]
Posts: 19
Joined: Tue Feb 07, 2012 7:29 am

Schedule all checks in a nagios group

Post by [email protected] »

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
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Schedule all checks in a nagios group

Post 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? :)
[email protected]
Posts: 19
Joined: Tue Feb 07, 2012 7:29 am

Re: Schedule all checks in a nagios group

Post by [email protected] »

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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Schedule all checks in a nagios group

Post by mguthrie »

You'd probably have to script the solution somehow using the external commands.

http://old.nagios.org/developerinfo/ext ... ndlist.php
[email protected]
Posts: 19
Joined: Tue Feb 07, 2012 7:29 am

Re: Schedule all checks in a nagios group

Post by [email protected] »

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
[email protected]
Posts: 19
Joined: Tue Feb 07, 2012 7:29 am

Re: Schedule all checks in a nagios group

Post by [email protected] »

I have begun using nagiosbpi, it does nost of what I need ,

Thanks For the info.

Regards
Liam
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Schedule all checks in a nagios group

Post by agriffin »

Glad you figured out a setup that suits you!
Locked