How to reduce log information for nrpe check?

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
jhzhang
Posts: 1
Joined: Tue Mar 11, 2014 4:42 pm

How to reduce log information for nrpe check?

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: How to reduce log information for nrpe check?

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