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?
Many NRDPOUTxxxx files in /tmp dir
Re: Many NRDPOUTxxxx files in /tmp dir
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?
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
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
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