Hi
I'm a newbie on mod_gearman, hope someone could give me hand to understand how it works
I have a nagios server with pnp4nagios 0.4x version running. I would like to add a mod_gearman worker to load balance the nagios box, after spent sometime google around, it looks pretty easy to implement, however, I could not find any clear document that tell me how mod_gearman handle those performance data returned by the check results.
so far I understand, but may be incorrect
I need to set
perfdata=yes
and
perfdata_mode=1 or 2
on /etc/mod_gearman/mod_gearman_xxx.conf on both nagios and the worker servers.
the conf file also said
Note: processing of perfdata is not part of
# mod_gearman. You will need additional worker for
# handling performance data. For example: pnp4nagios
# Performance data is just written to the gearman
# queue.
my question is, how I connect pnp4nagios to mod_gearman, will mod_gearman pass' those performance data back
to nagios, and nagios will write to a file as usual.
Also do I need to make sure all the nagios check plugins are available on the worker with the same path?
And how the nagios passing the check requests to the gearman worker,
/usr/lib64/nagios/plugin/check_icmp -H xxxx .. etc?
please forgive me if those questions already been asked.
Regards
Sherman