Page 1 of 1
pnp4nagios
Posted: Mon Jun 11, 2012 6:01 am
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?
Re: pnp4nagios
Posted: Mon Jun 11, 2012 9:47 am
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.
Re: pnp4nagios
Posted: Mon Jun 11, 2012 10:09 am
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?
Re: pnp4nagios
Posted: Mon Jun 11, 2012 10:52 am
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.
Re: pnp4nagios
Posted: Mon Jun 11, 2012 11:19 am
by mroter
Thanks.
Do you have anything aginst the npcdmod?
Re: pnp4nagios
Posted: Mon Jun 11, 2012 12:02 pm
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.