Forum Discussion

Tyler_Lund_9273's avatar
Tyler_Lund_9273
Icon for Nimbostratus rankNimbostratus
Nov 01, 2007

Monitoring 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_'s avatar
    Jeff_Silverman_
    Historic F5 Account
    I 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