graphing cisco 4400 wireless controllers

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

graphing cisco 4400 wireless controllers

Post by egarnel »

has anyone tried pulling snmp info from the new cisco wcs stuff (airespace)?
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
User avatar
lard
Cacti User
Posts: 165
Joined: Wed Jul 20, 2005 10:48 am
Location: UK - Cambridge

Post by lard »

Hello,

Not yet - but I am just setting up some now - from the initial looks of it they seem to support most parts of the standard mib - certainly the interface stuff and uptime so that is a start,

If you have any more then let me know - I have the SNMP mib so in theory we can graph what we like such as active AP's e.t.c.

Let me know if you'd like a copy,

Thanks,

Lard
---- lard007skype ----
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Post by egarnel »

I may have some stuff soon for associated clients, rssi, etc
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
sp00f
Posts: 1
Joined: Thu Jun 01, 2006 3:27 am

WCS 4400 - Please keep us posted on your work

Post by sp00f »

Would love to have some more information on this. Can you give us a little insight into what you are working on?
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Post by egarnel »

making some progress. Here is a link that is extremely helpful
ftp://ftp.cisco.com/pub/mibs/oid/AIRESP ... SS-MIB.oid
and
ftp://ftp.cisco.com/pub/mibs/oid/AIRESP ... NG-MIB.oid

I have been able to glean some useful info so far:
bsnSensorTemperature" "1.3.6.1.4.1.14179.2.3.1.13"
bsnTemperatureAlarmLowLimit" "1.3.6.1.4.1.14179.2.3.1.14"
"bsnTemperatureAlarmHighLimit" "1.3.6.1.4.1.14179.2.3.1.15"
"agentTotalMemory" "1.3.6.1.4.1.14179.1.1.5.2"
"agentFreeMemory" "1.3.6.1.4.1.14179.1.1.5.3"

It appears that rssi, client info, etc is bound to the ap listings within snmp on the controller. you would have to identify which oid string is bound to which ap entry on the controller and then append the rest of of the oid string from there

For example: I have 21 APs on 1 controller anf the following OID maps # of users per AP

bsnApIfNoOfUsers" "1.3.6.1.4.1.14179.2.2.2.1.15"

Code: Select all

SNMPv2-SMI::enterprises.14179.2.2.2.1.15.0.11.133.81.138.240.0 = Counter32: 0
SNMPv2-SMI::enterprises.14179.2.2.2.1.15.0.11.133.81.138.240.1 = Counter32: 1
SNMPv2-SMI::enterprises.14179.2.2.2.1.15.0.11.133.81.139.0.0 = Counter32: 0
SNMPv2-SMI::enterprises.14179.2.2.2.1.15.0.11.133.81.139.0.1 = Counter32: 0
SNMPv2-SMI::enterprises.14179.2.2.2.1.15.0.11.133.81.139.112.0 = Counter32: 0
SNMPv2-SMI::enterprises.14179.2.2.2.1.15.0.11.133.81.139.112.1 = Counter32: 0
SNMPv2-SMI::enterprises.14179.2.2.2.1.15.0.11.133.81.140.0.0 = Counter32: 1
SNMPv2-SMI::enterprises.14179.2.2.2.1.15.0.11.133.81.140.0.1 = Counter32: 0
SNMPv2-SMI::enterprises.14179.2.2.2.1.15.0.11.133.81.141.64.0 = Counter32: 0
SNMPv2-SMI::enterprises.14179.2.2.2.1.15.0.11.133.81.141.64.1 = Counter32: 0
SNMPv2-SMI::enterprises.14179.2.2.2.1.15.0.11.133.81.141.144.0 = Counter32: 0
SNMPv2-SMI::enterprises.14179.2.2.2.1.15.0.11.133.81.141.144.1 = Counter32: 0
SNMPv2-SMI::enterprises.14179.2.2.2.1.15.0.11.133.81.141.240.0 = Counter32: 0
SNMPv2-SMI::enterprises.14179.2.2.2.1.15.0.11.133.81.141.240.1 = Counter32: 0
SNMPv2-SMI::enterprises.14179.2.2.2.1.15.0.11.133.81.142.144.0 = Counter32: 0
SNMPv2-SMI::enterprises.14179.2.2.2.1.15.0.11.133.81.142.144.1 = Counter32: 0
SNMPv2-SMI::enterprises.14179.2.2.2.1.15.0.11.133.81.142.160.0 = Counter32: 0
SNMPv2-SMI::enterprises.14179.2.2.2.1.15.0.11.133.81.142.160.1 = Counter32: 0
SNMPv2-SMI::enterprises.14179.2.2.2.1.15.0.11.133.81.143.80.0 = Counter32: 2
SNMPv2-SMI::enterprises.14179.2.2.2.1.15.0.11.133.81.143.80.1 = Counter32: 2
and the OID "bsnAP" "1.3.6.1.4.1.14179.2.2" gives you more info about the APs as well

