How to do ltmPoolStatServerCurConns triggers a snmp trap?
Hi everybody,
I need to configure a trap which it triggers an alert when there are no connections in a pool or even when there are connections. I found an OID:
ltmPoolStatServerCurConns .1.3.6.1.4.1.3375.2.2.5.2.3.1.8
By executing the snmpwalk command to the specific pool I obtain:
snmpwalk -v2c -c public localhost .1.3.6.1.4.1.3375.2.2.5.2.3.1.8.17.47.67.111.109.109.111.110.47.104.116.116.112.95.112.111.111.108
F5-BIGIP-LOCAL-MIB::ltmPoolStatServerCurConns."/Common/http_pool" = Counter64: 5
where I can see 5 current connections and the same result is obtained by a GET command from a snmp tool. The following link talks about how configure traps identifying a trappable log event: https://devcentral.f5.com/articles/custom-snmp-traps but for this case I don't know how to do this event triggers an alert and so customize this specific trap in a alert.conf file.
Maybe you already has configured something similar and you want share your experience.