Page 1 of 1

NRPE: Problem about log file

Posted: Thu Nov 04, 2010 5:00 am
by adrian1984
Everytime Nagios run a script on a remote machine with nrpe, the script works but this machine has a troublesome problem.
In the log file, /var/log/messages/, is write everytime the following lines:

Nov 3 10:58:15 pc01 xinetd[2940]: START: nrpe pid=25903 from=172.xxx.xxx.xxx
Nov 3 10:58:16 pc01 xinetd[2940]: EXIT: nrpe status=0 pid=25903 duration=1

I use the script once every 1 minute. It means 120 lines every hour in the log file, 2880 lines every day!!
The problem is the log file is use for other things by other people and I can fill it in this way.

How can i do to solve this problem? maybe I could redirect this log messages in another file?

thanks