Forum Discussion
Don_22992
Jan 28, 2008Nimbostratus
Email notification of node/vs down
I have searched for a while now, and have not found a solution.
Alertd appears to be the method of sending an email alert; how do I tell it a node is down?
Or a custom scripted mon...
Spade_34749
Apr 15, 2009Nimbostratus
The way I got this to work is a custom alert for each Node in front of the global one. Since it's a first match basis and you have to have a different alert name for each. The bold is the new one I inserted before the global wildcard.
Copied (with a few edits) from my /etc/alertd/alert.conf
* 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_REVERSE_PROXY_DOWN "Pool member 192.168.1.1:8080 monitor status down." {
snmptrap OID=".1.2.6.1.4.1.3375.2.4.0.200";
email toaddress="joe@example.com,joe2@example.com"
fromaddress="BigIP@example.com"
body=""
}
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"
}
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