Updated Cisco Wireless controller host template
Moderators: Developers, Moderators
- Instigater
- Cacti User
- Posts: 141
- Joined: Mon Dec 13, 2004 5:14 pm
- Location: Jurmala, Latvia
Updated Cisco Wireless controller host template
Inspired by this thread I improved it and added more graphing parameters.
Put Cisco_WLC_Radios.xml ir resource/script_server
All PHP files in scripts folder
Import cacti_host_template_cisco_wlc_-_4400.xml using web interface.
Enjoy! Pictures tell more that words!
Put Cisco_WLC_Radios.xml ir resource/script_server
All PHP files in scripts folder
Import cacti_host_template_cisco_wlc_-_4400.xml using web interface.
Enjoy! Pictures tell more that words!
- Attachments
-
- wlc.zip
- (57.8 KiB) Downloaded 1139 times
-
- utilization.jpg (88.08 KiB) Viewed 10987 times
-
- stations.jpg (144.78 KiB) Viewed 10987 times
-
- protocol.jpg (126.04 KiB) Viewed 10987 times
-
- noise24.jpg (181.63 KiB) Viewed 10987 times
Last edited by Instigater on Thu May 13, 2010 2:45 am, edited 3 times in total.
- Instigater
- Cacti User
- Posts: 141
- Joined: Mon Dec 13, 2004 5:14 pm
- Location: Jurmala, Latvia
- Instigater
- Cacti User
- Posts: 141
- Joined: Mon Dec 13, 2004 5:14 pm
- Location: Jurmala, Latvia
Thanks!
These are awesome!
These are awesome!
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
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
Very nice.
Please consider adding it to http://docs.cacti.net/templates after reading http://docs.cacti.net/templates.guidelines
Please consider adding it to http://docs.cacti.net/templates after reading http://docs.cacti.net/templates.guidelines
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
I would like to redo it for FCC (US) channels if that is OK.
I see the channels in cacti_host_template_cisco_wlc_-_4400.xml, Cisco_WLC_Radios.php and Cisco_WLC_Radios.xml
Are there any other areas that I would need to tweak?
Thanks,
Eric
I see the channels in cacti_host_template_cisco_wlc_-_4400.xml, Cisco_WLC_Radios.php and Cisco_WLC_Radios.xml
Are there any other areas that I would need to tweak?
Thanks,
Eric
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
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
- Instigater
- Cacti User
- Posts: 141
- Joined: Mon Dec 13, 2004 5:14 pm
- Location: Jurmala, Latvia
The better way would be adding missing channels to scripts and making region based graph/data templates.
http://en.wikipedia.org/wiki/List_of_WLAN_channels
Like:
"Noise 2.4Ghz EU"
"Noise 2.4Ghz US"
"Noise 2.4Ghz JP"
Also the work involved in 5Ghz range tamplating will be enormous.
The main problem could be test base as noone would be willing to change country settings in their WLCs.
If we can cooperate I suggest that I make updated base scripts.
You make a copy of date and graph templates (do not edit the ones I provided as they will have the same hash) and testing for US and I do merging in one package.
Is there anyone from Israel, Turkey and Far East willing to contribute?
http://en.wikipedia.org/wiki/List_of_WLAN_channels
Like:
"Noise 2.4Ghz EU"
"Noise 2.4Ghz US"
"Noise 2.4Ghz JP"
Also the work involved in 5Ghz range tamplating will be enormous.
The main problem could be test base as noone would be willing to change country settings in their WLCs.
If we can cooperate I suggest that I make updated base scripts.
You make a copy of date and graph templates (do not edit the ones I provided as they will have the same hash) and testing for US and I do merging in one package.
Is there anyone from Israel, Turkey and Far East willing to contribute?
it is going to be a few weeks, got some work & training coming up. I will see what I can cobble together along the way
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
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
Any ideas????
/usr/local/php/bin/php -q /usr/local/apache/htdocs/cacti/scripts/Cisco_WLC_Station_Protocol.php 172.17.17.7 ******* 2
Warning: Missing argument 9 for cacti_snmp_walk(), called in /usr/local/apache/htdocs/cacti/scripts/Cisco_WLC_Station_Protocol.php on line 23 and defined in /usr/local/apache/htdocs/cacti/lib/snmp.php on line 227
Warning: Missing argument 10 for cacti_snmp_walk(), called in /usr/local/apache/htdocs/cacti/scripts/Cisco_WLC_Station_Protocol.php on line 23 and defined in /usr/local/apache/htdocs/cacti/lib/snmp.php on line 227
Notice: Undefined variable: context in /usr/local/apache/htdocs/cacti/lib/snmp.php on line 244
stationdot11a:24 stationdot11b:8 stationdot11g:26 stationdot11n24:0 stationdot11n5:0 stationunknownprotocol:0 stationmobile:0
SG-NETSTAT:/usr/local/apache/htdocs/cacti/scripts#
Log file results
Log File [Total Lines: 1 - All Items Shown]
05/24/2010 01:45:04 PM - SPINE: Poller[0] Host[129] DS[1536] SCRIPT: /usr/local/php/bin/php -q /usr/local/apache/htdocs/cacti/scripts/Cisco_WLC_Station_Protocol.php 172.17.17.7 ******* 2, output: U
/usr/local/php/bin/php -q /usr/local/apache/htdocs/cacti/scripts/Cisco_WLC_Station_Protocol.php 172.17.17.7 ******* 2
Warning: Missing argument 9 for cacti_snmp_walk(), called in /usr/local/apache/htdocs/cacti/scripts/Cisco_WLC_Station_Protocol.php on line 23 and defined in /usr/local/apache/htdocs/cacti/lib/snmp.php on line 227
Warning: Missing argument 10 for cacti_snmp_walk(), called in /usr/local/apache/htdocs/cacti/scripts/Cisco_WLC_Station_Protocol.php on line 23 and defined in /usr/local/apache/htdocs/cacti/lib/snmp.php on line 227
Notice: Undefined variable: context in /usr/local/apache/htdocs/cacti/lib/snmp.php on line 244
stationdot11a:24 stationdot11b:8 stationdot11g:26 stationdot11n24:0 stationdot11n5:0 stationunknownprotocol:0 stationmobile:0
SG-NETSTAT:/usr/local/apache/htdocs/cacti/scripts#
Log file results
Log File [Total Lines: 1 - All Items Shown]
05/24/2010 01:45:04 PM - SPINE: Poller[0] Host[129] DS[1536] SCRIPT: /usr/local/php/bin/php -q /usr/local/apache/htdocs/cacti/scripts/Cisco_WLC_Station_Protocol.php 172.17.17.7 ******* 2, output: U
disregard this, I answered too soon...
comment out line 19, but now the script is snmp v1, v2c
on line 24 add an '@' in front of cacti_snmp_walk...
also use dos2unix or vi to remove all the ^M
comment out line 19, but now the script is snmp v1, v2c
on line 24 add an '@' in front of cacti_snmp_walk...
also use dos2unix or vi to remove all the ^M
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
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
I got all my scripts working...it seems in snmp.php there are quite a few variables called and in these WLC scripts they are not used so i added a few more indexes into each script...my errors were missing argument 9 and 10.....
in each script there is a line similar to this...
$stationstatus = reindex(cacti_snmp_walk($hostname, $snmp_community, $bsnMobileStationStatus, $snmp_version, "", "", 161, 1000));
I added 2 more blank indexes next to the original like this to fill 9 and 10
$stationstatus = reindex(cacti_snmp_walk($hostname, $snmp_community, $bsnMobileStationStatus, $snmp_version, "", "", "", "", 161, 1000));
I had to modify just about everyone to get them all to work....
Great graphs for sure...
in each script there is a line similar to this...
$stationstatus = reindex(cacti_snmp_walk($hostname, $snmp_community, $bsnMobileStationStatus, $snmp_version, "", "", 161, 1000));
I added 2 more blank indexes next to the original like this to fill 9 and 10
$stationstatus = reindex(cacti_snmp_walk($hostname, $snmp_community, $bsnMobileStationStatus, $snmp_version, "", "", "", "", 161, 1000));
I had to modify just about everyone to get them all to work....
Great graphs for sure...
That fixed it. must be specific to OS snmp implementation then.The original script works fine in CentOS, but not freeBSD. Your fixed script works under freeBSD.
Thanks
Thanks
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
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
- Instigater
- Cacti User
- Posts: 141
- Joined: Mon Dec 13, 2004 5:14 pm
- Location: Jurmala, Latvia
Who is online
Users browsing this forum: No registered users and 1 guest