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
spool/perfdata growing exponentially
-
- Posts: 155
- Joined: Wed Apr 14, 2010 3:00 pm
- Location: India
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: spool/perfdata growing exponentially
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.
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.
-
- Posts: 155
- Joined: Wed Apr 14, 2010 3:00 pm
- Location: India
Re: spool/perfdata growing exponentially
Code: Select all
service npcd restart
-
- Posts: 1040
- Joined: Wed May 11, 2011 8:54 am
Re: spool/perfdata growing exponentially
Great! Glad that worked.
Nicholas Scott
Former Nagios employee
Former Nagios employee