Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Custom snmp trap not able to generate

suraj12
Altocumulus
Altocumulus

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 .

1 ACCEPTED SOLUTION

Hi @suraj12 , 
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/K6414

I hope this reply helps you. 

_______________________
Regards
Mohamed Kansoh

View solution in original post

2 REPLIES 2

Hi @suraj12 , 
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/K6414

I hope this reply helps you. 

_______________________
Regards
Mohamed Kansoh

Hey @Mohamed_Ahmed_Kansoh 

Sorry it  was typo .  I have created inside /config/user_alert.conf

 

Thanks