NEW Cisco Aironet - graphing wireless AP performance - v1.1
Moderators: Developers, Moderators
Re: Template for 8.6i anyone?
ditto :/mcliffe wrote:Does anyone have coresponding templates of this for a Cacti 8.6i installation?
Right,
I've updated the IOS on the wireless switch.
root@cacti:/usr/share/cacti/site/scripts# snmpwalk -c public -v 2c w-ap-01 1.3.6.1.4.1.9.9.273.1.3.1.1.1
SNMPv2-SMI::enterprises.9.9.273.1.3.1.1.1.1.10.119.105.102.105.45.111.45.119.105.110.0.28.191.140.70.213 = STRING: "l"
So it now works.
What's the commandset to run the script, I tried it and returned 0 for all...
Ignore me, Sorted it
Running on the following
BOOTLDR: C1200 Boot Loader (C1200-BOOT-M) Version 12.2(8)JA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)
w-ap-01 uptime is 37 minutes
System returned to ROM by power-on
System image file is "flash:/c1200-k9w7-mx.123-8.JEC2/c1200-k9w7-mx.123-8.JEC2"
I've updated the IOS on the wireless switch.
root@cacti:/usr/share/cacti/site/scripts# snmpwalk -c public -v 2c w-ap-01 1.3.6.1.4.1.9.9.273.1.3.1.1.1
SNMPv2-SMI::enterprises.9.9.273.1.3.1.1.1.1.10.119.105.102.105.45.111.45.119.105.110.0.28.191.140.70.213 = STRING: "l"
So it now works.
What's the commandset to run the script, I tried it and returned 0 for all...
Ignore me, Sorted it
Running on the following
BOOTLDR: C1200 Boot Loader (C1200-BOOT-M) Version 12.2(8)JA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)
w-ap-01 uptime is 37 minutes
System returned to ROM by power-on
System image file is "flash:/c1200-k9w7-mx.123-8.JEC2/c1200-k9w7-mx.123-8.JEC2"
Cisco Wireless LAN Controller AP Association
So I am not sure if any of you guys can help me. I am a network engineer and don't do too much scripting yet, just a little.
I am trying to put together a graph that would show me the number of AP associated with the wireless LAN controller. Then I would create a threshold for the number of AP I desire to stay connected to the WLC. If that number ever drops I know an AP has dropped off the network and I will be notified.
Not sure if this is possible but that would be awesome if someone could create this!
I am using the Cisco 4400 and 2106 WLC's.
I am trying to put together a graph that would show me the number of AP associated with the wireless LAN controller. Then I would create a threshold for the number of AP I desire to stay connected to the WLC. If that number ever drops I know an AP has dropped off the network and I will be notified.
Not sure if this is possible but that would be awesome if someone could create this!
I am using the Cisco 4400 and 2106 WLC's.
urban wrote:I can't use this template with cisco 1240 series.
oid: .1.3.6.1.4.1.9.9.273.1.3.1.1.1
the response from the snmpwalk command:
CISCO-DOT11-ASSOCIATION-MIB::cDot11ClientCurrentTxRateSet = No Such Instance currently exists at this OID
Is this a problem from the aironet series 1240? or a software bug?
I have version Version 12.4(10b)JA on the AP.
I am having the same issue....
This is the system I am running:
Cisco IOS Software, C1240 Software (C1240-K9W7-M), Version 12.4(10b)JA,
Is there a workaround for this? the graphs you have created are very nice and I would like to incorporate this into our systems
The MIBS don't exist in the 1240 IOS.
I'm not sure if there is a replacement, i'll have to check though i don't think there is.
About the WL controllers, you'll have to find the MIB that says how many access points are connected, then get an addon for cacti to make it behave like nagios. then set the warning level.
Will have a look at the cisco MIB list.
I'm not sure if there is a replacement, i'll have to check though i don't think there is.
About the WL controllers, you'll have to find the MIB that says how many access points are connected, then get an addon for cacti to make it behave like nagios. then set the warning level.
Will have a look at the cisco MIB list.
hey guys trying to use this script against an 1130 AP running Version 12.4(10b)JDA anyone had any look script runs but returns all 0's as shown below
./group_dot11_client_rate.tcl
rate_1_cnt:0 rate_2_cnt:0 rate_5_5_cnt:0 rate_6_cnt:0 rate_9_cnt:0 rate_11_cnt:0 rate_12_cnt:0 rate_18_cnt:0 rate_24_cnt:0 rate_36_cnt:0 rate_48_cnt:0 rate_54_cnt:0 rate_avg:0
thanks in advance
./group_dot11_client_rate.tcl
rate_1_cnt:0 rate_2_cnt:0 rate_5_5_cnt:0 rate_6_cnt:0 rate_9_cnt:0 rate_11_cnt:0 rate_12_cnt:0 rate_18_cnt:0 rate_24_cnt:0 rate_36_cnt:0 rate_48_cnt:0 rate_54_cnt:0 rate_avg:0
thanks in advance
I'm just trying this script for the first time but I'm getting the following error
bash: ./group_dot11_client_rate.tcl: Permission denied
8 -rw-r--r-- 1 root root 4938 2009-03-10 11:41 group_dot11_client_rate.tcl
Does anybody know why?
Thanks
Martyn
Code: Select all
./group_dot11_client_rate.tcl
8 -rw-r--r-- 1 root root 4938 2009-03-10 11:41 group_dot11_client_rate.tcl
Does anybody know why?
Thanks
Martyn
i check on cisco.com My ap- 1241 for support mib association. Mib support
then i was check:
How debug this problem?
then i was check:
but graph empty with NAN[root@localhost scripts]# tclsh group_dot11_client_rate.tcl 100.xx.xx.135 public 2c
rate_1_cnt:1 rate_2_cnt:0 rate_5_5_cnt:0 rate_6_cnt:0 rate_9_cnt:0 rate_11_cnt:0 rate_12_cnt:0 rate_18_cnt:0 rate_24_cnt:0 rate_36_cnt:0 rate_48_cnt:0 rate_54_cnt:2 rate_avg:36
How debug this problem?
Cacti v.087g + PAv2.9
So the script is working, so I think you need to check the other posts for info about how to debug NANs. Look for any post from Gandalf on the development team - he has a link to debug NANs in his signature.L0gRuS wrote:i check on cisco.com My ap- 1241 for support mib association. Mib support
then i was check:but graph empty with NAN[root@localhost scripts]# tclsh group_dot11_client_rate.tcl 100.xx.xx.135 public 2c
rate_1_cnt:1 rate_2_cnt:0 rate_5_5_cnt:0 rate_6_cnt:0 rate_9_cnt:0 rate_11_cnt:0 rate_12_cnt:0 rate_18_cnt:0 rate_24_cnt:0 rate_36_cnt:0 rate_48_cnt:0 rate_54_cnt:2 rate_avg:36
How debug this problem?
Hope this helps.
i think problem with this:niobe wrote:So the script is working, so I think you need to check the other posts for info about how to debug NANs. Look for any post from Gandalf on the development team - he has a link to debug NANs in his signature.L0gRuS wrote:i check on cisco.com My ap- 1241 for support mib association. Mib support
then i was check:but graph empty with NAN[root@localhost scripts]# tclsh group_dot11_client_rate.tcl 100.xx.xx.135 public 2c
rate_1_cnt:1 rate_2_cnt:0 rate_5_5_cnt:0 rate_6_cnt:0 rate_9_cnt:0 rate_11_cnt:0 rate_12_cnt:0 rate_18_cnt:0 rate_24_cnt:0 rate_36_cnt:0 rate_48_cnt:0 rate_54_cnt:2 rate_avg:36
How debug this problem?
Hope this helps.
Code: Select all
03/18/2009 11:33:04 AM - SPINE: Poller[0] Host[59] ERROR: Empty result [10.xx.xx.xx]: '/var/www/html/scripts/group_dot11_client_rate.tcl 10.xx.xx.xx public 2'
debug graph
Code: Select all
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-14400 \
--end=-60 \
--title="XXX - Dot11 Client Rate Distribution" \
--base=1000 \
--height=250 \
--width=600 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Clients" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/www/html/rra/XXX_dot11_rate_36_cnt_1021.rrd":dot11_rate_1_cnt:AVERAGE \
DEF:b="/var/www/html/rra/XXX_dot11_rate_36_cnt_1021.rrd":dot11_rate_2_cnt:AVERAGE \
DEF:c="/var/www/html/rra/XXX_dot11_rate_36_cnt_1021.rrd":dot11_rate_5_5_cnt:AVERAGE \
DEF:d="/var/www/html/rra/XXX_dot11_rate_36_cnt_1021.rrd":dot11_rate_6_cnt:AVERAGE \
DEF:e="/var/www/html/rra/XXX_dot11_rate_36_cnt_1021.rrd":dot11_rate_9_cnt:AVERAGE \
DEF:f="/var/www/html/rra/XXX_dot11_rate_36_cnt_1021.rrd":dot11_rate_11_cnt:AVERAGE \
DEF:g="/var/www/html/rra/XXX_dot11_rate_36_cnt_1021.rrd":dot11_rate_12_cnt:AVERAGE \
DEF:h="/var/www/html/rra/XXX_dot11_rate_36_cnt_1021.rrd":dot11_rate_18_cnt:AVERAGE \
DEF:i="/var/www/html/rra/XXX_dot11_rate_36_cnt_1021.rrd":dot11_rate_24_cnt:AVERAGE \
DEF:j="/var/www/html/rra/XXX_dot11_rate_36_cnt_1021.rrd":dot11_rate_36_cnt:AVERAGE \
DEF:ba="/var/www/html/rra/XXX_dot11_rate_36_cnt_1021.rrd":dot11_rate_48_cnt:AVERAGE \
DEF:bb="/var/www/html/rra/XXX_dot11_rate_36_cnt_1021.rrd":dot11_rate_54_cnt:AVERAGE \
AREA:a#F51D30FF:"1Mbps" \
GPRINT:a:LAST:" Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:a:MAX:"Maximum\:%8.0lf\n" \
AREA:b#FF5700FF:"2Mbps":STACK \
GPRINT:b:LAST:" Current\:%8.0lf" \
GPRINT:b:AVERAGE:"Average\:%8.0lf" \
GPRINT:b:MAX:"Maximum\:%8.0lf\n" \
AREA:c#FFAB00FF:"5.5Mbps":STACK \
GPRINT:c:LAST:"Current\:%8.0lf" \
GPRINT:c:AVERAGE:"Average\:%8.0lf" \
GPRINT:c:MAX:"Maximum\:%8.0lf\n" \
AREA:d#ffd700FF:"6Mbps":STACK \
GPRINT:d:LAST:" Current\:%8.0lf" \
GPRINT:d:AVERAGE:"Average\:%8.0lf" \
GPRINT:d:MAX:"Maximum\:%8.0lf\n" \
AREA:e#4123A1FF:"9Mbps":STACK \
GPRINT:e:LAST:" Current\:%8.0lf" \
GPRINT:e:AVERAGE:"Average\:%8.0lf" \
GPRINT:e:MAX:"Maximum\:%8.0lf\n" \
AREA:f#4444FFFF:"11Mbps":STACK \
GPRINT:f:LAST:" Current\:%8.0lf" \
GPRINT:f:AVERAGE:"Average\:%8.0lf" \
GPRINT:f:MAX:"Maximum\:%8.0lf\n" \
AREA:g#4668E4FF:"12Mbps":STACK \
GPRINT:g:LAST:" Current\:%8.0lf" \
GPRINT:g:AVERAGE:"Average\:%8.0lf" \
GPRINT:g:MAX:"Maximum\:%8.0lf\n" \
AREA:h#157419FF:"18Mbps":STACK \
GPRINT:h:LAST:" Current\:%8.0lf" \
GPRINT:h:AVERAGE:"Average\:%8.0lf" \
GPRINT:h:MAX:"Maximum\:%8.0lf\n" \
AREA:i#35962BFF:"24Mbps":STACK \
GPRINT:i:LAST:" Current\:%8.0lf" \
GPRINT:i:AVERAGE:"Average\:%8.0lf" \
GPRINT:i:MAX:"Maximum\:%8.0lf\n" \
AREA:j#74C366FF:"36Mbps":STACK \
GPRINT:j:LAST:" Current\:%8.0lf" \
GPRINT:j:AVERAGE:"Average\:%8.0lf" \
GPRINT:j:MAX:"Maximum\:%8.0lf\n" \
AREA:ba#7EE600FF:"48Mbps":STACK \
GPRINT:ba:LAST:" Current\:%8.0lf" \
GPRINT:ba:AVERAGE:"Average\:%8.0lf" \
GPRINT:ba:MAX:"Maximum\:%8.0lf\n" \
AREA:bb#C4FD3DFF:"54Mbps":STACK \
GPRINT:bb:LAST:" Current\:%8.0lf" \
GPRINT:bb:AVERAGE:"Average\:%8.0lf" \
GPRINT:bb:MAX:"Maximum\:%8.0lf\n"
Cacti v.087g + PAv2.9
-
- Posts: 3
- Joined: Fri Oct 10, 2008 11:50 pm
Thanks for that - worked like a charm.chryzo wrote:I had the same problem - from command-line the script worked, but NaN in Cacti. I added "tcl" (e.g. "tcl <path to cacti>/scripts/...") in the beginning of the field "input string" at Data input method -> Cisco - Dot11 Client Rate Distrubution.
Gotta say the Aironet scripts and host templates look very good. Nice job everyone.
Who is online
Users browsing this forum: No registered users and 0 guests