Bug ID 858185: SNMP does not provide correct current connectivity stats

Last Modified: Mar 24, 2020

Bug Tracker

Affected Product:  See more info
BIG-IP APM(all modules)

Known Affected Versions:
13.1.0, 13.1.0.1, 13.1.0.2, 13.1.0.3, 13.1.0.4, 13.1.0.5, 13.1.0.6, 13.1.0.7, 13.1.0.8, 13.1.1, 13.1.1.1, 13.1.1.2, 13.1.1.3, 13.1.1.4, 13.1.1.5, 13.1.3, 13.1.3.1, 13.1.3.2, 14.0.0, 14.0.0.1, 14.0.0.2, 14.0.0.3, 14.0.0.4, 14.0.0.5, 14.0.1, 14.0.1.1, 14.1.0, 14.1.0.1, 14.1.0.2, 14.1.0.3, 14.1.0.4, 14.1.0.5, 14.1.0.6, 14.1.2, 14.1.2.1, 14.1.2.2, 14.1.2.3, 15.0.0, 15.0.1, 15.0.1.1, 15.0.1.2, 15.1.0

Opened: Dec 06, 2019
Severity: 3-Major

Symptoms

There is a discrepancy in APM current connectivity stats provided by SNMP OID F5-BIGIP-APM-MIB:: apmGlobalConnectivityStatCurConns.

Impact

apmGlobalConnectivityStatCurConns returns incorrect values. Connection statistics cannot be monitored.

Conditions

Session is established with a virtual server that is associated with an access profile.

Workaround

1. Log in, with administrative privileges, to the command line of the affected device. 2. Using a text editor, create the following file: /config/snmp/ccuUsage.sh. 3. Enter the following command syntax into the /config/snmp/ccuUsage.sh file: #/bin/sh count=$(tmsh show apm license|grep "current connectivity sessions"|cut -d":" -f2) echo $count 4. Save the changes. 5. To change the file mode bits, type the following command: chmod 755 /config/snmp/ccuUsage.sh 6. Using a text editor, create the following file: /config/snmp/custom_mib.tcl. 7. Enter the following command syntax in the /config/snmp/custom_mib.tcl file: register_mib ".1" ccu_count GAUGE proc ccu_count {} { set status [catch { exec /bin/bash /config/snmp/ccuUsage.sh } result] return $result } 8. Save the changes. 9. To restart the SNMP service, type the following command: tmsh restart /sys service snmpd 10. To verify that the workaround is functional, type the following command: snmpwalk -Os -c public -v 2c localhost .1.3.6.1.4.1.3375.2.100.1

Fix Information

None

Behavior Change