Forum Discussion
SimoParis_85044
Altostratus
Oct 23, 2009GTM WideIP/Pools statistics via CLI
Hello,
- We have one GTM box with 10 WideIP. Each WideIP with some pools.
- Beside the HTTPS GUIS interface showing WideIP/Pools Statistics, is there any way to get the number of received requests, resolutions, errors.. per WideIP/Pool each 15 minutes for instance using some CLI commands (snmpget, bigpipe commands ?)
Thanks in advance for any hint
1 Reply
- JRahm
Admin
In version 10, you can use the tmsh shell to generate statistics on the cli. Prior to that, you'll need to access the snmp tables for these statistics. Walk these tables for the oids you are interested in:
gtmGlobals OBJECT IDENTIFIER ::= { bigipGlobalTM 1 }
gtmApplications OBJECT IDENTIFIER ::= { bigipGlobalTM 2 }
gtmDataCenters OBJECT IDENTIFIER ::= { bigipGlobalTM 3 }
gtmIps OBJECT IDENTIFIER ::= { bigipGlobalTM 4 }
gtmLinks OBJECT IDENTIFIER ::= { bigipGlobalTM 5 }
gtmPools OBJECT IDENTIFIER ::= { bigipGlobalTM 6 }
gtmRegions OBJECT IDENTIFIER ::= { bigipGlobalTM 7 }
gtmRules OBJECT IDENTIFIER ::= { bigipGlobalTM 8 }
gtmServers OBJECT IDENTIFIER ::= { bigipGlobalTM 9 }
gtmTopologies OBJECT IDENTIFIER ::= { bigipGlobalTM 10 }
gtmVirtualServers OBJECT IDENTIFIER ::= { bigipGlobalTM 11}
gtmWideips OBJECT IDENTIFIER ::= { bigipGlobalTM 12 }
Example:
snmpwalk -v 2c -c public localhost gtmWideips
F5-BIGIP-GLOBAL-MIB::gtmWideipNumber.0 = INTEGER: 1
F5-BIGIP-GLOBAL-MIB::gtmWideipName."test.wip.com" = STRING: test.wip.com
F5-BIGIP-GLOBAL-MIB::gtmWideipPersist."test.wip.com" = INTEGER: false(0)
F5-BIGIP-GLOBAL-MIB::gtmWideipTtlPersist."test.wip.com" = INTEGER: 3600
F5-BIGIP-GLOBAL-MIB::gtmWideipEnabled."test.wip.com" = INTEGER: enable(1)
F5-BIGIP-GLOBAL-MIB::gtmWideipLbmodePool."test.wip.com" = INTEGER: roundrobin(2)
F5-BIGIP-GLOBAL-MIB::gtmWideipApplication."test.wip.com" = STRING:
F5-BIGIP-GLOBAL-MIB::gtmWideipLastResortPool."test.wip.com" = STRING:
F5-BIGIP-GLOBAL-MIB::gtmWideipIpv6Noerror."test.wip.com" = INTEGER: false(0)
F5-BIGIP-GLOBAL-MIB::gtmWideipStatResetStats.0 = INTEGER: 0
F5-BIGIP-GLOBAL-MIB::gtmWideipStatNumber.0 = INTEGER: 0
F5-BIGIP-GLOBAL-MIB::gtmWideipStatusNumber.0 = INTEGER: 1
F5-BIGIP-GLOBAL-MIB::gtmWideipStatusName."test.wip.com" = STRING: test.wip.com
F5-BIGIP-GLOBAL-MIB::gtmWideipStatusAvailState."test.wip.com" = INTEGER: blue(4)
F5-BIGIP-GLOBAL-MIB::gtmWideipStatusEnabledState."test.wip.com" = INTEGER: enabled(1)
F5-BIGIP-GLOBAL-MIB::gtmWideipStatusParentType."test.wip.com" = INTEGER: 0
F5-BIGIP-GLOBAL-MIB::gtmWideipStatusDetailReason."test.wip.com" = STRING:
F5-BIGIP-GLOBAL-MIB::gtmWideipAliasNumber.0 = INTEGER: 0
F5-BIGIP-GLOBAL-MIB::gtmWideipPoolNumber.0 = INTEGER: 1
F5-BIGIP-GLOBAL-MIB::gtmWideipPoolWipName."test.wip.com"."pool1" = STRING: test.wip.com
F5-BIGIP-GLOBAL-MIB::gtmWideipPoolPoolName."test.wip.com"."pool1" = STRING: pool1
F5-BIGIP-GLOBAL-MIB::gtmWideipPoolOrder."test.wip.com"."pool1" = INTEGER: 0
F5-BIGIP-GLOBAL-MIB::gtmWideipPoolRatio."test.wip.com"."pool1" = INTEGER: 1
F5-BIGIP-GLOBAL-MIB::gtmWideipRuleNumber.0 = INTEGER: 1
F5-BIGIP-GLOBAL-MIB::gtmWideipRuleWipName."test.wip.com"."gtmtest01" = STRING: test.wip.com
F5-BIGIP-GLOBAL-MIB::gtmWideipRuleRuleName."test.wip.com"."gtmtest01" = STRING: gtmtest01
F5-BIGIP-GLOBAL-MIB::gtmWideipRulePriority."test.wip.com"."gtmtest01" = INTEGER: 0
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
