spool/perfdata growing exponentially

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
TSCAdmin
Posts: 155
Joined: Wed Apr 14, 2010 3:00 pm
Location: India

spool/perfdata growing exponentially

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: spool/perfdata growing exponentially

Post 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.
TSCAdmin
Posts: 155
Joined: Wed Apr 14, 2010 3:00 pm
Location: India

Re: spool/perfdata growing exponentially

Post by TSCAdmin »

Code: Select all

service npcd restart 
did the trick. Thank you for your help.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: spool/perfdata growing exponentially

Post by nscott »

Great! Glad that worked.
Nicholas Scott
Former Nagios employee