Skip to content

F5 Configuring alerts to send email notifications

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

Published inUncategorized

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *