Forum Discussion
F5Zan_89516
Nimbostratus
Jan 09, 2014Email alerts while pool member up or down
We have some pools on which we want to setup email alerts so that whenever nodes are in and out of the pool they notify .
Do we have a step by step solution to implement this?
VernonWells
Employee
Jan 10, 2014The precise details of the solution, and the options available to you, depend on the version of BIG-IP code which you are running. Under 11.x, following SOL3667:
http://support.f5.com/kb/en-us/solutions/public/3000/600/sol3667.html?sr=34337345
and a slight modification from the user_alert.conf text found here:
http://support.f5.com/kb/en-us/archived_products/sam/manuals/product/pg_4300/pg_4300_addfunct.html?sr=34336429
you could use the alertd mechanism. First, you need to follow the instructions in SOL13180 to configure outbound mail from the BIG-IP:
http://support.f5.com/kb/en-us/solutions/public/13000/100/sol13180.html
Then, add the following to /config/user_alert.conf:
alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_DOWN "Pool (.*?) member (.*?):(.*?) monitor status down." {
email toaddress="receiver@yourcompany.com"
fromaddress="root"
body="A pool member went down"
}
alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_UP "Pool (.*?) member (.*?):(.*?) monitor status up." {
email toaddress="receiver@yourcompany.com"
fromaddress="root"
body="A pool member came back up"
}
This will email every time any member of any pool goes "down" or "up".
If you are running BIG-IP version 11.4.x, you may also consider using iCall.
Jerry_Lees
Employee
Dec 30, 2015Yes, you'll need to modify the string portions that are "Pool (.*?)" in the up and down alerts to simply specify the pool you want to monitor and get emails about.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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