Ruckus AP and Zonedirector templates

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

Moderators: Developers, Moderators

Post Reply
joelb
Posts: 12
Joined: Fri Dec 15, 2006 9:57 am

Ruckus AP and Zonedirector templates

Post by joelb »

I put together some host templates for Ruckus ZD's and APs. My work originally referenced this: https://forums.ruckuswireless.com/rucku ... sing_cacti

I have only tried this against a ZD 3000 and 7372 APs running Firmware 9.8. I am not sure if it will work with other models or firmwares (but I suspect it will). My cacti version is 0.8.8b.

I'm a bit of a hack so please be gentle regarding the colors and layouts :)

The templates posted here differ very slightly from the pictures (I'm not updating the pics). I found a few small issues when looking at the pictures and fixed them in the templates.

-Joel
Attachments
cacti_host_template_ruckus_ap.xml
Access Point Template
(273.88 KiB) Downloaded 1745 times
cacti_host_template_ruckus_zd_3000.xml
Zone Director Template
(185.44 KiB) Downloaded 1451 times
Last edited by joelb on Thu Aug 14, 2014 5:44 pm, edited 2 times in total.
joelb
Posts: 12
Joined: Fri Dec 15, 2006 9:57 am

Re: Ruckus AP and Zonedirector templates

Post by joelb »

AP Graph Pictures
Note that br0 is the PoE port of my 7372 APs. (I use a management VLAN for our APs, so it's also a VLAN interface.) It and the Wifi0/Wifi1 devices come from the generic interface query. Your APs may be different and need some identification on your part.

On my APs, Wifi0 = the 2.4 Ghz (g/n) Radio . Wifi1 = the 5.0 Ghz (a/n) Radio.
For those of you digging into the data templates, this is also how the data templates/OIDs work. When the OID documentation identified an OID like: 1.3.6.1.4.1.25053.1.1.12.1.1.1.3.1.11 , there was a trailing ".1" for the 2.4Ghz radio, and a trailing ".2" for the 5Ghz Radio. This is clear if you snmp walk "1.3.6.1.4.1.25053.1.1.12.1.1.1.3.1.11" against an AP, it returns 2 values.

-Joel
Attachments
RuckusAP-5.JPG
RuckusAP-5.JPG (113.25 KiB) Viewed 10843 times
RuckusAP-4.JPG
RuckusAP-4.JPG (96.36 KiB) Viewed 10843 times
RuckusAP-3.JPG
RuckusAP-3.JPG (98.33 KiB) Viewed 10843 times
RuckusAP-2.JPG
RuckusAP-2.JPG (98.05 KiB) Viewed 10843 times
RuckusAP-1.JPG
RuckusAP-1.JPG (127.83 KiB) Viewed 10843 times
Last edited by joelb on Thu Aug 14, 2014 5:51 pm, edited 3 times in total.
joelb
Posts: 12
Joined: Fri Dec 15, 2006 9:57 am

Re: Ruckus AP and Zonedirector templates

Post by joelb »

ZoneDirector Pics
Attachments
RuckusZD-1.JPG
RuckusZD-1.JPG (71.36 KiB) Viewed 10843 times
RuckusZD-2.JPG
RuckusZD-2.JPG (106.81 KiB) Viewed 10843 times
RuckusZD-3.JPG
RuckusZD-3.JPG (106.62 KiB) Viewed 10843 times
oneseventeen
Posts: 10
Joined: Thu Oct 03, 2013 12:50 pm

Re: Ruckus AP and Zonedirector templates

Post by oneseventeen »

AWESOME!

I successfully set up SNMPv3 settings for the ZoneDirector, but can't seem to figure out how to connect to my APs...

I haven't been able to successfully connect to any of my APs via SNMP (I'm using R700's), any thoughts? Was there a feature you had to enable on the APs?

Thanks again for the templates, I can now add my total number of clients stats to our wall of monitoring!
oneseventeen
Posts: 10
Joined: Thu Oct 03, 2013 12:50 pm

Re: Ruckus AP and Zonedirector templates

Post by oneseventeen »

Apparently SNMPv2 Agent gets propogated to the APs, but not v3.

After enabling V2 I can connect, but I receive the following on my graphs:

ERROR: the RRD does not contain an RRA matching the chosen CF

I changed the line/area's to "AVERAGE" instead of "LAST", which cleared it up.

I also see there is a difference in number of associated clients between my ZoneDirector interface and the graph, but I'm going to let it run for a while and possibly do some snmpwalk troubleshooting to see if anything has changed for the R700.

Thanks again for sharing this, this is a huge help!
joelb
Posts: 12
Joined: Fri Dec 15, 2006 9:57 am

Re: Ruckus AP and Zonedirector templates

Post by joelb »

Where at in your ZD are you getting the number? and which graph are you saying is different? (I'd like to compare my own to see if they are also different)

Remember that it is possible to connect, but not yet be "Authenticated". The way I understand it is that anyone can connect (and this is the "All Clients" on the "Client Info" graph of my collection of ZD graphs) but there is a different count of "Authenticated" which are the clients that actually have successfully joined the network. I'm interested in seeing both of these to see how many people randomly try to connect (or connect but fail to enter the correct password).

Glad you got it working and thanks for providing feedback for others.

-Joel
MassiveIT
Posts: 1
Joined: Wed Sep 09, 2015 5:53 am

Re: Ruckus AP and Zonedirector templates

Post by MassiveIT »

We ran into the same issue with graphs not displaying. We downloaded the templates, uploaded them to Cacti, added an access point, all went well. Except when viewing a device graphs, they are broken images or not displayed. We changed the line areas from "LAST" to "AVERAGE" and the graphs are now displayed.
Current System:

W2k12 Hyper-V VM, CentOS6.5 64 bit, Single 2GHz core, 4GB, Cacti 0.8.8b, Weathermap 0.97b, - 265 DS, 25 Hosts. 3.6021 seconds poll.
alvin3088
Posts: 2
Joined: Wed May 13, 2015 1:04 am

Re: Ruckus AP and Zonedirector templates

Post by alvin3088 »

Hi Joel,

I have successfully install the "cacti_host_template_ruckus_ap.xml". And the graph is shown clearly after I changed the line/area's to "AVERAGE" instead of "LAST", which cleared it up the issue.


But i have a confused with the graph. I really don't understand how to read the legend's graph.
Could you give me comprehension how to read the graph's legend below? Thank you,

*Traffic - br0
*Traffic - eth2
*Traffic - wifi0
*Traffic - wlan0
*Associations
*Associations Detail
*Authenticated
*Authenticated Detail
*Client Connect
*Client Connect Info
*CPU Usage
*Failure Detail
*Mem Usage


Best Regards,
Attachments
Graph2.jpg
Graph2.jpg (131.46 KiB) Viewed 9003 times
Graph3.jpg
Graph3.jpg (142.33 KiB) Viewed 9003 times
Graph4.jpg
Graph4.jpg (149.7 KiB) Viewed 9003 times
Graph5.jpg
Graph5.jpg (72.42 KiB) Viewed 9003 times
Graph6.jpg
Graph6.jpg (185.58 KiB) Viewed 9003 times
andhikagg
Posts: 2
Joined: Tue Dec 06, 2016 10:17 pm

Re: Ruckus AP and Zonedirector templates

Post by andhikagg »

Hi all,

I need your help, last night i download and setup cacti_host_template_ruckus_ap.xml on monitoring machine (cacti 0.8.8b), but the graph isn't shown, just blank box. i've been trying to change graph templates base on graph item type (area and line) from last to average, but it's still no graph shown.

Note : i try to get with snmpwalk this OID .1.3.6.1.4.1.25053.1.1.12.1.1.1.3.1.11.1 but no result

I'll appreciate for your help.
Attachments
client connect.jpg
client connect.jpg (25.04 KiB) Viewed 6167 times
authenticated detail.jpg
authenticated detail.jpg (25.11 KiB) Viewed 6167 times
authenticated.jpg
authenticated.jpg (24.39 KiB) Viewed 6167 times
associations detail.jpg
associations detail.jpg (25.38 KiB) Viewed 6167 times
associations.jpg
associations.jpg (24.29 KiB) Viewed 6167 times
andhikagg
Posts: 2
Joined: Tue Dec 06, 2016 10:17 pm

Re: Ruckus AP and Zonedirector templates

Post by andhikagg »

before graph template item change (image broken) :

Code: Select all

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-60' \
--title='ruckus - ap (ho) - Associations' \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='Clients' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/var/lib/cacti/rra/ruckus-ap_ruck_ap_associa_24g_717.rrd':'ruck_ap_associa_24g':LAST \
DEF:b='/var/lib/cacti/rra/ruckus-ap_ruck_ap_associat_5a_718.rrd':'ruck_ap_associat_5a':LAST \
CDEF:cdefba='TIME,1481093123,GT,a,a,UN,0,a,IF,IF,TIME,1481093123,GT,b,b,UN,0,b,IF,IF,+' \
AREA:a#00CF0033:'2.4Ghz'  \
LINE1:a#00CF00FF:''  \
GPRINT:a:LAST:'      Now\:%8.0lf'  \
GPRINT:a:AVERAGE:'Avg\:%8.2lf%s'  \
GPRINT:a:MAX:'Max\:%8.0lf\n'  \
AREA:b#002A9733:'5Ghz'  \
LINE1:b#002A97FF:''  \
GPRINT:b:LAST:'        Now\:%8.0lf'  \
GPRINT:b:AVERAGE:'Avg\:%8.2lf%s'  \
GPRINT:b:MAX:'Max\:%8.0lf\n'  \
LINE1:cdefba#FF0000FF:'Total'  \
GPRINT:cdefba:LAST:'       Now\:%8.0lf'  \
GPRINT:cdefba:AVERAGE:'Avg\:%8.2lf%s'  \
GPRINT:cdefba:MAX:'Max\:%8.0lf\n' 
RRDTool Says:
ERROR: the RRD does not contain an RRA matching the chosen CF
after graph template item change (image not broken) :

Code: Select all

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-60' \
--title='ruckus - ap (ho) - Associations' \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='Clients' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/var/lib/cacti/rra/ruckus-ap_ruck_ap_associa_24g_717.rrd':'ruck_ap_associa_24g':AVERAGE \
DEF:b='/var/lib/cacti/rra/ruckus-ap_ruck_ap_associat_5a_718.rrd':'ruck_ap_associat_5a':AVERAGE \
CDEF:cdefba='TIME,1481093521,GT,a,a,UN,0,a,IF,IF,TIME,1481093521,GT,b,b,UN,0,b,IF,IF,+' \
AREA:a#00CF0033:'2.4Ghz'  \
LINE1:a#00CF00FF:''  \
GPRINT:a:LAST:'      Now\:%8.0lf'  \
GPRINT:a:AVERAGE:'Avg\:%8.2lf%s'  \
GPRINT:a:MAX:'Max\:%8.0lf\n'  \
AREA:b#002A9733:'5Ghz'  \
LINE1:b#002A97FF:''  \
GPRINT:b:LAST:'        Now\:%8.0lf'  \
GPRINT:b:AVERAGE:'Avg\:%8.2lf%s'  \
GPRINT:b:MAX:'Max\:%8.0lf\n'  \
LINE1:cdefba#FF0000FF:'Total'  \
GPRINT:cdefba:LAST:'       Now\:%8.0lf'  \
GPRINT:cdefba:AVERAGE:'Avg\:%8.2lf%s'  \
GPRINT:cdefba:MAX:'Max\:%8.0lf\n' 
RRDTool Says:
OK
annapatil
Posts: 35
Joined: Wed Oct 13, 2010 3:22 am

Re: Ruckus AP and Zonedirector templates

Post by annapatil »

Hi There,

I am working on Ruckus SCG 200, is there any template available? I am stuck...

My XLM query

<interface>
<name>Get ruckusSCG Zone Traffic</name>
<description>Get SNMP based ruckusSCG Zone Traffic</description>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<oid_index>.1.3.6.1.4.1.25053.1.3.2.1.1.1.2.1.99</oid_index>
<fields>
<Index>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.25053.1.3.2.1.1.1.2.1.99</oid>
</Index>
<APZone>
<name>Zone</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.25053.1.3.2.1.1.1.2.1.2</oid>
</APZone>
<LANSSID >
<name>SSID </name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.25053.1.3.2.1.1.1.2.1.1</oid>
</LANSSID >
<ZRXBytes>
<name>Bytes In</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.25053.1.3.2.1.1.2.2.1.30</oid>
</ZRXBytes>
<ZTXBytes>
<name>Bytes Out</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.25053.1.3.2.1.1.2.2.1.31</oid>
</ZTXBytes>
</fields>
</interface>

I am able to snmpwalk on .1.3.6.1.4.1.25053.1.3.2.1.1.2.2.1.30 and .1.3.6.1.4.1.25053.1.3.2.1.1.2.2.1.31

[localhost snmp_queries]# snmpwalk -v2c -c ttslsnmp 10.124.115.10 .1.3.6.1.4.1.25053.1.3.2.1.1.2.2.1.30
SNMPv2-SMI::enterprises.25053.1.3.2.1.1.2.2.1.30.6.4.79.170.52.162.128 = Counter64: 1070458343
SNMPv2-SMI::enterprises.25053.1.3.2.1.1.2.2.1.30.6.4.79.170.52.167.32 = Counter64: 20709876541
SNMPv2-SMI::enterprises.25053.1.3.2.1.1.2.2.1.30.6.36.201.161.1.120.0 = Counter64: 28512356820
SNMPv2-SMI::enterprises.25053.1.3.2.1.1.2.2.1.30.6.36.201.161.1.141.208 = Counter64: 21969716173
SNMPv2-SMI::enterprises.25053.1.3.2.1.1.2.2.1.30.6.36.201.161.1.151.32 = Counter64: 645690122
SNMPv2-SMI::enterprises.25053.1.3.2.1.1.2.2.1.30.6.36.201.161.1.166.16 = Counter64: 40661012373
SNMPv2-SMI::enterprises.25053.1.3.2.1.1.2.2.1.30.6.36.201.161.1.168.80 = Counter64: 47168080624
^C
[localhost snmp_queries]# snmpwalk -v2c -c ttslsnmp 10.124.115.10 .1.3.6.1.4.1.25053.1.3.2.1.1.2.2.1.31
SNMPv2-SMI::enterprises.25053.1.3.2.1.1.2.2.1.31.6.4.79.170.52.162.128 = Counter64: 21549777179
SNMPv2-SMI::enterprises.25053.1.3.2.1.1.2.2.1.31.6.4.79.170.52.167.32 = Counter64: 495071897586
SNMPv2-SMI::enterprises.25053.1.3.2.1.1.2.2.1.31.6.36.201.161.1.120.0 = Counter64: 153466961936
SNMPv2-SMI::enterprises.25053.1.3.2.1.1.2.2.1.31.6.36.201.161.1.141.208 = Counter64: 147714213725
SNMPv2-SMI::enterprises.25053.1.3.2.1.1.2.2.1.31.6.36.201.161.1.151.32 = Counter64: 10275087171
SNMPv2-SMI::enterprises.25053.1.3.2.1.1.2.2.1.31.6.36.201.161.1.166.16 = Counter64: 278398280960
SNMPv2-SMI::enterprises.25053.1.3.2.1.1.2.2.1.31.6.36.201.161.1.168.80 = Counter64: 253582415314
SNMPv2-SMI::enterprises.25053.1.3.2.1.1.2.2.1.31.6.36.201.161.1.185.160 = Counter64: 167954456228
SNMPv2-SMI::enterprises.25053.1.3.2.1.1.2.2.1.31.6.36.201.161.1.187.144 = Counter64: 192382088897
SNMPv2-SMI::enterprises.25053.1.3.2.1.1.2.2.1.31.6.36.201.161.1.207.144 = Counter64: 212819963525
SNMPv2-SMI::enterprises.25053.1.3.2.1.1.2.2.1.31.6.36.201.161.2.35.112 = Counter64: 87495693336

No error found the (Verbose Query) but poller catch shows wrong OID

SNMP Version: 2, Community: xxxx, OID: .1.3.6.1.4.1.25053.1.3.2.1.1.2.2.1.30.10
SNMP Version: 2, Community: xxxx, OID: .1.3.6.1.4.1.25053.1.3.2.1.1.2.2.1.30.11

and cacti logs shows below logs

SNMP: v2: SmartZone-WLC-1, dsname: ZRXBytes, oid: .1.3.6.1.4.1.25053.1.3.2.1.1.2.2.1.30.10, value: U
SNMP: v2: SmartZone-WLC-1, dsname: ZRXBytes, oid: .1.3.6.1.4.1.25053.1.3.2.1.1.2.2.1.30.11 value: U

but snmpwalk shows different values like
.1.3.6.1.4.1.25053.1.3.2.1.1.2.2.1.31.6.4.79.170.52.162.128


not able to understand.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests