mod_gearman.o failed to load Nagios XI 2014 2.3
mod_gearman.o failed to load Nagios XI 2014 2.3
I am attempting to install mod_gearman on my Nagios XI server running 2014R2.3
After the install I modified the nagios.cfg file with the new broker module "broker_module=/usr/lib64/mod_gearman/mod_gearman.o config=/etc/mod_gearman/mod_gearman_neb.conf
"
Nagios fails to start. If I comment out the new broker line nagios will start.
The Nagios.cfg log file shows
[1421418856] Nagios 4.0.8 starting... (PID=32318)
[1421418856] Local time is Fri Jan 16 16:34:16 IST 2015
[1421418856] LOG VERSION: 2.0
[1421418856] qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized
[1421418856] qh: core query handler registered
[1421418856] nerd: Channel hostchecks registered successfully
[1421418856] nerd: Channel servicechecks registered successfully
[1421418856] nerd: Channel opathchecks registered successfully
[1421418856] nerd: Fully initialized and ready to rock!
[1421418856] wproc: Successfully registered manager as @wproc with query handler
[1421418856] wproc: Registry request: name=Core Worker 32323;pid=32323
[1421418856] wproc: Registry request: name=Core Worker 32322;pid=32322
[1421418856] wproc: Registry request: name=Core Worker 32321;pid=32321
[1421418856] wproc: Registry request: name=Core Worker 32320;pid=32320
[1421418856] mod_gearman: ERROR - please specify at least one server
[1421418856] Error: Function nebmodule_init() in module '/usr/lib64/mod_gearman/mod_gearman.o' returned an error. Module will be unloaded.
[1421418856] Event broker module '/usr/lib64/mod_gearman/mod_gearman.o' deinitialized successfully.
[1421418856] Error: Failed to load module '/usr/lib64/mod_gearman/mod_gearman.o'.
[1421418856] ndomod: NDOMOD 2.0.0 (02-28-2014) Copyright (c) 2009 Nagios Core Development Team and Community Contributors
[1421418856] ndomod: Successfully connected to data sink. 0 queued items to flush.
I am using the VMWare image from Nagios XI R2.0. Its running CentOS version 6.6, Nagios XI has been updated three times using the upgrade scripts
I have installed the mod_gearman plug-in using the "Integrating Mod-Gearman with Nagios XI" pdf
using http://assets.nagios.com/downloads/mod_ ... x86_64.rpm
I will attach both mod_gearman_neb.conf and mod_gearmand_worker.conf along with the nagios.cfg file
After the install I modified the nagios.cfg file with the new broker module "broker_module=/usr/lib64/mod_gearman/mod_gearman.o config=/etc/mod_gearman/mod_gearman_neb.conf
"
Nagios fails to start. If I comment out the new broker line nagios will start.
The Nagios.cfg log file shows
[1421418856] Nagios 4.0.8 starting... (PID=32318)
[1421418856] Local time is Fri Jan 16 16:34:16 IST 2015
[1421418856] LOG VERSION: 2.0
[1421418856] qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized
[1421418856] qh: core query handler registered
[1421418856] nerd: Channel hostchecks registered successfully
[1421418856] nerd: Channel servicechecks registered successfully
[1421418856] nerd: Channel opathchecks registered successfully
[1421418856] nerd: Fully initialized and ready to rock!
[1421418856] wproc: Successfully registered manager as @wproc with query handler
[1421418856] wproc: Registry request: name=Core Worker 32323;pid=32323
[1421418856] wproc: Registry request: name=Core Worker 32322;pid=32322
[1421418856] wproc: Registry request: name=Core Worker 32321;pid=32321
[1421418856] wproc: Registry request: name=Core Worker 32320;pid=32320
[1421418856] mod_gearman: ERROR - please specify at least one server
[1421418856] Error: Function nebmodule_init() in module '/usr/lib64/mod_gearman/mod_gearman.o' returned an error. Module will be unloaded.
[1421418856] Event broker module '/usr/lib64/mod_gearman/mod_gearman.o' deinitialized successfully.
[1421418856] Error: Failed to load module '/usr/lib64/mod_gearman/mod_gearman.o'.
[1421418856] ndomod: NDOMOD 2.0.0 (02-28-2014) Copyright (c) 2009 Nagios Core Development Team and Community Contributors
[1421418856] ndomod: Successfully connected to data sink. 0 queued items to flush.
I am using the VMWare image from Nagios XI R2.0. Its running CentOS version 6.6, Nagios XI has been updated three times using the upgrade scripts
I have installed the mod_gearman plug-in using the "Integrating Mod-Gearman with Nagios XI" pdf
using http://assets.nagios.com/downloads/mod_ ... x86_64.rpm
I will attach both mod_gearman_neb.conf and mod_gearmand_worker.conf along with the nagios.cfg file
You do not have the required permissions to view the files attached to this post.
Re: mod_gearman.o failed to load Nagios XI 2014 2.3
Did you have gearmand started before restarting nagios?
Code: Select all
service gearmand start
service nagios restart Re: mod_gearman.o failed to load Nagios XI 2014 2.3
Yes, I started gearmand then nagios.
Re: mod_gearman.o failed to load Nagios XI 2014 2.3
Could you issue the following and post the results:
Code: Select all
natstat -naop | grep gearmand
tail -f /var/log/mod_gearmand/mod_gearman_neb.log Re: mod_gearman.o failed to load Nagios XI 2014 2.3
Run the following commands and show us the output:
Code: Select all
/usr/bin/check_gearman -V
gearman_topBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: mod_gearman.o failed to load Nagios XI 2014 2.3
[root@TLV-NG tmp]# /usr/bin/check_gearman -V
check_gearman: version 1.5.0b1 running on libgearman 1.1.8
2015-01-16 21:44:37 - localhost:4730 - v1.1.8
Queue Name | Worker Available | Jobs Waiting | Jobs Running
--------------------------------------------------------------------
eventhandler | 5 | 0 | 0
host | 5 | 0 | 0
service | 5 | 0 | 0
servicegroup_CUTE | 5 | 0 | 0
worker_gearman-1 | 1 | 0 | 0
--------------------------------------------------------------------
check_gearman: version 1.5.0b1 running on libgearman 1.1.8
2015-01-16 21:44:37 - localhost:4730 - v1.1.8
Queue Name | Worker Available | Jobs Waiting | Jobs Running
--------------------------------------------------------------------
eventhandler | 5 | 0 | 0
host | 5 | 0 | 0
service | 5 | 0 | 0
servicegroup_CUTE | 5 | 0 | 0
worker_gearman-1 | 1 | 0 | 0
--------------------------------------------------------------------
Re: mod_gearman.o failed to load Nagios XI 2014 2.3
you should replace
with
Code: Select all
broker_module=/usr/lib64/mod_gearman/mod_gearman.o config=/etc/mod_gearman/mod_gearman.neb.confCode: Select all
broker_module=/usr/lib64/mod_gearman/mod_gearman.o config=/etc/mod_gearman/mod_gearman_neb.confRe: mod_gearman.o failed to load Nagios XI 2014 2.3
cmerchant that was the problem..
Thanks for the help!
Thanks for the help!
Re: mod_gearman.o failed to load Nagios XI 2014 2.3
Great! We'll go ahead and close this thread. Thanks.