Custom SNMP Alerts

I’m trying to create an custom snmp alert for some pool members and nodes. I added the following to the /config/user_alert.conf file.

alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_STATUS_PoolA “Pool member 10.10.10.170:443 monitor status (.*?).” {

snmptrap OID=“.1.3.6.1.4.1.3375.2.4.0.503”;

email toaddress=“me@my.domain”

fromaddress=“root@f5.my.domain”

body=“F5 Pool Member Alert for PoolA”

}

alert BIGIP_MCPD_MCPDERR_NODE_ADDRESS_MON_STATUS_NodeA “Node 10.10.10.116 monitor status (.*?).” {

snmptrap OID=“.1.3.6.1.4.1.3375.2.4.0.204”;

email toaddress=“me@my.domain”

fromaddress=“root@f5.my.domain”

body=“F5 Node Alert for NodeA”

}

When using the logger -p local0.warning command to send out the alert, it’s delivered. However, when I manually offline the node or pool member in the configuration utility the alert is not sent.