An example:
Starting at line 1077:
Code: Select all
#
EVENT ushaUpsFailed .1.3.6.1.4.1.2468.1.2.1.2.0.6 "Status Events" Critical
FORMAT SEVERE: The ups is not working fine. $*
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "SEVERE: The ups is not working fine. $*"
SDESC
SEVERE: The ups is not working fine.
Variables:
EDESC
#Code: Select all
#
EVENT ushaUpsFailed .1.3.6.1.4.1.2468.1.2.1.2.0.6 "Status Events" Critical
FORMAT SEVERE: The ups is not working fine. $*
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "SEVERE: The ups is not working fine. $*"
SDESC
SEVERE: The ups is not working fine.
Variables:
EDESC
#