Many NRDPOUTxxxx files in /tmp dir

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mroter
Posts: 80
Joined: Sun Apr 29, 2012 12:43 pm

Many NRDPOUTxxxx files in /tmp dir

Post by mroter »

What is the reason that sometimes we get a lot of NRDPOUTxxxx files in /tmp directory?
what shall we do with them? delete? will we loose check history data?
mroter
Posts: 80
Joined: Sun Apr 29, 2012 12:43 pm

Re: Many NRDPOUTxxxx files in /tmp dir

Post by mroter »

This server is sending its checks to a central server over the WAN.
I have a "feeling" that this might be an effect of networking disruptions, can that be?
Will network hiccups also cause many tasks?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Many NRDPOUTxxxx files in /tmp dir

Post by scottwilkerson »

Yes this can be caused by the network being down.

You could delete them, or you could run something like the following to send them to the server (replacing YOURSERVER, YOURTOKEN

Code: Select all

for f in /tmp/NRDPOUT*; do /bin/cat $f | php /usr/local/nrdp/clients/send_nrdp.php --url=http://YOURSERVER/nrdp/ --token=YOURTOKEN --usestdin; rm -f $f; done
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked