Forum Discussion

jamesdris's avatar
jamesdris
Icon for Nimbostratus rankNimbostratus
Apr 18, 2017

Send email alerts for specific pools

Is it possible to send email alerts for only specific pools? I have configured email alerts using the alert deginition and adding email toaddress etc to it in /config/user_alert.conf. But it sends email alerts about events in all pools. How do i make sure that we get alerts only for a specific pool?

 

2 Replies

  • The only way to achieve that is change the patten match in user_alert.conf to only match your pool names. For that to work their would have to be a common string among all the pool names that would distinguish them from other pools on the F5.

     

    • jamesdris's avatar
      jamesdris
      Icon for Nimbostratus rankNimbostratus

      I do have a uniq string on the pool name, but how would I include that in the user_alert.conf file? I currently have this in the config:

       

      alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_STATUS "pool /Common/monitor-pool-test status change" { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.10"; email toaddress="xxxx@xxxxx" fromaddress="root" body="monitor status changed please check" }

       

      But this still sends alerts for events in all pools on the loadbalancer.