Page 1 of 2
xidpe
Posted: Fri Aug 21, 2015 2:13 pm
by r34220
My /usr/local/nagios/var/spool/xidpe directory has over 400k files which is preventing any other files from being created on /usr.
My Trial had expired and was extended. Does that have anything to do with it? What happens if I clear these files out?
Thanks.
Re: xidpe
Posted: Fri Aug 21, 2015 2:17 pm
by jolson
The xidpe directory is responsible for holding your perfdata. It's possible that your Nagios XI box is overloaded, which is a reason why xidpe data can stack up. Check out the following FAQ entry and give the procedure a try:
https://support.nagios.com/wiki/index.p ... ve_No_Data
Re: xidpe
Posted: Fri Aug 21, 2015 2:18 pm
by tmcdonald
The trial expiration shouldn't have anything to do with that, however you will need to clear those files out. As root, run the following:
Code: Select all
service nagios stop
cd /usr/local/nagios/var/spool/xidpe
find . -type f -delete
service nagios start
This will delete the files which will lose some historical data, but should get you back up and running.
Re: xidpe
Posted: Fri Aug 21, 2015 2:20 pm
by r34220
Thanks, I will clear the files.
Re: xidpe
Posted: Fri Aug 21, 2015 2:22 pm
by jolson
Sounds good - let us know the results. Thanks!
Re: xidpe
Posted: Fri Aug 21, 2015 2:34 pm
by r34220
All performance graphs are empty. Does it take some time for them to show data again?
Re: xidpe
Posted: Fri Aug 21, 2015 2:36 pm
by jolson
A few checks will need to run for your performance graphs to begin populating properly. Is your xidpe directory creating and emptying files properly on its own? It would be worth watching it for a little while to ensure it's working properly:
Code: Select all
watch -n1 'ls -l /usr/local/nagios/var/spool/xidpe'
Re: xidpe
Posted: Fri Aug 21, 2015 2:37 pm
by tmcdonald
It can take up to about 15 minutes. Also, you might consider increasing the load_threshold value in /usr/local/nagios/etc/pnp/npcd.cfg to 10x whatever your CPU count is, then running service npcd restart.
Re: xidpe
Posted: Fri Aug 21, 2015 4:20 pm
by r34220
jolson wrote:A few checks will need to run for your performance graphs to begin populating properly. Is your xidpe directory creating and emptying files properly on its own? It would be worth watching it for a little while to ensure it's working properly:
Code: Select all
watch -n1 'ls -l /usr/local/nagios/var/spool/xidpe'
The directory just keeps growing.
Re: xidpe
Posted: Fri Aug 21, 2015 4:28 pm
by r34220
Image 16.png
Could all the read statuses be the cause?