cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
560
Views
0
Helpful
4
Replies

OID for real server IP address in CSM

smakam123
Level 1
Level 1

Is there a way to associate the OIDs for real server IP addresses witht he OID of the server farm that the servers belong to?

I was using snmpwalk to list the server farms and real IP addresses.

Thanks for any clue.

4 Replies 4

Gilles Dufour
Cisco Employee
Cisco Employee

slbRealTableEntry OBJECT-TYPE

SYNTAX SlbRealTableEntry

MAX-ACCESS not-accessible

STATUS current

DESCRIPTION

"Information about a particular real server in a

particular server farm, served by a particular local

SLB entity. "

INDEX {

slbEntity,

slbRealServerFarmName,

slbRealIpAddress,

slbRealPort

}

::= { slbRealTable 1 }

Is this something you can use ?

Didn't try it myself but looks like realip and serverfarmname appear together.

Gilles.

As you can see from the attribute:

MAX-ACCESS not-accessible

this information about server farm name is not readable with snmpwalk.

I am looking for alternative method to find this information.

Thanks

Srinivas

Hi Srinivas,

this is normal behaviour as the OID Gilles mentioned is only the anchor for this table. In other words you'Ve to query something like:

1.3.6.1.4.1.9.9.161.1.3.1.1.2 which is

slbRealTable.slbRealTableEntry.slbRealIpAddress

Looking at the ASN.1 definiton of the MIB it shows you which objects you can access:

-- *************************************************************

-- * *

-- * SLB - Real Server Table *

-- * *

-- *************************************************************

slbRealTable OBJECT-TYPE

SYNTAX SEQUENCE OF SlbRealTableEntry

MAX-ACCESS not-accessible

STATUS current

DESCRIPTION "A table of real servers. Columnar objects can be

modified when the row is 'active'. Rows can be created

and destroyed. Entries are added to this table via

slbRealRowStatus in accordance with the RowStatus

convention."

::= { slbRealServers 1 }

slbRealTableEntry OBJECT-TYPE

SYNTAX SlbRealTableEntry

MAX-ACCESS not-accessible

STATUS current

DESCRIPTION "Information about a particular real server in a

particular server farm, served by a particular local

SLB entity. "

INDEX {

slbEntity,

slbRealServerFarmName,

slbRealIpAddress,

slbRealPort

}

::= { slbRealTable 1 }

SlbRealTableEntry ::= SEQUENCE {

slbRealServerFarmName SlbServerString,

slbRealIpAddress IpAddress,

slbRealPort CiscoPort,

slbRealState SlbRealServerState,

slbRealNumberOfConnections Gauge32,

slbRealNumberOfDummyConnections Unsigned32,

slbRealMaxConnections Unsigned32,

slbRealAdminWeight Unsigned32,

slbRealOperWeight Gauge32,

slbRealMetric Gauge32,

slbRealReassign Unsigned32,

slbRealRetryInterval TimeInterval,

slbRealFailedConnections Unsigned32,

slbRealFailedClients Unsigned32,

slbRealConsecutiveFails Gauge32,

slbRealTotalFails Counter32,

slbRealRowStatus RowStatus,

slbRealTotalConnections Counter32,

slbRealHCTotalConnections Counter64

}

For more details have a look at http://tools.cisco.com/Support/SNMP/do/BrowseMIB.do?local=en&step=2&mibName=CISCO-SLB-MIB

Maybe you can find some more usefull OIDs in this MIB.

Kind Regards,

Joerg

that object, or the table works for me

snmpwalk -v 2c -c cisco 10.86.213.37 1.3.6.1.4.1.9.9.161.1.3.1

SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.4.0.5.76.73.78.85.88.192.168.30.27.0 = INTEGER: 2

The ip address is 192.168.30.27 , the port is 0 [not set] and the serverfarm name is

76.73.78.85.88

L I N U X

Gilles.

Review Cisco Networking for a $25 gift card