Forum Discussion

kridsana's avatar
kridsana
Icon for Cirrocumulus rankCirrocumulus
Nov 29, 2022
Solved

F5 custom user_alert.conf same trap with alert.conf

Hi

Refer to https://support.f5.com/csp/article/K3727. We should use different name and different match message from the one in alert.conf

If I want to set email alert on CPU temp high (this stanza is in alert.conf)
alert BIGIP_SYSTEM_CHECK_E_CPU_TEMP_HIGH {
snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.4";
lcdwarn description="CPU Temp too high." priority="3"
}

How can i do it in user_alert.conf? Should I just copy above stanza into user_alert.conf?
eg.
alert BIGIP_SYSTEM_CHECK_E_CPU_TEMP_HIGH {  >>>> same name
snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.4";   >>> same oid
lcdwarn description="CPU Temp too high." priority="3";
email toaddress="test@test.com
fromaddress="f5@test.com
}