Forum Discussion

SP_266134's avatar
SP_266134
Icon for Nimbostratus rankNimbostratus
Dec 20, 2017

F5 configuring Alerts when pool member are down .

What are the steps to configure SMTP server on F5 to receive alerts at my custom domain.com . Can I add the SMTP server in System –configuration- devices- SMTP and edit the add the following to /config/user_alert.conf: System ›› Configuration : Device : SMTP ›› New SMTP Configuration...

 

Sample edit of user_alert alert _POOL_MEMBER_STATUS_UP "Pool /common/poolname monitor status down" { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.10" email toaddress="test@gmail.com" fromaddress="root" body="A pool member went down

 

Can i use Google or any free SMTP address. Thanks for your pointer.

 

9 Replies

  • The currrent F5 is at this verison BIG-IP 13.0.0 Build 2.0.1671 Hotfix HF2.

     

  • Can I add the SMTP server in System –configuration- devices- SMTP and edit the add the following to /config/user_alert.conf: System ›› Configuration : Device : SMTP ›› New SMTP Configuration...

    Yes, create pool of SMTP server & set alert of pool_name

    Can i use Google or any free SMTP address?

    Do you have access from LB to free SMTP server?

    YES/NO
    , If YES then you can use external Free SMTP server & LB will send mail to you.

        alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_STATUS {
        snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.10";
        email toaddress="test@gmail.com"
        fromaddress="root"
        body="A pool member health check has failed."
        } 
    

    follow the article

    • SP_266134's avatar
      SP_266134
      Icon for Nimbostratus rankNimbostratus

      Hi , What do you mean by pool of smtp server, do you mean to create fill the smtp section with the server name, not create a pool in F5 for lb. My test f5 is in the dmz so i will have access to it to use google smtp for testing. One more question ? snmptrap OID is this ID self generated or system generated. What does it correspond to.?

       

       

    • Samir_Jha_52506's avatar
      Samir_Jha_52506
      Icon for Noctilucent rankNoctilucent

      What do you mean by pool of smtp server?

      We create pool for VIP right, same way we have to create pool for smtp servers. so that it will monitor & update the status to

      user_alert.conf
      file. This is for monitoring purpose of smtp_pool

      Do you mean to create fill the smtp section with the server name, not create a pool in F5 for lb. ---> update the smtp server here "System ›› Configuration : Device : SMTP ›› New SMTP Configuration"

      snmptrap OID is this ID self generated or system generated. What does it correspond to.? A numeric identifier that indicates the location of an object within the MIB tree. Each object defined in the MIB has a unique OID as per F5, written as a series of integers.

    • SP_266134's avatar
      SP_266134
      Icon for Nimbostratus rankNimbostratus

      I can create a pool and add the smtp server as the node and add a health monitor to it. What I am not sure is how to make it update the status to the user_alert.config . Where do i configure that.