pnp4nagios

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
mroter
Posts: 80
Joined: Sun Apr 29, 2012 12:43 pm

pnp4nagios

Post by mroter »

I'm using NagiosXI 3.1and installed php4nagious.
I've configured npcdmod in nagios.cfg:
process_performance_data=1
broker_module=/usr/local/pnp4nagios/lib/npcdmod.o config_file=/usr/local/pnp4nagios/etc/npcd.cfg

Now I can see the graphs in the pnp4nagios & check_mk but not in nagiosxi as it is looking for the perfdata in original location. How/where can I change it so that NagiosXI will look on the new directory?
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: pnp4nagios

Post by agriffin »

Nagios XI already installs and uses pnp4nagios. You really should revert back to XI's version and configuration of pnp. In Nagios XI's installation directory, cd to subcomponents/pnp and run ./install.
mroter
Posts: 80
Joined: Sun Apr 29, 2012 12:43 pm

Re: pnp4nagios

Post by mroter »

Thanks for the prompt reply:) I was expecting it.
I'm using Check_MK Multisite for my POC and could not find away to tell it to use the embeded pnp4nagios version in XI.
So I need either to reconfigure XI or Multisite...

Can you/anyone help either way?
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: pnp4nagios

Post by agriffin »

I'm not exactly sure what it takes to set up check_mk multisite this way. Nagios XI puts pnp4nagios at http://hostname/nagios/pnp in Apache if that helps, and you obviously already know where the perfdata files are put.
mroter
Posts: 80
Joined: Sun Apr 29, 2012 12:43 pm

Re: pnp4nagios

Post by mroter »

Thanks.
Do you have anything aginst the npcdmod?
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: pnp4nagios

Post by agriffin »

You should have the original broker options left intact from Nagios XI's configuration. I believe you can specify multiple broker_module options, so you can use npcdmod that way, but make sure that ndomod is still being used from XI's default configuration.
Locked