xidpe

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
r34220
Posts: 72
Joined: Fri Feb 06, 2015 6:47 pm

xidpe

Post 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.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: xidpe

Post 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
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: xidpe

Post 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.
Former Nagios employee
r34220
Posts: 72
Joined: Fri Feb 06, 2015 6:47 pm

Re: xidpe

Post by r34220 »

Thanks, I will clear the files.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: xidpe

Post by jolson »

Sounds good - let us know the results. Thanks!
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
r34220
Posts: 72
Joined: Fri Feb 06, 2015 6:47 pm

Re: xidpe

Post by r34220 »

All performance graphs are empty. Does it take some time for them to show data again?
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: xidpe

Post 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'
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: xidpe

Post 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.
Former Nagios employee
r34220
Posts: 72
Joined: Fri Feb 06, 2015 6:47 pm

Re: xidpe

Post 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.
r34220
Posts: 72
Joined: Fri Feb 06, 2015 6:47 pm

Re: xidpe

Post by r34220 »

Image 16.png
Could all the read statuses be the cause?
You do not have the required permissions to view the files attached to this post.