cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
977
Views
0
Helpful
2
Replies

Smart Call home and Regular expression

tarun.gupta
Level 1
Level 1

Hello,

I have configured the syslog alert group with Major and Minor Severity.Now i want to exclude the below error in syslog alert group with Major severity.Rest remains the same.Kindly suggest and if possible share any document available.

%C7600_PWR-SP-2-PSFAIL >>>error to be excluded from the below syslog Major group.

 
  subscribe-to-alert-group syslog severity minor pattern "(ATMSPA-3-FATAL_ERROR|INTR_MGR-3-MAXBURST).*"
  subscribe-to-alert-group syslog severity major pattern ".*"

 

Regards

Tarun

 

2 Replies 2

Kelsey Loftin
Level 1
Level 1

Hey Tarun,

You can use following commands to do this:

logging discriminator <name> msg-body drops <pattern>

(This command define a log discriminator which will drop all syslog with specified pattern)

 

logg buff discriminator <name>

(This command applies log discriminator <name> to the log destination "buffer")

 

If you have any further questions after implementing those commands, just comment on this thread, and I'll look into it.

 

Thanks,

Kelsey

Ok so how do I apply that discriminator to call-home messages?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: