Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

OoS SNMP Value on WLC 4100

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

1 ACCEPTED SOLUTION

Accepted Solutions

Re: OoS SNMP Value on WLC 4100

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

10 REPLIES

Re: OoS SNMP Value on WLC 4100

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

New Member

Re: OoS SNMP Value on WLC 4100

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

New Member

Re: OoS SNMP Value on WLC 4100

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

Re: OoS SNMP Value on WLC 4100

Had to dig further for it.

Try this one:

1.3.6.1.4.1.14179.2.2.2.1.12

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

Keep in mind of how the controllers combine the OID with the AP when doing a walk

New Member

Re: OoS SNMP Value on WLC 4100

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

Re: OoS SNMP Value on WLC 4100

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.

New Member

Re: OoS SNMP Value on WLC 4100

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

Re: OoS SNMP Value on WLC 4100

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

Re: OoS SNMP Value on WLC 4100

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

New Member

Re: OoS SNMP Value on WLC 4100

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

704
Views
14
Helpful
10
Replies