We have 2 LTMs running as redundant devices. We want to get alerts when one box fails over to the other box. Is there a OID(s) that would detect a failover event.
Here is how I did this using SNMP polling
I downloaded MIBS(F5-BIGIP-SYSTEM-MIB) from the LTM unit into my monitoring tool. In this case HP’s SiteScope.
Set the the counter path to the following:
starting OID = 1
Counter: iso/org/dod/internet/private/enterprises/f5/bigipTrafficMgmt/bigipSystem/sysGlobals/sysGlobalAttrs/sysGlobalAttr/sysAttrFailoverUnitMask
sysAttrFailoverUnitMask = 3 = Primary
sysAttrFailoverUnitMask = 0 = Secondary
I setup to 2 monitors, 1 for each LTM. If the Primary reports 0 it alerts. If the secondary goes to 3 it alerts.
Hope this helps.
If anyone else has a better OID please post.
/CB