Automation
Automation

Scripting How-To: Sending an SNMP Alert in Case of a Routing Process Failure in EX4500 Switches

by Juniper Employee on ‎03-28-2016 12:48 PM - edited on ‎08-23-2017 11:29 AM by Administrator Administrator (878 Views)

In Juniper Networks EX4500 switches, you can configure an event policy action that triggers SNMP traps. It is possible to send an SNMP trap when a routing process fails if routing process failure is a listed event in the system log. (Note that this is possible for any listed event in the system log, and is not specific to routing process failure only.) When the event occurs, the system log message for the event is converted into an SNMP trap.

 

To configure an event policy that raises a trap on receipt of an event, include the following statements at the [edit event-options policy policy-name] hierarchy level:

 

[edit event-options policy policy-name]

events [ events ];

then {

raise-trap;

}

For a sample configuration of an event policy, see: 

 

http://www.juniper.net/techpubs/en_US/junos12.3/topics/topic-map/junos-script-automation-event-polic...

Feedback