For example, this is a properly configured stanza in snmptt.conf:
Code: Select all
EVENT drivePredictiveFailure .1.3.6.1.4.1.3183.1.1.0.880386 "Status Events" Normal
FORMAT Drive Predictive Failure event. $*
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "Drive Predictive Failure event. $*"
SDESC
Drive Predictive Failure event.
Variables:
EDESCCode: Select all
EVENT drivePredictiveFailure .1.3.6.1.4.1.3183.1.1.0.880386 "Status Events" WARNING
FORMAT Drive Predictive Failure event. $*
SDESC
Drive Predictive Failure event.
Variables:
EDESCEXEC line(s):
EXEC line not defined
Am I doing something wrong, or is there a bug in my version of my MIB uploader utility?