Hello Guys,
I would like to send email and snmp trap with ltm log event “HA Connection with peer %la:%d for traffic-group %s lost”. I tried to set custom alert on /config/user_alert.conf and try to trig the event with the logger command but nothing occurs. Email alerts are working for certificate expire. So I don’t understand what’s wrong. Thanks for help.
I gone through these KB:
CONF.
cat /var/run/bigip_error_maps.dat | grep “HA Connection with peer”
0 LOG_ERR 01340002 BIGIP_HA_HAERR_CONNECTION_LOST “HA Connection with peer %la:%d for redacted %s lost.”
alert BIGIP_HA_HAERR_CONNECTION_LOST “01340002:3: HA Connection with peer (.*) for redacted-1 lost.” {
snmptrap OID=“.1.3.6.1.4.1.3375.2.4.0.302”;
email toaddress=“to-email@to-email.com”
fromaddress=“fromEmail@from-email.com”
body=“HA Connection with peer lost from <redacted>”
}
logger -p local0.notice “HA Connection with peer test for redacted-1 lost.”
May 12 11:43:12 redacted notice pyfflrcg[28683]: HA Connection with peer test for redacted-1 lost.