Hi,
We have nagios XI 5.2 , and we are using modgearman. Below is the status of gearman.
Queue Name | Worker Available | Jobs Waiting | Jobs Running
------------------------------------------------------------------
check_results | 1 | 0 | 0
eventhandler | 50 | 10 | 0
host | 99 | 0 | 30
service | 99 | 9475 | 69
worker_<servr1> | 1 | 0 | 0
worker_<serv2> | 1 | 0 | 0
------------------------------------------------------------------
There is no event handler running here. broker module entry in nagios.cfg file.
broker_module=/produits/nagiosXI/gearman/worker/bin/mod_gearman.o config=/produits/nagiosXI/gearman/worker/etc/mod_gearman_neb.conf eventhandler=yes
and i have made eventhandler=yes in mod_gearman_neb.conf , mod_gearman_worker.conf configuration files.
Only service and hosts checks are executing using worker but not eventhandler check.
please suggest here.
Modgearmn issue
-
kyang
Re: Modgearmn issue
Anything noticeable inside the log? Can you post the log file? set the debug=3
Could you also post your conf files?
Were event handlers ever working?
Code: Select all
/var/log/mod_gearman2/mod_gearman_neb.logWere event handlers ever working?
-
socgenindia
- Posts: 21
- Joined: Fri Jun 10, 2016 5:10 am
Re: Modgearmn issue
After enabling the log , i see no log entry for eventhandler. if i enable event handler option in gearman configuration all host checks in nagios grays out and eventhandler execution doesn't takes place.
-
kyang
Re: Modgearmn issue
Could you post your conf files?
Were event handler's working before or ever?
If there's nothing specific showing in the log file for event handlers. How is your event handler's set up to run on gearman?
Code: Select all
/etc/mod_gearman2/module.confIf there's nothing specific showing in the log file for event handlers. How is your event handler's set up to run on gearman?