Page 1 of 1

How to reduce log information for nrpe check?

Posted: Wed Mar 12, 2014 9:58 am
by jhzhang
There are too many lines generated in /var/log/messages like the following, is there a way to stop them?

Mar 9 03:47:45 dqscs13 xinetd[3097]: START: nrpe pid=5451 from=::ffff:10.111.85.83
Mar 9 03:47:45 dqscs13 xinetd[3097]: EXIT: nrpe status=0 pid=5451 duration=0(sec)
Mar 9 03:48:05 dqscs13 xinetd[3097]: START: nrpe pid=5485 from=::ffff:10.111.85.83
Mar 9 03:48:05 dqscs13 xinetd[3097]: START: nrpe pid=5486 from=::ffff:10.111.85.83
Mar 9 03:48:05 dqscs13 xinetd[3097]: EXIT: nrpe status=0 pid=5485 duration=0(sec)

I tried to change the line from
log_type = SYSLOG daemon info
to
log_type = SYSLOG daemon err
in /etc/xinetd.conf, then do a /etc/init.d/xinetd restart, no effect.

Please help
Jun

Re: How to reduce log information for nrpe check?

Posted: Wed Mar 12, 2014 10:43 am
by slansing
Well that would be XINETD logging when connections are opened and closed, which could be very valuable to troubleshooing issues in the future should they occur. This may be of help if you truly want to disable these messages:

http://www.centos.org/docs/4/html/rhel- ... onfig.html

http://www.redhat.com/archives/redhat-l ... 03601.html