Page 1 of 1
pnp problem, empty /usr/local/nagios/share/perfdata/
Posted: Fri Jun 08, 2012 4:46 am
by cenesote
Hello,
After to install nagios XI PNP graphs are not working, nagios.cfg and commads are correct and I'm seeing files at /usr/local/nagios/var/spool/perfdata, but folder /usr/local/nagios/share/perfdata/ still continues empty, and there are no graphs about hosts and services configurated, Performance data in services is correct to... I'm not able to solve this issue, I'm going crazy! Anyone could help me?
Thanks!
Re: pnp problem, empty /usr/local/nagios/share/perfdata/
Posted: Fri Jun 08, 2012 9:00 am
by scottwilkerson
Can you run the following to verify the crond is running
If that is running lets make sure the performance processor is running
Re: pnp problem, empty /usr/local/nagios/share/perfdata/
Posted: Mon Jun 11, 2012 3:04 am
by cenesote
Hello,
It seems crond and perfdataproc are running
ps aux|grep cron/perfdataproc
root 8413 0.0 0.0 9216 1044 ? Ss 10:00 0:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1
root 8424 0.2 1.0 218128 20852 ? S 10:00 0:00 /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php
rari01c 11874 0.0 0.0 105300 892 pts/0 S+ 10:00 0:00 grep cron/perfdataproc
perfdataproc.log is empty....
Thanks
Re: pnp problem, empty /usr/local/nagios/share/perfdata/
Posted: Mon Jun 11, 2012 9:29 am
by scottwilkerson
If you go to
Home -> Process Info
Is Performance Data Green?
Re: pnp problem, empty /usr/local/nagios/share/perfdata/
Posted: Mon Jun 11, 2012 10:12 am
by cenesote
Yes, it's green
Re: pnp problem, empty /usr/local/nagios/share/perfdata/
Posted: Mon Jun 11, 2012 10:33 am
by scottwilkerson
Can you tell me what the following items are set to in your nagios.cfg
Code: Select all
service_perfdata_file_processing_command
host_perfdata_file_processing_command
they should be
Code: Select all
service_perfdata_file_processing_command=process-service-perfdata-file-bulk
host_perfdata_file_processing_command=process-host-perfdata-file-bulk
Re: pnp problem, empty /usr/local/nagios/share/perfdata/
Posted: Mon Jun 11, 2012 11:22 am
by cenesote
I've this lines configured
service_perfdata_file_processing_command=process-service-perfdata-file-pnp-bulk
host_perfdata_file_processing_command=process-host-perfdata-file-pnp-bulk
I tried witch lines you're proposing, but still not working...
Re: pnp problem, empty /usr/local/nagios/share/perfdata/
Posted: Mon Jun 11, 2012 11:24 am
by scottwilkerson
Is your NPCD daemon running?
Re: pnp problem, empty /usr/local/nagios/share/perfdata/
Posted: Mon Jun 11, 2012 11:31 am
by cenesote
Yes
service npcd status
NPCD running (pid 2052).
Re: pnp problem, empty /usr/local/nagios/share/perfdata/
Posted: Mon Jun 11, 2012 1:37 pm
by scottwilkerson
cenesote wrote:I've this lines configured
service_perfdata_file_processing_command=process-service-perfdata-file-pnp-bulk
host_perfdata_file_processing_command=process-host-perfdata-file-pnp-bulk
I tried witch lines you're proposing, but still not working...
Did you restart nagios after making the changes?