Hi,
in my enviroment we get nagios logs reported. these are like this:
Code:
Sep 4 16:38:36 nxsdxq03 xinetd[20227]: START: nrpe pid=9420 from=10.40.111.152
Sep 4 16:38:36 nxsdxq03 nrpe[9420]: INFO: SSL/TLS initialized. All network traffic will be encrypted.
Sep 4 16:38:36 nxsdxq03 xinetd[20227]: EXIT: nrpe status=0 pid=9420 duration=0( sec)
Sep 4 16:44:46 nxinfp04 nrpe[13077]: Unknown option specified in config file '/usr/local/nagios/etc/nrpe.cfg' - Line 222
We want to get rid of INFO, START and EXIT logs.
for START and EXIT logs I know I can do one of these things:
• Add the line “log_on_success = “ in /etc/xinetd.d/nrpe file
• Commenting “log_on_success = PID HOST DURATION EXIT” line in /etc/xinetd.conf file.
for INFO logs I am not sure what we can do and really want your help.
I dont want any INFO, START or EXIT log in my messages file but I want all other nrpe logs.
I know about adding "use_syslog=0” in “/usr/local/nagios/etc/nrpe.cfg” file. but that would stop all the nrpe logs.
any way to just stop the INFO logs???