Forum Discussion
Tony_Marques_92
Nimbostratus
Feb 21, 2013EMAIL 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
- jgranieri
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
Employee
e.g.
How do I change the subject line for email alerts?
https://devcentral.f5.com/community/group/aft/20753/asg/44
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects