Enable SMTP
cat /etc/ssmtp/ssmtp.conf
mailhub=192.168.0.10
Add Monitor
cat /config/user_alert.conf
alert custom_f5_bandwidth_util “(.?)Bandwidth utilization is (.?)” {
email toaddress=”you@somedomain.com”
fromaddress=”f5_alert@@somedomain.com”
body=”F5 License Issue”
}
Restart alertd
tmsh restart /sys service alertd
Test
logger -p local0.notice “test Bandwidth utilization is 20 Mbps”
Source Notes
K3667: Configuring alerts to send email notifications
https://my.f5.com/manage/s/article/K3667
Be First to Comment