Disable nagios messages logging: verschil tussen versies
Uit Documents
(Nieuwe pagina aangemaakt met 'Disable deamon.notice logging: --Problem-- Nagios extensive logging into /var/adm/messages --Symtoms-- Logging is found in the /var/adm/messages as follows: Feb 10...') |
|||
| Regel 1: | Regel 1: | ||
Disable deamon.notice logging: | Disable deamon.notice logging: | ||
| − | + | == Problem == | |
Nagios extensive logging into /var/adm/messages | Nagios extensive logging into /var/adm/messages | ||
| − | + | == Symtoms == | |
Logging is found in the /var/adm/messages as follows: | Logging is found in the /var/adm/messages as follows: | ||
| Regel 16: | Regel 16: | ||
Feb 15 14:53:35 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8472] from <ip address> 42692 | Feb 15 14:53:35 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8472] from <ip address> 42692 | ||
| − | + | == Resolution == | |
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: | ||
| + | <syntaxhighlight lang="bash"> | ||
inetadm -m svc:/network/nrpe/tcp:default tcp_trace=FALSE | inetadm -m svc:/network/nrpe/tcp:default tcp_trace=FALSE | ||
svcadm refresh network/nrpe/tcp | svcadm refresh network/nrpe/tcp | ||
| + | </syntaxhighlight> | ||
[[Category:Howto]] | [[Category:Howto]] | ||
Versie van 15 feb 2011 om 15:02
Disable deamon.notice logging:
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>
or
Feb 15 14:53:34 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8461] from <ip address> 42690 Feb 15 14:53:35 HOST inetd[521]: [ID 317013 daemon.notice] nrpe[8472] from <ip address> 42692
Resolution
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/tcp