Send email to me, when a monitor goes down on a node.
I'm trying to have an email sent to my address, when the monitor for node 10.191.52.53 goes down. I disconnected the cable from the node, but didn't receive an email (nothing in mailq either). Note, I can send emails from the command line.
I aded the following to /etc/alertd/alert.conf and ran tail ltm. Tail ltm showed there was an error at line 527 (email toaddress) location.
alert BIGIP_MCPD_MCPDERR_NODE_ADDRESS_MON_DOWN "Node 10.191.52.53 monitor status down." {
snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.400"
email toaddress=""
fromaddress=""
body="Node 10.191.52.53 is down!"
}
I looked on the internet and found the following:
http://support.f5.com/kb/en-us/solu...l3667.html
This URL says that if you are configuring email notification for custom alerts, you should edit the /config/user_alert.conf file instead of the /etc/alertd/alert.conf file.
So, I removed the config and placed it into /config/user_alert.conf.
Then I started receiveing alertd errors.
Any idea how I can get this to work? I'm on version 10.2.2, LTM.
Thanks