[j-nsp] Suppress particular messages from syslog
Andy Vance
andy.vance at 360.net
Fri Dec 30 10:58:29 EST 2011
-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net
[mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of Robert Hass
Sent: Friday, December 30, 2011 7:49 AM
To: juniper-nsp at puck.nether.net
Subject: [j-nsp] Suppress particular messages from syslog
Hi
Is any way to configure something to suppress selected messages from
syslog [messages].
You should be able to use something similar to the following and just
change the matched string to suit your needs
I want to suppress this (running JunOS 10.4):
Dec 30 12:11:46 r02 /kernel: tcp_auth_ok: Packet from 62.77.4.5:179
missing MD5 digest
set system syslog host x.x.x.x match "!(.* Packet from 62.77.4.5:179
missing MD5 digest.*)"
and
Dec 30 15:08:34 r02 tfeb0 MIC(1/1) link 2 SFP receive power low alarm
set
Dec 30 15:08:55 r02 tfeb0 MIC(1/1) link 2 SFP receive power low alarm
cleared
set system syslog file messages match "!(.* MIC(1/1) link 2 SFP receive
power low.*)"
My current syslog configuration:
file messages {
any notice;
authorization info;
}
Rob
_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp
Cheers,
Andy
More information about the juniper-nsp
mailing list