06-14-2012 09:45 AM
Good afternoon
I need your help.
I´m trying to perform a snmp query to get the status of the reals of a serverfarm.
Basically I´m trying to get an output that tells me if the reals of a specific serverfarm are Operation or Probe_Failed.
What is the OID to get the reals status? And how do I translate the serverfarm name to its respective OID?
Best regards
Solved! Go to Solution.
06-15-2012 06:36 AM
Good afternoon,
You can get this information using the "slbRealTable" OID of the CISCO-SLB-MIB. This OID will give you some statistics for each real server, including the serverfarm to which they belong and their status.
For more details on this OID, as well as others in the same MIB, you can refer to
I hope this helps
Daniel
06-15-2012 06:36 AM
Good afternoon,
You can get this information using the "slbRealTable" OID of the CISCO-SLB-MIB. This OID will give you some statistics for each real server, including the serverfarm to which they belong and their status.
For more details on this OID, as well as others in the same MIB, you can refer to
I hope this helps
Daniel
06-15-2012 06:58 AM
:~$ snmpwalk -v 1 -c xxxxxx yyy.yyy.yyy.yyy 1.3.6.1.4.1.9.9.161.1.3.1 | grep 172.16.0.1
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.4.4.9.69.83.66.45.70.69.45.56.48.172.16.0.1.0 = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.4.4.10.69.83.66.45.70.69.45.52.52.51.172.16.0.1.0 = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.4.4.11.69.83.66.45.70.69.95.50.45.56.48.172.16.0.1.0 = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.4.4.12.69.83.66.45.70.69.95.50.45.52.52.51.172.16.0.1.0 = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.5.4.9.69.83.66.45.70.69.45.56.48.172.16.0.1.0 = Gauge32: 12
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.5.4.10.69.83.66.45.70.69.45.52.52.51.172.16.0.1.0 = Gauge32: 22
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.5.4.11.69.83.66.45.70.69.95.50.45.56.48.172.16.0.1.0 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.5.4.12.69.83.66.45.70.69.95.50.45.52.52.51.172.16.0.1.0 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.7.4.9.69.83.66.45.70.69.45.56.48.172.16.0.1.0 = Gauge32: 4294967295
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.7.4.10.69.83.66.45.70.69.45.52.52.51.172.16.0.1.0 = Gauge32: 4294967295
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.7.4.11.69.83.66.45.70.69.95.50.45.56.48.172.16.0.1.0 = Gauge32: 4294967295
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.7.4.12.69.83.66.45.70.69.95.50.45.52.52.51.172.16.0.1.0 = Gauge32: 4294967295
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.8.4.9.69.83.66.45.70.69.45.56.48.172.16.0.1.0 = Gauge32: 8
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.8.4.10.69.83.66.45.70.69.45.52.52.51.172.16.0.1.0 = Gauge32: 8
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.8.4.11.69.83.66.45.70.69.95.50.45.56.48.172.16.0.1.0 = Gauge32: 8
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.8.4.12.69.83.66.45.70.69.95.50.45.52.52.51.172.16.0.1.0 = Gauge32: 8
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.9.4.9.69.83.66.45.70.69.45.56.48.172.16.0.1.0 = Gauge32: 8
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.9.4.10.69.83.66.45.70.69.45.52.52.51.172.16.0.1.0 = Gauge32: 8
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.9.4.11.69.83.66.45.70.69.95.50.45.56.48.172.16.0.1.0 = Gauge32: 8
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.9.4.12.69.83.66.45.70.69.95.50.45.52.52.51.172.16.0.1.0 = Gauge32: 8
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.10.4.9.69.83.66.45.70.69.45.56.48.172.16.0.1.0 = Gauge32: 1
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.10.4.10.69.83.66.45.70.69.45.52.52.51.172.16.0.1.0 = Gauge32: 2
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.10.4.11.69.83.66.45.70.69.95.50.45.56.48.172.16.0.1.0 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.10.4.12.69.83.66.45.70.69.95.50.45.52.52.51.172.16.0.1.0 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.16.4.9.69.83.66.45.70.69.45.56.48.172.16.0.1.0 = Counter32: 347037
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.16.4.10.69.83.66.45.70.69.45.52.52.51.172.16.0.1.0 = Counter32: 29147
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.16.4.11.69.83.66.45.70.69.95.50.45.56.48.172.16.0.1.0 = Counter32: 20
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.16.4.12.69.83.66.45.70.69.95.50.45.52.52.51.172.16.0.1.0 = Counter32: 2
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.17.4.9.69.83.66.45.70.69.45.56.48.172.16.0.1.0 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.17.4.10.69.83.66.45.70.69.45.52.52.51.172.16.0.1.0 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.17.4.11.69.83.66.45.70.69.95.50.45.56.48.172.16.0.1.0 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.17.4.12.69.83.66.45.70.69.95.50.45.52.52.51.172.16.0.1.0 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.18.4.9.69.83.66.45.70.69.45.56.48.172.16.0.1.0 = Counter32: 200920621
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.18.4.10.69.83.66.45.70.69.45.52.52.51.172.16.0.1.0 = Counter32: 21553254
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.18.4.11.69.83.66.45.70.69.95.50.45.56.48.172.16.0.1.0 = Counter32: 109
SNMPv2-SMI::enterprises.9.9.161.1.3.1.1.18.4.12.69.83.66.45.70.69.95.50.45.52.52.51.172.16.0.1.0 = Counter32: 452
How can I determine which of these relates to the serverfarm I want, and how do I interpret the line to know if the real is operational or with a probe_failed status?
06-15-2012 07:03 AM
Nevermind
I got it =D
Thank you very much Daniel
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide