For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

vvskaladhar_488's avatar
vvskaladhar_488
Icon for Nimbostratus rankNimbostratus
Jul 21, 2015

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

  • 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"
                }
    
  • 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??

  • 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??

  • 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"
        }    
    
  • 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