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

Last Modified: Apr 17, 2024

Affected Product(s):
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.2, 13.1.1.3, 13.1.1.4, 13.1.1.5, 13.1.3, 13.1.3.1, 13.1.3.2, 13.1.3.3, 13.1.3.4, 13.1.3.5, 13.1.3.6, 13.1.4, 13.1.4.1, 13.1.5, 13.1.5.1, 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.5, 14.1.0.6, 14.1.2, 14.1.2.1, 14.1.2.2, 14.1.2.3, 14.1.2.4, 14.1.2.5, 14.1.2.6, 14.1.2.7, 14.1.2.8, 14.1.3, 14.1.3.1, 14.1.4, 14.1.4.1, 14.1.4.2, 14.1.4.3, 14.1.4.4, 14.1.4.5, 14.1.4.6, 14.1.5, 14.1.5.1, 14.1.5.2, 14.1.5.3, 14.1.5.4, 14.1.5.6, 15.0.0, 15.0.1, 15.0.1.1, 15.0.1.2, 15.0.1.3, 15.0.1.4, 15.1.0, 15.1.0.1, 15.1.0.2, 15.1.0.3, 15.1.0.4, 15.1.0.5, 15.1.1, 15.1.2, 15.1.2.1, 15.1.3, 15.1.3.1, 15.1.4, 15.1.4.1, 15.1.5, 15.1.5.1, 15.1.6, 15.1.6.1, 15.1.7, 15.1.8, 15.1.8.1, 15.1.8.2, 15.1.9, 15.1.9.1, 15.1.10, 15.1.10.2, 15.1.10.3, 15.1.10.4, 16.0.0, 16.0.0.1, 16.0.1, 16.0.1.1, 16.0.1.2

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

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips