Modgearmn issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
socgenindia
Posts: 21
Joined: Fri Jun 10, 2016 5:10 am

Modgearmn issue

Post by socgenindia »

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.
kyang

Re: Modgearmn issue

Post by kyang »

Anything noticeable inside the log? Can you post the log file? set the debug=3

Code: Select all

/var/log/mod_gearman2/mod_gearman_neb.log
Could you also post your conf files?

Were event handlers ever working?
socgenindia
Posts: 21
Joined: Fri Jun 10, 2016 5:10 am

Re: Modgearmn issue

Post by socgenindia »

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

Post by kyang »

Could you post your conf files?

Code: Select all

/etc/mod_gearman2/module.conf
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?
Locked