Forum Discussion
Tyler_Lund_9273
Nimbostratus
Nov 01, 2007Monitoring the state of nodes, pools, and virtual servers with SNMP
So, I'm trying to gather the current state of nodes, pools, and virtual servers via SNMP for monitoring purposes. I can enumerate these things easy enough, but I cannot seem to put my finger on an OID that will report to me the current state (up/down/unknown) of each of these elements.
Has anyone had any luck here?
2 Replies
- Jeff_Silverman_Historic F5 AccountI am using the iReasoning MIB browser from http://www.ireasoning.com/mibbrowser.shtml, plus a little experience wandering through the MIB tree.
There are three OIDs that you might want to consider to report the state of a node:
F5-BIGIP-LOCAL-MIB::ltmNodeAddrStatusAvailState
F5-BIGIP-LOCAL-MIB::ltmNodeAddrStatusEnabledState
and
F5-BIGIP-LOCAL-MIB::ltmNodeAddrStatusDetailReason
If you snmpwalk these OIDs, it will tell you how these are indexed in a table. So, for example:
[root@b1500-912-1b:Active] config snmpget -v2c -c public localhost F5-BIGIP-LOCAL-MIB::ltmNodeAddrStatusAvailState.ipv4.4.10.1.0.20
F5-BIGIP-LOCAL-MIB::ltmNodeAddrStatusAvailState.ipv4."10.1.0.20" = INTEGER: blue(4)
[root@b1500-912-1b:Active] config
There are three OIDs that you might want to consider to report the state of a pool:
F5-BIGIP-LOCAL-MIB::ltmPoolAddrStatusAvailState
F5-BIGIP-LOCAL-MIB::ltmPoolAddrStatusEnabledState
and
F5-BIGIP-LOCAL-MIB::ltmPoolAddrStatusDetailReason
For virtual servers, I will leave it as an exercise for the reader. Hint:
snmpwalk -v2c -c public localhost F5-BIGIP-LOCAL-MIB::ltmVirtualServStat
If you have any questions, please contact me (206) 272-6465 and I will open a case for you
Jeff Silverman, NSE - Tyler_Lund_9273
Nimbostratus
Perfect! Thanks!
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