Forum Discussion
VernonWells
Jan 10, 2014Employee
The 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.
- F5Zan_89516Jan 10, 2014NimbostratusThanks Vernon. I want to do it for a certain pool and not all How can I achieve that?
- Jerry_LeesDec 30, 2015EmployeeYes, 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.