Forum Discussion

reddev12's avatar
Icon for Altocumulus rankAltocumulus
Jan 02, 2023

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"



i have add the custom snmp trap config to /etc/config/user_alert.conf like below :

alert AZ_SAS_TOKEN_EXPIRIED "message " {
snmptrap OID="."

can anyone suggest where i am going wrong .

2 Replies