Could someone please review the syntax below, it does not work for me ? it looks okay to me. the ssmtp.conf is correct, isn't it? have you seen smtp packet sending out?
e.g.
/config/user_alert.conf
[root@ve11a:Active:Changes Pending] config cat user_alert.conf
alert TEST "Pool (.*?) member (.*?) monitor status down." {
email toaddress="nitass@xxx.com"
fromaddress="f5admin@yourdomain.com"
body=""
}
/var/log/ltm
[root@ve11a:Active:Changes Pending] config cat /var/log/ltm
Aug 9 09:46:05 ve11a notice mcpd[6732]: 01070638:5: Pool /Common/foo member /Common/200.200.200.101:80 monitor status down. [ /Common/fake: down ] [ was unchecked for 0hr:0min:7sec ]
Aug 9 09:46:05 ve11a err tmm[11073]: 01010028:3: No members available for pool /Common/foo
Aug 9 09:46:05 ve11a err tmm1[11073]: 01010028:3: No members available for pool /Common/foo
email
-----Original Message-----
From: f5admin@yourdomain.com [mailto:f5admin@yourdomain.com]
Sent: Friday, August 09, 2013 9:46 AM
To: Nitass
Subject: 01070638:5: Pool /Common/foo member /Common/200.200.200.101:80 monitor status down. [ /Common/fake: down ] [ was unchecked for 0hr:0min:7sec ]