Junos Automation (Scripting)
Junos Automation (Scripting)

Re: How-To: Raise SNMP traps using event policy

‎11-16-2015 07:58 AM

Hi Cordelia,

I saw this example, but I need to raise a trap for the below syslog:

 

%PFE-3: fpc4 MQCHIP(1) LI Reference incr error, pt entry 2042

 

Do you know how can I get it? because I think I need to know event related with this syslog message buy I couldn´t find it.

 

Thanks

Jose

1 REPLY 1
Highlighted
Junos Automation (Scripting)

Re: How-To: Raise SNMP traps using event policy

‎11-25-2015 03:24 PM

Hi Jose,

 

This is a nonstandard syslog message. You can trigger event policies using the event ID.

 

See these links for more information and an example.

 

http://www.juniper.net/documentation/en_US/junos12.3/topics/usage-guidelines/automation-using-nonsta...

 

http://www.juniper.net/documentation/en_US/junos12.3/topics/example/junos-script-automation-event-po...

 

Tim

Feedback