Forum Discussion

v_sakalkin_9556's avatar
v_sakalkin_9556
Icon for Nimbostratus rankNimbostratus
Apr 04, 2013

Email alerts to different group

Hello, colleagues!

 

Maybe I'm not first who ask this question, but I can't find any information about.

 

Our F5 load balance many applications, such as exchange, siebel, dns, esb, web-portal. These systems have different administrators. How can I configure F5, in order to send messages to specific email (admin group), when node from specific application was marked down? Maybe it can be accomplished with iRule?

 

 

Thank you for advice

 

2 Replies

  • Hello, I think you're going to need to do this with a custom /config/user_alert.conf file. It can accept a regex-type filter syntax. Here's an example that might work:

     

     

    alert LOGNOICE1 "Pool member 10.10.10.48:80 monitor status (.*)" {

     

    email toaddress="admins@mycompany.com";

     

    }

     

     

    You'll also need to configure postfix so send messages to a real mail server.

     

  • Posted By smp on 04/10/2013 01:11 PM

     

    Hello, I think you're going to need to do this with a custom /config/user_alert.conf file. It can accept a regex-type filter syntax. Here's an example that might work:

     

     

    alert LOGNOICE1 "Pool member 10.10.10.48:80 monitor status (.*)" {

     

    email toaddress="admins@mycompany.com";

     

    }

     

     

    You'll also need to configure postfix so send messages to a real mail server.

     

     

    This is what I do and it works really well, though manually editing the useralert.conf can be tedious. Depending on the application, I may have support, managers, and admins all getting these alerts, so I usually setup distros for each app/service and send to those vs sending to individuals..

     

     

    Chris