Forum Discussion
epaalx
Jun 12, 2012Cirrus
You don't necessarily need a pool monitor (a common monitor for all members). You can have one or more specific monitor(s) per member.
In your case, define a TCP-type customised monitor for Svr1 with "recv" set to "ERRCODE|00000000" and Scr2 a genetic TCP-type monitor. Set Svr1's "priority" to 1 and Scr2's "priority" to 0 and pool's "min active members" to 1. This will give you the active(Svr1)-standby(Svr2).
Regarding emails, I don't have experience with that, but I'd say you'd need an iRule to generate a log message that'd be translated into a customised trap. See:
SOL3727: Configuring custom SNMP traps - http://support.f5.com/kb/en-us/solutions/public/3000/700/sol3727.html
SOL3667: Configuring alerts to send email notifications - http://support.f5.com/kb/en-us/solutions/public/3000/600/sol3667.html
SOL11127: Testing SNMP traps on BIG-IP (9.4.x - 11.x) - http://support.f5.com/kb/en-us/solutions/public/11000/100/sol11127.html
also
SOL6414: Determining which alerts are pre-configured to trigger an SNMP trap - https://support.f5.com/kb/en-us/solutions/public/6000/400/sol6414.html