Forum Discussion

Josh_Abaire's avatar
Josh_Abaire
Icon for Nimbostratus rankNimbostratus
Dec 09, 2016

Looking for SNMP OID to list pools and the virtual they are mapped to.

I am trying to find an SNMP OID that will return a list of which pools mapped to each of the virtuals.

This one works for listing all the virtuals: F5-BIGIP-LOCAL-MIB::ltmVirtualServName (1.3.6.1.4.1.3375.2.2.10.1.2.1)

This one works for listing all the pools: F5-BIGIP-LOCAL-MIB::ltmPoolName (1.3.6.1.4.1.3375.2.2.5.1.2.1)

I've searched the MIB for how to map these two and tried a bunch that looked like what I wanted. The most promising of which was ltmVirtualServPoolPoolName (.1.3.6.1.4.1.3375.2.2.10.6.2.1.2) but it does not return anything.

[   ]snmpwalk -c commstring localhost .1.3.6.1.4.1.3375.2.2.10.6.2.1.2

F5-BIGIP-LOCAL-MIB::ltmVirtualServPoolPoolName = No Such Instance currently exists at this OID

The description looks like it might be looking for an argument. For the Virtual to be specified. I don't know how to do that. Is that possible with snmpwalk?

ltmVirtualServPoolPoolName OBJECT-TYPE 
    SYNTAX LongDisplayString
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
        "The name of a non-default pool that the specified virtual server is referencing."
    ::= { ltmVirtualServPoolEntry 2 } 

Is there a way to specify the virtual and see the pool mapped to it?

Is there a way to list every virtual with the pool it maps to?

This OID is similar to what I want, but it shows virtuals and rules: ltmVirtualServRulePriority (1.3.6.1.4.1.3375.2.2.10.8.2.1)

Thanks!

1 Reply