Forum Discussion
FishNiX_29746
Nimbostratus
May 19, 2008Email to different recpipients via alertd?
Greetings!
Is it possible to send email to different recipients for pool member down messages depending on which pool members are down? I've tried creating a custom snmptrap with an email notification, but it doesn't seem to work...
in /config/user_alert.conf:
alert BIGIP_FOOBAR_POOL_MEMBER_MON_STATUS "Pool member xxx.xxx.51.73:80 monitor status down." {
snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.200";
email toaddress="me@foo.com"
fromaddress="f5@foo.com"
body="ALERT - FOOBAR pool member down."
}
I *can* receive email alerts, but my guess is that the pool member down is already caught by alertd further up the chain...
Thanks!
3 Replies
- Deb_Allen_18Historic F5 AccountAs long as the matched message string is different from that in alert.conf, you should be able to specify additional traps. This is what's in alert.conf for 9.2.x:
/* * from bigd (CR36393) -- changed from mcpd messages in v9.2.0 (CR46190) and hotfix v9.0.5 * For the following 4 alerts, messages need to be used in pattern match to * distiguish different ipaddr, port, etc. So, if these messages are changed, * the changes in alert system need to be done accordingly. */ alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_DOWN "Pool member (.*?).*?) monitor status down." { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.10" } alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_UP "Pool member (.*?).*?) monitor status up." { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.11" } alert BIGIP_MCPD_MCPDERR_NODE_ADDRESS_MON_DOWN "Node (.*?) monitor status down." { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.12" } alert BIGIP_MCPD_MCPDERR_NODE_ADDRESS_MON_UP "Node (.*?) monitor status up." { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.13" }
- Heiko_Engemann_
Nimbostratus
Hello, - hoolio
Cirrostratus
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