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.1,,,,,, 13.1.3,,, 14.0.0,,,,,, 14.0.1,, 14.1.0,,,,,,, 14.1.2,,,, 15.0.0, 15.0.1,,, 15.1.0

Opened: Dec 06, 2019
Severity: 3-Major


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


apmGlobalConnectivityStatCurConns returns incorrect values. Connection statistics cannot be monitored.


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


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 .

Fix Information


Behavior Change