pnp problem, empty /usr/local/nagios/share/perfdata/

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cenesote
Posts: 9
Joined: Tue Jun 05, 2012 12:04 pm

pnp problem, empty /usr/local/nagios/share/perfdata/

Post 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!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: pnp problem, empty /usr/local/nagios/share/perfdata/

Post by scottwilkerson »

Can you run the following to verify the crond is running

Code: Select all

service crond status
If that is running lets make sure the performance processor is running

Code: Select all

ps aux|grep cron/perfdataproc
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
cenesote
Posts: 9
Joined: Tue Jun 05, 2012 12:04 pm

Re: pnp problem, empty /usr/local/nagios/share/perfdata/

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: pnp problem, empty /usr/local/nagios/share/perfdata/

Post by scottwilkerson »

If you go to
Home -> Process Info

Is Performance Data Green?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
cenesote
Posts: 9
Joined: Tue Jun 05, 2012 12:04 pm

Re: pnp problem, empty /usr/local/nagios/share/perfdata/

Post by cenesote »

Yes, it's green
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: pnp problem, empty /usr/local/nagios/share/perfdata/

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
cenesote
Posts: 9
Joined: Tue Jun 05, 2012 12:04 pm

Re: pnp problem, empty /usr/local/nagios/share/perfdata/

Post 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...
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: pnp problem, empty /usr/local/nagios/share/perfdata/

Post by scottwilkerson »

Is your NPCD daemon running?

Code: Select all

service npcd status
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
cenesote
Posts: 9
Joined: Tue Jun 05, 2012 12:04 pm

Re: pnp problem, empty /usr/local/nagios/share/perfdata/

Post by cenesote »

Yes

service npcd status
NPCD running (pid 2052).
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: pnp problem, empty /usr/local/nagios/share/perfdata/

Post 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?

Code: Select all

service nagios restart
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked