Disable nagios messages logging: verschil tussen versies
Uit Documents
| (4 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
| Regel 13: | Regel 13: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| − | + | == Resolution == | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | To disable the inetd (daemon.notice) log messages do the following: | |
If nagios is under SMF (Service Management Facility) then disable the logging using: | If nagios is under SMF (Service Management Facility) then disable the logging using: | ||
| Regel 28: | Regel 23: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| − | [[Category:Howto| | + | For the nrpe (mail.info) messages I don't have a solution for local zones yet. |
| + | |||
| + | == Remarks == | ||
| + | |||
| + | It seems that the nrpe [ID 927837 mail.info] messages still appears in local zones. The nrpe [ID 317013 daemon.notice] messages in the local zones can be prevented by setting tcp_wrappers to false in the local zone. | ||
| + | |||
| + | [[Category:Howto|Nagios - Disable messages logging]] | ||
Huidige versie van 17 feb 2011 om 08:14
Disable deamon.notice logging:
Inhoud
Problem
Nagios extensive logging into /var/adm/messages
Symtoms
Logging is found in the /var/adm/messages as follows:
Feb 10 03:12:05 HOST inetd[2755]: [ID 317013 daemon.notice] nrpe[13059] from <ip address> 37236
Feb 10 03:12:05 HOST nrpe[13059]: [ID 927837 mail.info] connect from <client fqdn>Resolution
To disable the inetd (daemon.notice) log messages do the following:
If nagios is under SMF (Service Management Facility) then disable the logging using:
inetadm -m svc:/network/nrpe/tcp:default tcp_trace=FALSE
svcadm refresh network/nrpe/tcpFor the nrpe (mail.info) messages I don't have a solution for local zones yet.
Remarks
It seems that the nrpe [ID 927837 mail.info] messages still appears in local zones. The nrpe [ID 317013 daemon.notice] messages in the local zones can be prevented by setting tcp_wrappers to false in the local zone.