Page 1 of 1

spool/perfdata growing exponentially

Posted: Thu Jun 02, 2011 1:45 am
by TSCAdmin
Hello,

Is there a document or wiki page which explains what is being stored in /usr/local/nagios/var/spool/perfdata?

It grew exponentially in last few days, I see a lots of host-perfdata files in this directory as old as one month.

So I was wondering if if would be okay to delete them?

Thanks

Re: spool/perfdata growing exponentially

Posted: Thu Jun 02, 2011 9:13 am
by mguthrie
Hmm, it seems odd that those files are there in the first place. Do you have performance data processing turned off either globally or for a large group of services? That directory spools the performance data results that are used for performance graphs. The files in that directory should be processed and cleaned out every few seconds. You may want to restart your graphing service and see if that fixes it.

service npcd restart

Otherwise, do you happen to be running with a CPU load of higher than 10.0? The graphing service will halt at that threshold and wait for the load to drop down, which could cause what you're seeing.

Re: spool/perfdata growing exponentially

Posted: Mon Jun 06, 2011 12:26 am
by TSCAdmin

Code: Select all

service npcd restart 
did the trick. Thank you for your help.

Re: spool/perfdata growing exponentially

Posted: Mon Jun 06, 2011 9:15 am
by nscott
Great! Glad that worked.