Page 1 of 1

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

Posted: Mon Jan 30, 2012 4:27 pm
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?

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

Posted: Tue Jan 31, 2012 1:42 pm
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

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

Posted: Tue Jan 31, 2012 5:36 pm
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.

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

Posted: Wed Feb 01, 2012 10:27 am
by scottwilkerson
Yep, if it is running over that threshold, perfdata will not process