Forum Discussion
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
Hello Dhruva,
I have met this problem several times...
Please refer to the following link:
https://devcentral.f5.com/questions?pid=55425
HTH
Regards,
Preslav
- DhruvaS_267726
Nimbostratus
Hi Preslav,
Thanks for your time and effort to share the details.
I have configured below alert in the /config/user_alert.conf
alert BIGIP_NODE_DOWN "10.6.33.246 monitor status down" { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.12"; email toaddress="Dhruva@abc.com" fromaddress="loadbalancer@f5.com" body="The test the Server Status!" }
Still am not getting any email alerts. Please let me know if anything is missing. Can you please share me the details steps needs to be done.
Also,
1. Is there any way to check the logs of above alerts for troubleshooting ? 2. If want to monitor 50+ nodes in a partition, is there any way to use single alert instead of using multiple stanzas for each Node/IP Address.
Thanks in advance,
Dhruva S.
- Kevin_K_51432Historic F5 Account
Greetings,
I wonder if the mailhub discussed in this this article may be the issue:
https://support.f5.com/csp/article/K15288
Perhaps review these sections:
Configuring the BIG-IP system to use a DNS lookup server
Configuring the BIG-IP system to use an SMTP server (11.5.0 and later)
Also, could be a bug if you are running 13.0.0 or later:
https://support.f5.com/csp/article/K15188934
Let us know if this works for you and thank you! Kevin
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