NRPE: Problem about log file

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
adrian1984
Posts: 2
Joined: Thu Nov 04, 2010 4:54 am

NRPE: Problem about log file

Post 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
Locked