No new perfdata in graphs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jvestrum
Posts: 46
Joined: Tue Mar 03, 2015 10:45 am

No new perfdata in graphs

Post by jvestrum »

Our /var/nagiosramdisk filled up a couple weeks ago. I recreated the ramdisk this morning with more space and migrated the contents over, however none of our host/service graphs are getting updated. They still have the old data if I set the span to 30 days but nothing from today. Npcd is running as is the /usr/local/nagiosxi/cron/perfdataproc.php cron job. The perfdataproc.log is filled with lines like these:

Code: Select all

DONE. Processed 0 files.
Outbound data DISABLED Mon, 17 Jul 2017 14:35:05 -0500
Outbound data DISABLED Mon, 17 Jul 2017 14:36:05 -0500

DONE. Processed 0 files.
Outbound data DISABLED Mon, 17 Jul 2017 14:37:03 -0500

DONE. Processed 0 files.

DONE. Processed 0 files.
Outbound data DISABLED Mon, 17 Jul 2017 14:38:04 -0500
Outbound data DISABLED Mon, 17 Jul 2017 14:39:04 -0500

DONE. Processed 0 files.
It's always "Processed 0 files". /var/nagiosramdisk/host-perfdata and service-perfdata slowly grow, then go back down to zero every minute, so it seems the data is being processed, but the graphs do not update.

Running the latest XI 5.4.7 and have restarted all the services. Let me know what else would help troubleshoot this.
jvestrum
Posts: 46
Joined: Tue Mar 03, 2015 10:45 am

Re: No new perfdata in graphs

Post by jvestrum »

I think the problem is in /usr/local/nagiosxi/html/config.inc.php and /usr/local/nagiosxi/var/xi-sys.cfg. Both of these had the location of xidpe_dir and perfdata set to the default /usr/local/nagios/var/spool. I changed them to point to /var/nagiosramdisk/spool and perfdataproc.php is chewing on the data right now. This will take a while, once it's done I'll see if the graphs are fixed.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: No new perfdata in graphs

Post by ssax »

Please run through this KB article and see if you can identify the problem:

https://support.nagios.com/kb/article/n ... blems.html

Here is the architecture overview so that you can familiarize yourself with it:

https://support.nagios.com/kb/article/n ... cture.html


Please attach these files so that we can review them for any mistakes:

Code: Select all

/etc/init.d/nagios
/etc/sysconfig/nagios
/usr/local/nagios/etc/nagios.cfg
/usr/local/nrdp/server/config.inc.php
/usr/local/nagiosxi/html/config.inc.php
/usr/local/nagios/etc/pnp/npcd.cfg
/usr/local/nagiosmobile/include.inc.php
/usr/local/nagios/etc/commands.cfg
Then send the output of these commands:

Code: Select all

chage -l nagios
service npcd status
top -n3
cat /etc/sudoers
tail /usr/local/nagios/var/npcd.log /usr/local/nagios/var/perfdata.log /usr/local/nagiosxi/var/process_perfdata.pl
jvestrum
Posts: 46
Joined: Tue Mar 03, 2015 10:45 am

Re: No new perfdata in graphs

Post by jvestrum »

Thanks for the pointers! After fixing the paths in those config files the graphs are working again.
bolson

Re: No new perfdata in graphs

Post by bolson »

May we go ahead and close this thread?
jvestrum
Posts: 46
Joined: Tue Mar 03, 2015 10:45 am

Re: No new perfdata in graphs

Post by jvestrum »

Yes, go ahead and close it. Thanks.
bolson

Re: No new perfdata in graphs

Post by bolson »

Closing this topic as resolved. Thank you!
Locked