Forum Discussion
EMAIL to group ID in case Node in the pool goes down.
Hello All,
Can some one please let me know if it is possible to configure F5 ltm to trigger an email to group ID in case one of the node goes down or changes to up in one of the pool configured under VIP ?
9 Replies
- Samir_Jha_52506
Noctilucent
If you are running BIG-IP version 11.4.x, you can also use iCall. First, you need to follow the instructions in SOL13180 to configure outbound mail from the BIG-IP. 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" } - vvskaladhar_488
Nimbostratus
HI I have tried it and dont see luck
i have configuredsimialr https://support.f5.com/kb/en-us/solutions/public/13000/100/sol13180.html and tested that i can send an test email form F5 with below command
echo "ssmtp test mail" | mail -vs "Test email for F5" kaladhar.vvs@fadv.com I see mail delivered but when i try Add the following to /config/user_alert.conf:
alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_DOWN "Pool MAIL_TEST_POOL_80 member 10.250.7.79:8080 monitor status down." { email toaddress="kaladhar.vvs@fadv.com" fromaddress="" body="A pool member went dorootwn" } alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_UP "Pool MAIL_TEST_POOL_80 member 10.250.7.79:8080 monitor status up." { email toaddress="kaladhar.vvs@fadv.com" fromaddress="root" body="A pool member came back up" }alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_DOWN "Pool MAIL_TEST_POOL_80 member 10.250.7.80:8080 monitor status down." { email toaddress="kaladhar.vvs@fadv.com" fromaddress="f5devtest" body="A pool member went down" }
alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_UP "Pool MAIL_TEST_POOL_80 member 10.250.7.80:8080 monitor status up." { email toaddress="kaladhar.vvs@fadv.com" fromaddress="root" body="A pool member came back up" }after configuring pool MAIL_TEST_POOL_80 with members 10.250.7.79:8080 and 10.250.7.80:8080 and making one of the node down f5 did not send an email. Am I missing some thing here??
- vvskaladhar_488
Nimbostratus
HI I have tried it and dont see luck
i have configuredsimialr https://support.f5.com/kb/en-us/solutions/public/13000/100/sol13180.html and tested that i can send an test email form F5 with below command
echo "ssmtp test mail" | mail -vs "Test email for F5" kaladhar.vvs@fadv.com I see mail delivered but when i try Add the following to /config/user_alert.conf:
alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_DOWN "Pool MAIL_TEST_POOL_80 member 10.250.7.79:8080 monitor status down." { email toaddress="kaladhar.vvs@fadv.com" fromaddress="" body="A pool member went dorootwn" } alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_UP "Pool MAIL_TEST_POOL_80 member 10.250.7.79:8080 monitor status up." { email toaddress="kaladhar.vvs@fadv.com" fromaddress="root" body="A pool member came back up" }alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_DOWN "Pool MAIL_TEST_POOL_80 member 10.250.7.80:8080 monitor status down." { email toaddress="kaladhar.vvs@fadv.com" fromaddress="f5devtest" body="A pool member went down" }
alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_UP "Pool MAIL_TEST_POOL_80 member 10.250.7.80:8080 monitor status up." { email toaddress="kaladhar.vvs@fadv.com" fromaddress="root" body="A pool member came back up" }after configuring pool MAIL_TEST_POOL_80 with members 10.250.7.79:8080 and 10.250.7.80:8080 and making one of the node down f5 did not send an email. Am I missing some thing here??
- LOPEZEJ_236435
Nimbostratus
I believe it should be like this:
alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_STATUS_MAIL_TEST_POOL_80 "Pool /Common/MAIL_TEST_POOL_80 member /Common/10.250.7.79:8080 monitor status node down." { email toaddress="kaladhar.vvs@fadv.com" fromaddress="root" body="A pool member went down" } alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_STATUS_UP_MAIL_TEST_POOL_80 "Pool /Common/MAIL_TEST_POOL_80 member /Common/10.250.7.79:8080 monitor status up." { email toaddress="kaladhar.vvs@fadv.com" fromaddress="root" body="A pool member came back up" } - Vik_K_236702Historic F5 Account
Hi
Did you try the default emailing configuration of snmp alerts?
https://support.f5.com/kb/en-us/solutions/public/3000/600/sol3667.html?sr=392739
Regards, Vikram Khatri
- LOPEZEJ_236435
Nimbostratus
Hi Vikram, I did and it works. I replied to vsskaladhar with the settings I believe should work for single pool monitor alerting. It all comes down to checking the /var/log/ltm file to get the correct syntax to be used on the monitor configuration.
Regards
- vvskaladhar_488
Nimbostratus
HI , I tested it and working for me. let me know if any input required form me
- LOPEZEJ_236435
Nimbostratus
Glad it worked, you can mark the answer as useful. Thanks!
- Vik_K_236702Historic F5 Account
Cheers guys!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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