Forum Discussion

Tony_Marques_92's avatar
Tony_Marques_92
Icon for Nimbostratus rankNimbostratus
Feb 21, 2013

EMAIL SUBJECT LINE

I've successfully modified the user_alert.conf file to create custom email notificaitons for pool members when they go down. I'd like to have the subject line be somehting other than the actual SMTP alert.. Running code V11.2.1 on my local traffic managers.

 

 

Regards,

 

Tony

 

2 Replies

  • In 10.2.4 code you can add this:

     

     

    alert BIGIP_MCPD_MCPDERR_NODE_ADDRESS_MON_STATUS_UP2 "Pool member x.x.x.:Y.Y.Y monitor status up." {

     

    email toaddress="blah@blah.com"

     

    fromaddress="sender@sender.com"

     

    body="whatever you want"

     

     

    I am pretty sure this will work in V 11.x

     

     

    also you can use the logger command to verify the email will go out as planned.

     

     

    logger -p local4.notice "Pool member x.x.x.:Y.Y.Y monitor status up.."

     

    logger -p local0.notice "Pool member x.x.x.:Y.Y.Y monitor status up."

     

  • e.g.

     

     

    How do I change the subject line for email alerts?

     

    https://devcentral.f5.com/community/group/aft/20753/asg/44