Re: [Nagios-devel] Core 4 Remote Workers

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
Guest

Re: [Nagios-devel] Core 4 Remote Workers

Post by Guest »

On 02/02/2013 06:36 PM, William Leibzon wrote:
>
> Don't forget that one of the most important things is to have mechanism to
> get statistics on number of workers currently registered, how many jobs
> they are handling, etc. I'd add it as additional numbered item 5) on the
> list.
>

This is already implemented. Ask the queryhandler "#wproc wpstats\0" and
you'll see how many jobs each individual worker has handled and how many
it currently has running.

Run "make dox" in a fresh Nagios checkout and then open
Documentation/html/index.html if you want documentation for the query
handler. It's trivial to write a small program to access it and ask it
stuff. I really should submit the one I wrote so it gets shipped and
people can start playing around with it.

--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: ae@op5.se
Locked