Forum Discussion
raytoles_75680
Nimbostratus
Nov 13, 2008Custom 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.
No RepliesBe the first to reply
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects