Forum Discussion
KevinN_50601
Nov 14, 2011Nimbostratus
Trouble gettng Global Concurrent Connections with SNMP
Hello, I'm a bit new to F5s, and I'm trying to get some session metrics via SNMP.
I have not had any luck finding a global statistic for all my VS connections. The OIDs I have found on the net appear to not work. I have tried several different ones from vegan.net/mrtg and none of them seem to go at all. I wonder if they are outdated.
I have a pair of BigIPs running v10.2.1 software. I have been able to get some connection statistics for my virtual servers, so I know SNMP is responding as I would think.
- nitassEmployeeis this oid applicable?
- Mike_Kahler_488Historic F5 AccountHi. I used snmpwalk on the LTM to look for virtual stats. You need to make sure localhost is enabled in your snmp configuration. It usually is by defauilt.
- KevinN_50601NimbostratusActually it looks like the F5 MIB files are not working. I'm getting a series of errors like this...
- nitassEmployeehave you tried snmpwalk locally? did it work?
[root@ve1023:Active] config snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.3375.2.1.1.2 F5-BIGIP-SYSTEM-MIB::sysStatResetStats.0 = INTEGER: 0 F5-BIGIP-SYSTEM-MIB::sysStatClientPktsIn.0 = Counter64: 737174 F5-BIGIP-SYSTEM-MIB::sysStatClientBytesIn.0 = Counter64: 255313206 F5-BIGIP-SYSTEM-MIB::sysStatClientPktsOut.0 = Counter64: 944065 F5-BIGIP-SYSTEM-MIB::sysStatClientBytesOut.0 = Counter64: 1002808675 F5-BIGIP-SYSTEM-MIB::sysStatClientMaxConns.0 = Counter64: 3119 F5-BIGIP-SYSTEM-MIB::sysStatClientTotConns.0 = Counter64: 61502 F5-BIGIP-SYSTEM-MIB::sysStatClientCurConns.0 = Counter64: 1 F5-BIGIP-SYSTEM-MIB::sysStatServerPktsIn.0 = Counter64: 917075 ...
- nitassEmployeeprobably hundreds of them referencing all of the F5 MIB files.
- KevinN_50601NimbostratusI dont have direct access to the F5 as it is hosted. I am trying to setup MRTG to run from an Ubuntu install I have. MRTG is running for all my other devices, which is why I was trying to check SNMP directly.
- nitassEmployeeisn't .1.3.6.1.4.1.3375.2.2.10.2.3.1 in F5-BIGIP-LOCAL-MIB? why did you get F5-BIGIP-GLOBAL-MIB? where did you get MIB file?
[root@ve1023:Active] config b version|grep -iA 1 version BIG-IP Version 10.2.3 112.0 Final Edition [root@ve1023:Active] config snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.3375.2.2.10.2.3.1 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatName."bar" = STRING: bar F5-BIGIP-LOCAL-MIB::ltmVirtualServStatCsMinConnDur."bar" = Counter64: 1 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatCsMaxConnDur."bar" = Counter64: 304115 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatCsMeanConnDur."bar" = Counter64: 29220 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatNoNodesErrors."bar" = Counter64: 0 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatClientPktsIn."bar" = Counter64: 251620 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatClientBytesIn."bar" = Counter64: 11298096 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatClientPktsOut."bar" = Counter64: 659287 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatClientBytesOut."bar" = Counter64: 920275057 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatClientMaxConns."bar" = Counter64: 9 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatClientTotConns."bar" = Counter64: 523 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatClientCurConns."bar" = Counter64: 0 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatEphemeralPktsIn."bar" = Counter64: 0 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatEphemeralBytesIn."bar" = Counter64: 0 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatEphemeralPktsOut."bar" = Counter64: 0 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatEphemeralBytesOut."bar" = Counter64: 0 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatEphemeralMaxConns."bar" = Counter64: 0 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatEphemeralTotConns."bar" = Counter64: 0 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatEphemeralCurConns."bar" = Counter64: 0 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatPvaPktsIn."bar" = Counter64: 0 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatPvaBytesIn."bar" = Counter64: 0 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatPvaPktsOut."bar" = Counter64: 0 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatPvaBytesOut."bar" = Counter64: 0 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatPvaMaxConns."bar" = Counter64: 0 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatPvaTotConns."bar" = Counter64: 0 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatPvaCurConns."bar" = Counter64: 0 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatTotRequests."bar" = Counter64: 273 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatTotPvaAssistConn."bar" = Counter64: 0 F5-BIGIP-LOCAL-MIB::ltmVirtualServStatCurrPvaAssistConn."bar" = Counter64: 0
- KevinN_50601NimbostratusI got the MIB file from the F5 itself
- Mike_Kahler_488Historic F5 AccountI should have caught that in the beginning. F5-BIGIP-GLOBAL-MIB refers to Global Traffic Manager. If you do not have this enabled, I doubt you would get valid data. F5-BIGIP-LOCAL-MIB is for LTM.
- KevinN_50601NimbostratusForgive me, I'm not sure I understand what you mean?
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects