reddev12
Jan 02, 2023Altocumulus
Custom snmp trap not able to generate
Hello , I have script which echo certain message . that i am logging into /var/log/ltm file using
logger -p local0.err "message"
And
i have add the custom snmp trap config to /etc/config/user_alert.conf like below :
alert AZ_SAS_TOKEN_EXPIRIED "message " {
snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.413"
}
can anyone suggest where i am going wrong .
Hi reddev12 ,
Please make sure to add your custom snmp trap in " /config/user_alert.conf file " , I see you added it to "/etc/config/user_alert.conf ".
Please follow the below KB to configure it properly :
https://support.f5.com/csp/article/K3727
Also Check the below KB to validate that you are adding a unique SNMP Trap :
https://support.f5.com/csp/article/K6414I hope this reply helps you.