Performance graphs and /usr/local/nagios/var/spool/perfdata

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
paul.jobb
Posts: 167
Joined: Tue Aug 02, 2011 4:37 pm

Performance graphs and /usr/local/nagios/var/spool/perfdata

Post by paul.jobb »

My nagios XI server used up all its available drive space over this past weekend

The following two folders contained a large amount
/usr/local/nagios/var/spool/perfdata
/usr/local/nagios/share/perfdata

I cleaned out the var spool perfdata folder and was able to restart all of the services.

My performance graphs haven't been displaying data, not sure if they ever did, but its been at least a week since I started noticing. I did offload the mysql database last week due to performance issue, is it possible that was the cause?
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Performance graphs and /usr/local/nagios/var/spool/perfd

Post by lmiltchev »

One possible reason for the "/usr/local/nagios/var/spool/perfdata" to contain a large amount of data is npcd NOT running. You may also have some permission issues. Please, read our documentation on the Performance graph Problems on our wiki page and see if this will help you solve your problem. I don't think offloading the mysql has anything to do with it.
http://support.nagios.com/wiki/index.ph ... h_Problems
Be sure to check out our Knowledgebase for helpful articles and solutions!
paul.jobb
Posts: 167
Joined: Tue Aug 02, 2011 4:37 pm

Re: Performance graphs and /usr/local/nagios/var/spool/perfd

Post by paul.jobb »

Thanks, I think I isolated what the problem is.

There is a setting in the /usr/local/nagios/etc/pnp/npcd.cfg file, load_threshold = 10.0, that I commented out and it appears to be processing perfdata now. My nagios vm has been running at consistently high load, which I do have another forum topic created for.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Performance graphs and /usr/local/nagios/var/spool/perfd

Post by scottwilkerson »

Yep, if it is running over that threshold, perfdata will not process
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart