Search

1 to 6 of 6
Sort by

Blog Entry
How-To: Raise SNMP traps using event policy

To raise an SNMP trap on occurrence of an event following configuration, use the following: 1 [edit] 2 user@host# show event-options 3 policy <policy-name> ( 4 events <event-name>; 5 then ( 6 raise-trap; 7 ) 8 ) 9 10 [edit] 11 user@host# As per the above configuration, when a specified event occurs in the system, this policy is executed and an SNMP trap will be raised


Discussion Post
Event Trap for SSH and Web fail attempt

We need configure the switch (EX2200) to send SNMP traps for the following error conditions: - a user authentication failure - a user authentication failure retries exceed


Discussion Thread 3
Event Trap for SSH and Web fail attempt

Focus Search - Event Trap for SSH and Web fail attempt...


Blog Entry
Scripting How-To: Raise SNMP traps using event policy

To raise an SNMP trap on occurrence of an event following configuration, use the following: 1 [edit] 2 user@host # show event-options 3 policy <policy-name> ( 4 events <event-name>; 5 then ( 6 raise- trap ; 7 ) 8 ) 9 10 [edit] 11 user@host # As per the above configuration, when a specified event occurs in the system, this policy is executed and an SNMP trap will be raised


Discussion Post
event-options and events snmp_trap_link_down

root@j01-pco# show event-options policy update-on-snmp-trap-link-down ( events snmp trap link down; attributes-match ( snmp trap link down.interface-name matches ge-4/0/3; ) then ( execute-commands ( commands ( "delete interfaces ge-4/0/2 disable"; commit; ) ) ) ) Jun 12 17:03:17 j01-pco mib2d[1234]: SNMP TRAP LINK DOWN: ifIndex 538, ifAdminStatus up(1), ifOperStatus down(2), ifName ge-4/0/3 Jun 12 17:03:17 j01-pco fwdd[1128]: UPDN msg to kernel for ifd:ge-4/0/3, flag:2, speed: 0, duplex:0 Jun 12 17:05:35 j01-pco rpd[1218]: EVENT <UpDown> ge-4/0/3.32767 index 98 <Up Broadcast Multicast> address #0 0.10.db.ff.10.4 Jun 12 17:05:35 j01-pco rpd[1218]: EVENT <UpDown> ge-4/0/3.0 index 99 <Up Broadcast Multicast> address #0 0.10.db.ff.10.4 Jun 12 17:05:35 j01-pco fwdd[1128]: UPDN msg to kernel for ifd:ge-4/0/3, flag:1, speed: 0, duplex:0 Jun 12 17:05:35 j01-pco mib2d[1234]: SNMP TRAP LINK UP: ifIndex 538, ifAdminStatus up(1), ifOperStatus up(1), ifName ge-4/0/3 Jun 12 17:05:35 j01-pco mib2d[1234]: SNMP TRAP LINK UP: ifIndex 574, ifAdminStatus up(1), ifOperStatus up(1), ifName ge-4/0/3.0 Jun 12 17:05:35 j01-pco mib2d[1234]: SNMP TRAP LINK UP: ifIndex 587, ifAdminStatus up(1), ifOperStatus up(1), ifName ge-4/0/3.32767 Jun 12 17:08:05 j01-pco rpd[1218]: EVENT <UpDown> ge-4/0/3.32767 index 98 <Broadcast Multicast> address #0 0.10.db.ff.10.4 Jun 12 17:08:05 j01-pco rpd[1218]: EVENT <UpDown> ge-4/0/3.0 index 99 <Broadcast Multicast> address #0 0.10.db.ff.10.4 Jun 12 17:08:05 j01-pco fwdd[1128]: UPDN msg to kernel for ifd:ge-4/0/3, flag:2, speed: 0, duplex:0 Jun 12 17:08:06 j01-pco mib2d[1234]: SNMP TRAP LINK DOWN: ifIndex 538, ifAdminStatus up(1), ifOperStatus down(2), ifName ge-4/0/3 Jun 12 17:09:39 j01-pco rpd[1218]: EVENT <UpDown> ge-4/0/3.32767 index 98 <Up Broadcast Multicast> address #0 0.10.db.ff.10.4 Jun 12 17:09:39 j01-pco rpd[1218]: EVENT <UpDown> ge-4/0/3.0 index 99 <Up Broadcast Multicast> address #0 0.10.db.ff.10.4 Jun 12 17:09:39 j01-pco fwdd[1128]: UPDN msg to kernel for ifd:ge-4/0/3, flag:1, speed: 0, duplex:0 Jun 12 17:09:39 j01-pco mib2d[1234]: SNMP TRAP LINK UP: ifIndex 538, ifAdminStatus up(1), ifOperStatus up(1), ifName ge-4/0/3 Jun 12 17:09:39 j01-pco mib2d[1234]: SNMP TRAP LINK UP: ifIndex 574, ifAdminStatus up(1), ifOperStatus up(1), ifName ge-4/0/3.0 Jun 12 17:09:39 j01-pco mib2d[1234]: SNMP TRAP LINK UP: ifIndex 587, ifAdminStatus up(1), ifOperStatus up(1), ifName ge-4/0/3.32767 #event-optionssnmp trap link down


Discussion Thread 2
event-options and events snmp_trap_link_down

Focus Search - event-options and events snmp_trap_link_down