OoS SNMP Value on WLC 4100

Answered Question
Sep 30th, 2009
User Badges:

Hi Forum:

I need to monitor through snmp the Out of Service radios of APs. The Wireless Control System give me through web based application that number, but I need on snmp. I really appreciate if somebody can confirm if this value is accesible through snmp.

If not, I think may be quering directly to WLCs I could get this value (adding the number of OoS radios of each WLC).


Thanks in advance and greetings,



Olaf Marcos

Correct Answer by ericgarnel about 7 years 7 months ago

It is formatted for MRTG and you could change the snmpwalk to :

$apcount = `echo -n "Controller 1: " && snmpwalk -v2c -c 1.3.6.1.4.1.14179.2.2.1.1.3 | wc -l`;


to get just the total # of APs on the controller

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.8 (4 ratings)
Loading.
ericgarnel Wed, 09/30/2009 - 08:12
User Badges:
  • Gold, 750 points or more

When the radios are Oos, they are not associated to the WLC anymore, so you really cannot graph for the absence of something. You can however, graph association status and attempts via the following OIDS:

1.3.6.1.4.1.14179.2.2.1.1.6


per http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInput=bsnAPOperationStatus


Once you have a list of associated APs, you can then have your nms alert when they disassociate

olafmarcos Wed, 09/30/2009 - 21:45
User Badges:

Thanks for the quick reply Ericgarnel.


In some cases the AP can be associated with the WLC but the radio is down. I can "up" the radio with commands from the WLC, usually enabling the power injector.

In spite of that, how can query the WLC for all the radios?? The APs are in LWAPP. I can't query anything directly to APs.


I am testing the OID 1.3.6.1.4.1.14179.2.2.1.1.6 but the WLC responds: "SNMPv2-SMI::enterprises.14179.2.2.1.1.6 = No Such Instance currently exists at this OID". WLC is 4.0 version.


I have attached an image of the OoS field showing 12 Radios OoS from the Wireless Control System. Is not posible to get this value through snmp??


Thanks in advance and best regards,



Olaf Marcos



Attachment: 
olafmarcos Wed, 09/30/2009 - 21:52
User Badges:

Doing a snmpwalk to 1.3.6.1.4.1.14179.2.2.1.1.6 give me:

SNMPv2-SMI::enterprises.14179.2.2.1.1.6.0.25.169.166.241.176 = INTEGER: 1

SNMPv2-SMI::enterprises.14179.2.2.1.1.6.0.26.48.50.225.240 = INTEGER: 1

SNMPv2-SMI::enterprises.14179.2.2.1.1.6.0.26.48.127.121.160 = INTEGER: 1

SNMPv2-SMI::enterprises.14179.2.2.1.1.6.0.26.48.127.148.176 = INTEGER: 1


and many more, but I suppose those values are the APs associated.This not help a lot, cause the AP can be associated but the radio "down". It would be easier get the OoS value from the WCS.


Greetings,



Olaf Marcos

olafmarcos Thu, 10/01/2009 - 06:24
User Badges:

Yeahh !!

I've got:

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

SNMPv2-SMI::enterprises.14179.2.2.2.1.12.0.25.169.166.241.176.1 = INTEGER: 1

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

SNMPv2-SMI::enterprises.14179.2.2.2.1.12.0.26.48.50.225.240.1 = INTEGER: 1

...


and so on. But what are those OIDs and what mean those values?


I suppose that are the state of each radio (a and b/g) and the state (1=Up and 2=Down), but what is which???


And, my first question. Is not posible to get the value from the WCS (OoS field)???


Thanks a lot,


Olaf Marcos

ericgarnel Thu, 10/01/2009 - 06:42
User Badges:
  • Gold, 750 points or more

Yes, 1 = up, 2 = down.

You may have to walk down some other OIDS to see whether ...176.0 = a or b/g and 176.1 equals the other.


Basically it bumps the addr by 1, but, then again, a zero on the end of the OID should be the base value of the OID normally, but the actual output is the merged OID and AP value. So, a zero could be the 1st integer in that case.


As far as pulling from WCS, it stores all its info a solid db and you would have to extract it that way.


When you think about, the controllers have no knowledge whatsoever of WCS, it is just some bully with snmp rw access!


If you want to get the snmp info of the radios, you will have to pull it from the controllers themselves. I have done some work, along with others, for monitoring WLCs under Cacti and have had some success with it.

olafmarcos Thu, 10/01/2009 - 07:40
User Badges:

Very, VERY, usefull Eric.

In order to achieve the goal (knowledge of OoS radios and whichs) from the WCLs I guess that need some scripting.

But I don't understand the values of the OID after the OID we are querying...

[OID Query].0.25.169.166.241.176.0


I have't got any idea how to relation this numbers with my APs. No IP relation, ...


Any idea???


Best regards,



Olaf Marcos


ericgarnel Thu, 10/01/2009 - 08:47
User Badges:
  • Gold, 750 points or more

try this:

#!/usr/bin/perl

#Author: Eric Garnel

##########################################################

# insert gnu license here

###############################################################

#

# instructions

# change the ip addresses below to suite your controller & snmp values

#

# show ap list from controller

#


$apcount = `echo -n "Controller 1: " && snmpwalk -v2c -c 1.3.6.1.4.1.14179.2.2.1.1.3 `;

$apcount =~ s/ +//;


chop($apcount);


print("$apcount\n");

print "0\n";

print "0\n";

print "0\n";


the output should look like:

SNMPv2-SMI::enterprises.14179.2.2.1.1.3.0.23.223.169.119.160 = STRING: "Hall5_3"

SNMPv2-SMI::enterprises.14179.2.2.1.1.3.0.23.223.169.121.32 = STRING: "SC_11A"

SNMPv2-SMI::enterprises.14179.2.2.1.1.3.0.23.223.169.121.80 = STRING: "Ballroom_E"

SNMPv2-SMI::enterprises.14179.2.2.1.1.3.0.23.223.169.122.208 = STRING: "Ballroom_G"

SNMPv2-SMI::enterprises.14179.2.2.1.1.3.0.23.223.169.152.144 = STRING: "SkyWedge"

SNMPv2-SMI::enterprises.14179.2.2.1.1.3.0.35.5.12.230.240 = STRING: "lounge_1242"

....

You will see the names of your APs of course

Correct Answer
ericgarnel Thu, 10/01/2009 - 08:49
User Badges:
  • Gold, 750 points or more

It is formatted for MRTG and you could change the snmpwalk to :

$apcount = `echo -n "Controller 1: " && snmpwalk -v2c -c 1.3.6.1.4.1.14179.2.2.1.1.3 | wc -l`;


to get just the total # of APs on the controller

olafmarcos Thu, 10/01/2009 - 22:59
User Badges:

Thanks Eric,


I have the script running ok. But we will need a lot of programming work for reach our goal. "Zabbix Triggers when radios down". We are in the correct way thanks to you.

If you have any other advice i will thank you a lot.

I set the question as resolved.


Best regards Eric,


Olaf Marcos


Actions

This Discussion

 

 

Trending Topics: Other Wireless Mobility

client could not be authenticated
Network Analysis Module (NAM) Products
Cisco 6500 nam
reason 440 driver failure
Cisco password cracker
Cisco Wireless mode