cancel
Showing results for 
Search instead for 
Did you mean: 

EMAIL SUBJECT LINE

Tony_Marques_92
Nimbostratus
Nimbostratus

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 2

jgranieri
Nimbostratus
Nimbostratus
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."

 

nitass
F5 Employee
F5 Employee
e.g.

 

 

How do I change the subject line for email alerts?

 

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