Forum Discussion
Patrick_Chang_7
Jun 06, 2008Historic F5 Account
send e-mail on only some pool members down
I have the following user_alert.conf (version 9.4.2 228.18)
alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_STATUS_UP "Pool member 172.29.4.141:80
monitor status up." {
email to...
nitass
Employee
Nov 02, 2011this is mine.
[root@iris:Active] config cat user_alert.conf
alert CUSTOM_POOL_MEMBER_MON_STATUS_UP "Pool member 10.10.70.110:80 monitor status up." {
email toaddress="xxxxx"
fromaddress="root@bigip.ss.lab.f5.com"
body="pool member went up"
}
alert CUSTOM_POOL_MEMBER_MON_STATUS_DOWN "Pool member 10.10.70.110:80 monitor status down." {
email toaddress="xxxxx"
fromaddress="root@bigip.ss.lab.f5.com"
body="pool member went down"
}
[root@iris:Active] config bigstart status postfix
master (pid 7701) is running...
[root@iris:Active] config postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = localhost
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
relayhost = [192.168.10.13]
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
[root@iris:Active] config grep -i 10.10.70.110 /var/log/ltm
Nov 3 02:23:12 local/iris notice mcpd[32723]: 01070638:5: Pool member 10.10.70.110:80 monitor status down.
Nov 3 02:23:41 local/iris notice mcpd[32723]: 01070727:5: Pool member 10.10.70.110:80 monitor status up.
-----Original Message-----
From: root@bigip.ss.lab.f5.com [mailto:root@bigip.ss.lab.f5.com]
Sent: Thursday, November 03, 2011 2:23 AM
To: xxxxx
Subject: 01070638:5: Pool member 10.10.70.110:80 monitor status down.
pool member went down
-----Original Message-----
From: root@bigip.ss.lab.f5.com [mailto:root@bigip.ss.lab.f5.com]
Sent: Thursday, November 03, 2011 2:24 AM
To: xxxxx
Subject: 01070727:5: Pool member 10.10.70.110:80 monitor status up.
pool member went up
nitass
Employee
Feb 08, 2014relayhost is (my) mail gateway.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects
