pnp4nagios after nagios upgrade

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
TheRealSteven
Posts: 1
Joined: Tue May 14, 2013 9:05 am

pnp4nagios after nagios upgrade

Post by TheRealSteven »

Hello,

I recently upgraded my older version of nagios to the newer 3.99.96 version. I obtained this version from the op5 git because I'm also using merlin/ninja skin (http://git.op5.org/git/)
I made a clean install of pnp4nagios 0.6 after the upgrade but the module doesn't seem to load in my nagios and causes it to crash on startup.

Excerpt from the log during startup:

[1368537872] Nagios 3.99.96 starting... (PID=7644)
[1368537872] Local time is Tue May 14 09:24:32 EDT 2013
[1368537872] LOG VERSION: 2.0
[1368537872] qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized
[1368537872] qh: core query handler registered
[1368537872] nerd: Channel hostchecks registered successfully
[1368537872] nerd: Channel servicechecks registered successfully
[1368537872] nerd: Channel opathchecks registered successfully
[1368537872] nerd: Fully initialized and ready to rock!
[1368537872] wproc: Successfully registered manager as @wproc with query handler
[1368537872] wproc: Registry request: name=Core Worker 7649;pid=7649
[1368537872] wproc: Registry request: name=Core Worker 7647;pid=7647
[1368537872] wproc: Registry request: name=Core Worker 7648;pid=7648
[1368537872] wproc: Registry request: name=Core Worker 7646;pid=7646
[1368537872] Error: Module '/usr/local/nagios/addons/pnp4nagios/lib/npcdmod.o' is using an old or unspecified version of the event broker API. Module will be unloaded.
[1368537872] Event broker module '/usr/local/nagios/addons/pnp4nagios/lib/npcdmod.o' deinitialized successfully.
[1368537872] Error: Failed to load module '/usr/local/nagios/addons/pnp4nagios/lib/npcdmod.o'.
[1368537872] livestatus: Livestatus 1.2.0p3 by Mathias Kettner. Socket: '/usr/local/nagios/var/rw/live'
[1368537872] livestatus: Please visit us at http://mathias-kettner.de/
[1368537872] livestatus: Finished initialization. Further log messages go to /usr/local/nagios/var/livestatus.log
[1368537872] Event broker module '/usr/local/lib/mk-livestatus/livestatus.o' initialized successfully.
[1368537872] Event broker module '/usr/libexec/merlin/merlin.so' initialized successfully.
[1368537872] Error: Module loading failed. Aborting.

It fails at the following line in my nagios.cfg (If I comment this out, nagios works fine)

broker_module=/usr/local/nagios/addons/pnp4nagios/lib/npcdmod.o config_file=/usr/local/nagios/addons/pnp4nagios/etc/npcd.cfg

Did something change in the newest nagios version concerning pnp4nagios?

Maybe I should mention that I installed pnp4nagios by compiling from source and followed their documentation carefully.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: pnp4nagios after nagios upgrade

Post by abrist »

The newest version of nagios is 3.5.0.
3.99.x is actually core 4 and is still in beta.

You may want to get on the devel mailing list: http://sourceforge.net/p/nagios/mailman/?source=navbar
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked