After following sol3667: Configuring alerts to send email notifications and sol7574: Monitoring SSL certificate expiration on the BIG-IP system
and configuring an alert similar to the following example alert:
alert MY_TEST_ALERT “will expire on” {
snmptrap OID=“.1.3.6.1.4.1.3375.2.4.0.28.666”;
email toaddress=“test@test.com”
fromaddress=“root”
body=“The test of this Solution worked!”
}
I was able to test and the emails show up fine.
This is great, however, I would like to include the original log message that triggered the trap, from /var/log/ltm, to be included in the body of the email.
Is there a variable that can be used in the “body=” section of the alert that will be replaced by the log message that triggered the trap?
or, could the text of the message body be read from a file?
Thanks in advance for your help!
-J