I don't have enough time at the moment to dig thru the OIDs, but at least it is a start. At this point I am thinking that it would be very difficult to build a template that would include RSSI, client count, etc, but each controller entry in cacti would have to be hand crafted.
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
cwahlin
Cacti User
Posts: 91
Joined: Fri Oct 10, 2003 7:23 am

Post by cwahlin »

I know this is an old topic, but has anyone made any progress on this?

My idea is to make some sort of query to get APs and whatnot from the WCS. We already have 6 of these controllers, and I think we might end up with over 10 of them this year. The WCS server does not seem to keep historical data, so getting all this into cacti would be nice.

Although, currently I am trying to get Axxceleras MIB sorted so I can get some usefull info from their WiMAX accesspoints... So... it might be a while before I get started on this...

/Carl
andys
Posts: 24
Joined: Fri Mar 23, 2007 8:06 am

Post by andys »

We're testing a 4400 controller at the moment and i'm trying to get it working with Cacti. Heres what i've got so far. I've made a host template that polls the 4400 for Temperature,Memory Usage and CPU Usage.

There is an additional Data Query that polls the 4400 for a list of configured WLANS. When you create graphs for the 4400, put a tick against a WLAN and Cacti will poll for the number of associated users.

The Template seems to work OK if anyone wants to try it. To install, import the cacti_host_template_cisco_4400_controller.xml file through the Cacti import utility and copy cisco4400wlanassoc.xml to the \resource\snmp_queries folder on your Cacti server.

The template only seems to work when snmp v1 is used - i had to enable smnp v1 on the 4400 Controller.

Is there anyone else working on templates for the 4400?? How far have you got?

cheers
andy
Attachments
cacti_host_template_cisco_4400_controller.xml
(41.33 KiB) Downloaded 1911 times
cisco4400wlanassoc.xml
(1.18 KiB) Downloaded 2112 times
andys
Posts: 24
Joined: Fri Mar 23, 2007 8:06 am

Post by andys »

forgot to add that templates were done in 0.8.6j
andy
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Post by egarnel »

Sweet! The templates work like a champ. Thanks for doing them
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Post by egarnel »

added in the following cdef to convert temp to farenheit

cdef=CURRENT_DATA_SOURCE,1.8,*,32,+
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Post by egarnel »

exported temperature template with conversion to Fahrenheit
Attachments
cacti_graph_template_cisco_4400_temperature.xml
4400 temperature template in Fahrenheit
(15.13 KiB) Downloaded 891 times
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
andys
Posts: 24
Joined: Fri Mar 23, 2007 8:06 am

new host template for Cisco 4400

Post by andys »

Ive written some PHP scripts to add further functionality to the template. Im using PHP 5.1.6.6 on win2003 server with cacti 0.8.6j. The Host Template now contains:-


Graph Templates:

1) Cisco 4400 - AP Radios
This polls and graphs the 4400 Controller for the number of a/b/g radios associated with the controller . The script for this is called query_4400_APifType.php.

2) Cisco 4400 - CPU Usage
No change from last Host template.

3) Cisco 4400 - Memory Usage
No change from last Host template.

4) Cisco 4400 - Temperature
No change from last Host template.

Data Queries:

1) Cisco 4400 AP Assoc Query
This Script Query Cisco4400_APs.xml calls the PHP script query_cisco4400_aps.php. The script query returns the APs MAC address, Name, IP Address and Serial Number. Placing a tick beside a particular AP will graph the number of associations for that AP.

2) Cisco 4400 Interface Assoc Query
This Script Query Cisco4400_interfaces.xml calls the PHP script query_cisco4400_interfaces.php. The script query returns the Controllers Interfaces Name, VLAN ID and IP Address. Placing a tick beside a particular Interface will graph the number of associations for that Interface.


3) Cisco 4400 WLAN Assoc Query
No change from last Host template.

andys
Attachments
cacti_host_template_cisco_4400_controller.xml
import this host template thro Cacti
(66.03 KiB) Downloaded 2104 times
script_queries.rar
unzip and copy to the resource\script_queries folder on your Cacti server
(994 Bytes) Downloaded 1525 times
scripts.rar
unzip and copy to the scripts folder on your Cacti server
(2.28 KiB) Downloaded 1329 times
snmpqueries.rar
unzip and copy to the resource\snmp_queries folder on your Cacti server
(467 Bytes) Downloaded 1569 times
Last edited by andys on Fri Jul 27, 2007 6:21 am, edited 2 times in total.
andys
Posts: 24
Joined: Fri Mar 23, 2007 8:06 am

Post by andys »

I
andys
Posts: 24
Joined: Fri Mar 23, 2007 8:06 am

Post by andys »

Ive
andys
Posts: 24
Joined: Fri Mar 23, 2007 8:06 am

Post by andys »

does anyone have any feedback from using these templates/scripts - any suggestions?
thanks
andy
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest