Forum Discussion
Syntax for Mail Formatting in user_alert.conf
Hi folks... regarding this article https://support.f5.com/csp/article/K15288 - I'm running into an issue where we need to insert some message handling information somewhere in the email so that it can be ingested properly in our ticketing system. I need to be able to one of the following things.
- insert more than one line of body text
- modify the subject line
and it would be nice to have...
- instead of putting log information into the subject line (as it can be extensive), put the information in the body instead.
For reference, below is the default syntax. The only thing I've been able to do to alter this format is to change the "from" line. Any attempt i've made to enter a line break, carriage return, etc to the body has failed.
alert CERTIFICATE_EXPIRED "Certificate (.*) expired" { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.300"; email toaddress="user@mydomain.com" body="Certificate Expired on " }
alert CERTIFICATE_WILL_EXPIRE "Certificate (.*) will expire" { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.301"; email toaddress="user@mydomain.com" body="Certificate will Expire on " }
TIA! --Cassidy
Recent Discussions
Related Content
* 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