Page 1 of 1
Many NRDPOUTxxxx files in /tmp dir
Posted: Tue Nov 13, 2012 7:28 am
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?
Re: Many NRDPOUTxxxx files in /tmp dir
Posted: Tue Nov 13, 2012 7:37 am
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?
Re: Many NRDPOUTxxxx files in /tmp dir
Posted: Tue Nov 13, 2012 11:21 am
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