Email Alert Configuration on F5 11.6 for Node Down/UP
Hi Devcentral,
I would like to do the Email Alert Configuration (F5 should trigger an email alert if the Node goes down).
I have tried with the below configuration but not succeeded.
Does anyone have any idea in order to accomplish that?
Configuration:
-
Backup the /config/user_alert.conf file by typing the following command: cp /config/user_alert.conf /config/user_alert.conf.SOL3667
-
Modify the permissions on the user_alert.conf chmod 644 /config/user_alert.conf
alert BIGIP_NODE_DOWN {
snmptrap OID="1.3.6.1.4.1.3375.2.4.0.12";
email toaddress="abcd@xyz.com"
fromaddress="loadbalancer@f5.com"
body="The test the Server Status!"
}
alert BIGIP_NODE_UP {
snmptrap OID="1.3.6.1.4.1.3375.2.4.0.13";
email toaddress="abcd@xyz.com"
fromaddress="loadbalancer@f5.com"
body="The test the Server Status!"
}
-
Restore the permissions on the user_alert.conf file chmod 444 /config/user_alert.conf
-
Restart the alertd process tmsh restart /sys service alertd
-
Save save /sys config
Configure the SMTP:
Name: SMTP_Email_Alert Partition : Common SMTP Hostname : 193.172.9.194 Port : 25 Local Hostname : sa-infapp120 From Address : loadbalancer@raet.com Encryption : No
Thanks in advance,
Best Regards.
Dhruva S