11-23-2017 06:14 AM - edited 07-05-2021 07:54 AM
Dear All,
I'm a newbie in Cisco Wireless Lan Controller because I've usually used standalone
products, for example Aironet 1100 1200 series and so on but now I'm updating
infrastructure from these old APs to new 1600 and 18500 series with Mobility Express (VWLC). In the past I've used some snmp features to read values from AP: traffic stastistics, users etc.
Does someone help me to read the numbers of clients connected directly from AP ?
My goal is to pass these informartion to weathermaps to build a chart with these values for each hour of the day.
My old bash script:
#!/bin/bash AP=$1 snmp=`snmpwalk -v 1 -c public $AP 1.3.6.1.4.1.9.9.273.1.1.2.1.1 2>/dev/null` if [ $? -gt 0 ]; then users=0 else users=` echo $snmp | cut -d":" -f4` fi echo $users echo 0 exit
Thank you so much !
Best Regards
Enrico
11-23-2017 06:28 AM
You can try using OID:
1.3.6.1.4.1.14179.2.1.1.1.38.(APIndex)
And get the index from SNMPv2-SMI::enterprises.14179.2.1.1.1.2.1 = STRING:
More info:
Regards
Dont forget to arte helpful posts
11-23-2017 07:35 AM
Dear Friend,
Can you tell me if I hunderstand you suggestion ?
# snmpwalk -v 2c -c public 10.21.0.1 1.3.6.1.4.1.9.9.513.1.1.1.1.72 SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.0.176.225.161.64.96 = Gauge32: 1 SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.0.176.225.161.72.96 = Gauge32: 2 SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.24.139.69.10.228.96 = Gauge32: 4 SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.24.139.69.11.92.64 = Gauge32: 2 SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.88.10.32.119.199.80 = Gauge32: 2 SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.88.10.32.222.97.128 = Gauge32: 2 SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.88.10.32.223.72.192 = Gauge32: 10 SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.112.243.90.87.132.192 = Gauge32: 2 SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.112.243.90.87.135.224 = Gauge32: 4 SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.112.243.90.87.136.128 = Gauge32: 1 SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.128.232.111.208.157.96 = Gauge32: 5 SNMPv2-SMI::enterprises.9.9.513.1.1.1.1.72.248.79.87.170.30.96 = Gauge32: 5
10.21.0.1 is the Virtual Wireless Lan Controller. How I can associate the number of client to each AP?
Thanks again
Best Regards
Enrico
12-01-2017 01:01 AM
someone can help me ?
Thanks
Bye
E.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide