Triggers for SNMP Traps
Video Lecture
Description
I demonstrate creating some triggers for some SNMP traps.
In the first trigger, I simply want a notification every time a certain trap is triggered whether the problem persists or not.
Trigger expression
1 | {Switch:snmptrap[Reload Command].nodata(2m)}=0 |
In the second trigger, I want to manually close the problem so that it can be reviewed. I create an item for SNMPv2-MIB::authenticationFailure traps and then create the trigger with the expression
1 | {Switch:snmptrap[SNMPv2-MIB::authenticationFailure].str(SNMPv2-MIB::authenticationFailure)}=1 |