How to reduce log information for nrpe check?
Posted: Wed Mar 12, 2014 9:58 am
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
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