Problem graphic Cisco wlc 5508 wireless controllers [SOLVED]

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

Moderators: Developers, Moderators

Post Reply
patriciogg
Posts: 6
Joined: Wed Jan 22, 2014 8:46 pm

Problem graphic Cisco wlc 5508 wireless controllers [SOLVED]

Post by patriciogg »

Hi guys!
I can't get the mac-address, models of devices and the number serial in SNMP - Cisco WLC Radios.
I get the next results with verbose query:

+ Running data query [28].
+ Found type = '6' [Script Query - Script Server].
+ Found data query XML file at '/discox/www/html/cacti/resource/script_server/Cisco_WLC_Radios.xml'
+ XML file parsed ok.
+ <arg_num_indexes> missing in XML file, 'Index Count Changed' not supported
+ Executing script for list of indexes '"/usr/bin/php" -q /discox/www/html/cacti/scripts/Cisco_WLC_Radios.php x.x.x.x xxx 2:161:500:1:10:xxxx:::::: index' Index Count: xxx
+ Found index: 0.25.7.140.194.192.0
+ Found index: 0.25.7.140.194.192.1
+ Found index: 0.26.48.126.18.112.0
+ Found index: 0.26.48.126.18.112.1
+ Found index: 0.28.15.76.168.144.0
+ Executing script query '"/usr/bin/php" -q /discox/www/html/cacti/scripts/Cisco_WLC_Radios.php x.x.x.x xxx 2:161:500:1:10:xxxx:::::: query index'
+ Found item [bsnAPRadioIndex='0.25.7.140.194.192.0'] index: 0.25.7.140.194.192.0
+ Found item [bsnAPRadioIndex='0.25.7.140.194.192.1'] index: 0.25.7.140.194.192.1
+ Found item [bsnAPRadioIndex='0.26.48.126.18.112.0'] index: 0.26.48.126.18.112.0
+ Found item [bsnAPRadioIndex='0.26.48.126.18.112.1'] index: 0.26.48.126.18.112.1
+ Found item [bsnAPRadioIndex='0.28.15.76.168.144.0'] index: 0.28.15.76.168.144.0
+ Executing script query '"/usr/bin/php" -q /disco2/www/html/cacti/scripts/Cisco_WLC_Radios.php x.x.x.x xxx 2:161:500:1:10:xxxx:::::: query parentname'
+ Found item [bsnAPRadioParentName=''] index: 0.25.7.140.194.192.0
+ Found item [bsnAPRadioParentName=''] index: 0.25.7.140.194.192.1
+ Found item [bsnAPRadioParentName=''] index: 0.26.48.126.18.112.0
+ Found item [bsnAPRadioParentName=''] index: 0.26.48.126.18.112.1
+ Found item [bsnAPRadioParentName=''] index: 0.28.15.76.168.144.0
+ Executing script query '"/usr/bin/php" -q /discox/www/html/cacti/scripts/Cisco_WLC_Radios.php x.x.x.x xxx 2:161:500:1:10:xxxx:::::: query parentmac'
+ Found item [bsnAPRadioParentMac=''] index: 0.25.7.140.194.192.0
+ Found item [bsnAPRadioParentMac=''] index: 0.25.7.140.194.192.1
+ Found item [bsnAPRadioParentMac=''] index: 0.26.48.126.18.112.0
+ Found item [bsnAPRadioParentMac=''] index: 0.26.48.126.18.112.1
+ Found item [bsnAPRadioParentMac=''] index: 0.28.15.76.168.144.0
+ Executing script query '"/usr/bin/php" -q /discox/www/html/cacti/scripts/Cisco_WLC_Radios.php x.x.x.x xxx 2:161:500:1:10:xxxx:::::: query parentethmac'
+ Found item [bsnAPRadioParentEthMac=''] index: 0.25.7.140.194.192.0
+ Found item [bsnAPRadioParentEthMac=''] index: 0.25.7.140.194.192.1
+ Found item [bsnAPRadioParentEthMac=''] index: 0.26.48.126.18.112.0
+ Found item [bsnAPRadioParentEthMac=''] index: 0.26.48.126.18.112.1
+ Found item [bsnAPRadioParentEthMac=''] index: 0.28.15.76.168.144.0
+ Executing script query '"/usr/bin/php" -q /discox/www/html/cacti/scripts/Cisco_WLC_Radios.php x.x.x.x xxx 2:161:500:1:10:xxxx:::::: query parentmodel'
+ Found item [bsnAPRadioParentModel=''] index: 0.25.7.140.194.192.0
+ Found item [bsnAPRadioParentModel=''] index: 0.25.7.140.194.192.1
+ Found item [bsnAPRadioParentModel=''] index: 0.26.48.126.18.112.0
+ Found item [bsnAPRadioParentModel=''] index: 0.26.48.126.18.112.1
+ Found item [bsnAPRadioParentModel=''] index: 0.28.15.76.168.144.0
+ Executing script query '"/usr/bin/php" -q /discox/www/html/cacti/scripts/Cisco_WLC_Radios.php x.x.x.x xxx 2:161:500:1:10:xxxx:::::: query parentserial'
+ Found item [bsnAPRadioParentSerial=''] index: 0.25.7.140.194.192.0
+ Found item [bsnAPRadioParentSerial=''] index: 0.25.7.140.194.192.1
+ Found item [bsnAPRadioParentSerial=''] index: 0.26.48.126.18.112.0
+ Found item [bsnAPRadioParentSerial=''] index: 0.26.48.126.18.112.1
+ Found item [bsnAPRadioParentSerial=''] index: 0.28.15.76.168.144.0
patriciogg
Posts: 6
Joined: Wed Jan 22, 2014 8:46 pm

Re: Problem graphic Cisco wlc 5508 wireless controllers [SOL

Post by patriciogg »

I edit the Cisco_WLC_Radios.php and Cisco_WLC_Radios.xml:

In Cisco_WLC_Radios.php I changed:

"parentname" =>$
"parentmac" =>$
"parentethmac" =>$
"parentmodel" =>$
"parentserial" =>$
"ifslotid" =>$
"ifphychannelnumber" =>$
"ifdot11transmittedfragmentcount" =>$
"ifdot11mcasttransmittedframecount" =>$
"ifdot11retrycount" =>$
"ifdot11multipleretrycount" =>$
"ifdot11frameduplicatecount" =>$
"ifdot11rtssuccesscount" =>$
"ifdot11rtsfailurecount" =>$
"ifdot11ackfailurecount" =>$
"ifdot11receivedfragmentcount" =>$
"ifdot11mcastreceivedframecount" =>$
"ifdot11fcserrorcount"

--------------------------------------------------------------------
For...
"index"
"bsnAPRadioParentName"
"bsnAPRadioParentMac"
"bsnAPRadioParentEthMac"
"bsnAPRadioParentModel"
"bsnAPRadioParentSerial"
"ifslotid"
"ifphychannelnumber"
"ifdot11transmittedfragmentcount"
"ifdot11mcasttransmittedframecount"
"ifdot11retrycount"
"ifdot11multipleretrycount"
"ifdot11frameduplicatecount"
"ifdot11rtssuccesscount"
"ifdot11rtsfailurecount"
"ifdot11ackfailurecount"
"ifdot11receivedfragmentcount"
"ifdot11mcastreceivedframecount"
"ifdot11fcserrorcount"
"ifdot11transmittedframecount"
"ifdot11wepundecryptablecount"

In Cisco_WLC_Radios.xml I edited:

<bsnAPRadioIndex>
<name>Index</name>
<direction>input</direction>
<query_name>index</query_name>
</bsnAPRadioIndex>
<bsnAPRadioParentName>
<name>Name</name>
<direction>input</direction>
<query_name>parentname</query_name>
</bsnAPRadioParentName>
<bsnAPRadioParentMac>
<name>MAC</name>
<direction>input</direction>
<query_name>parentmac</query_name>
</bsnAPRadioParentMac>
<bsnAPRadioParentEthMac>
<name>Ethernet MAC</name>
<direction>input</direction>
<query_name>parentethmac</query_name>
</bsnAPRadioParentEthMac>
<bsnAPRadioParentModel>
<name>Model</name>
<direction>input</direction>
<query_name>parentmodel</query_name>
</bsnAPRadioParentModel>
<bsnAPRadioParentSerial>
<name>Serial No</name>
<direction>input</direction>
<query_name>parentserial</query_name>
</bsnAPRadioParentSerial>
------------------------------------------------------------------
For...

<bsnAPRadioIndex>
<name>Index</name>
<direction>input</direction>
<query_name>index</query_name>
</bsnAPRadioIndex>
<bsnAPRadioParentName>
<name>Name</name>
<direction>input</direction>
<query_name>bsnAPRadioParentName</query_name>
</bsnAPRadioParentName>
<bsnAPRadioParentMac>
<name>MAC</name>
<direction>input</direction>
<query_name>bsnAPRadioParentMac</query_name>
</bsnAPRadioParentMac>
<bsnAPRadioParentEthMac>
<name>Ethernet MAC</name>
<direction>input</direction>
<query_name>bsnapradioparentethmac</query_name>
</bsnAPRadioParentEthMac>
<bsnAPRadioParentModel>
<name>Model</name>
<direction>input</direction>
<query_name>bsnAPRadioParentModel</query_name>
</bsnAPRadioParentModel>
<bsnAPRadioParentSerial>
<name>Serial No</name>
<direction>input</direction>
<query_name>bsnAPRadioParentSerial</query_name>
</bsnAPRadioParentSerial>
sallywally
Posts: 3
Joined: Sun Apr 20, 2014 10:38 am

Re: Problem graphic Cisco wlc 5508 wireless controllers [SOL

Post by sallywally »

patriciogg wrote:I edit the Cisco_WLC_Radios.php and Cisco_WLC_Radios.xml:

In Cisco_WLC_Radios.php I changed:

"parentname" =>$
"parentmac" =>$
"parentethmac" =>$
"parentmodel" =>$
"parentserial" =>$
"ifslotid" =>$
"ifphychannelnumber" =>$
"ifdot11transmittedfragmentcount" =>$
"ifdot11mcasttransmittedframecount" =>$
"ifdot11retrycount" =>$
"ifdot11multipleretrycount" =>$
"ifdot11frameduplicatecount" =>$
"ifdot11rtssuccesscount" =>$
"ifdot11rtsfailurecount" =>$
"ifdot11ackfailurecount" =>$
"ifdot11receivedfragmentcount" =>$
"ifdot11mcastreceivedframecount" =>$
"ifdot11fcserrorcount"

--------------------------------------------------------------------
For...
"index"
"bsnAPRadioParentName"
"bsnAPRadioParentMac"
"bsnAPRadioParentEthMac"
"bsnAPRadioParentModel"
"bsnAPRadioParentSerial"
"ifslotid"
"ifphychannelnumber"
"ifdot11transmittedfragmentcount"
"ifdot11mcasttransmittedframecount"
"ifdot11retrycount"
"ifdot11multipleretrycount"
"ifdot11frameduplicatecount"
"ifdot11rtssuccesscount"
"ifdot11rtsfailurecount"
"ifdot11ackfailurecount"
"ifdot11receivedfragmentcount"
"ifdot11mcastreceivedframecount"
"ifdot11fcserrorcount"
"ifdot11transmittedframecount"
"ifdot11wepundecryptablecount"

In Cisco_WLC_Radios.xml I edited:

<bsnAPRadioIndex>
<name>Index</name>
<direction>input</direction>
<query_name>index</query_name>
</bsnAPRadioIndex>
<bsnAPRadioParentName>
<name>Name</name>
<direction>input</direction>
<query_name>parentname</query_name>
</bsnAPRadioParentName>
<bsnAPRadioParentMac>
<name>MAC</name>
<direction>input</direction>
<query_name>parentmac</query_name>
</bsnAPRadioParentMac>
<bsnAPRadioParentEthMac>
<name>Ethernet MAC</name>
<direction>input</direction>
<query_name>parentethmac</query_name>
</bsnAPRadioParentEthMac>
<bsnAPRadioParentModel>
<name>Model</name>
<direction>input</direction>
<query_name>parentmodel</query_name>
</bsnAPRadioParentModel>
<bsnAPRadioParentSerial>
<name>Serial No</name>
<direction>input</direction>
<query_name>parentserial</query_name>
</bsnAPRadioParentSerial>
------------------------------------------------------------------
For...

<bsnAPRadioIndex>
<name>Index</name>
<direction>input</direction>
<query_name>index</query_name>
</bsnAPRadioIndex>
<bsnAPRadioParentName>
<name>Name</name>
<direction>input</direction>
<query_name>bsnAPRadioParentName</query_name>
</bsnAPRadioParentName>
<bsnAPRadioParentMac>
<name>MAC</name>
<direction>input</direction>
<query_name>bsnAPRadioParentMac</query_name>
</bsnAPRadioParentMac>
<bsnAPRadioParentEthMac>
<name>Ethernet MAC</name>
<direction>input</direction>
<query_name>bsnapradioparentethmac</query_name>
</bsnAPRadioParentEthMac>
<bsnAPRadioParentModel>
<name>Model</name>
<direction>input</direction>
<query_name>bsnAPRadioParentModel</query_name>
</bsnAPRadioParentModel>
<bsnAPRadioParentSerial>
<name>Serial No</name>
<direction>input</direction>
<query_name>bsnAPRadioParentSerial</query_name>
</bsnAPRadioParentSerial>



Hi,
Can you share the templates and scripts that are working for you? I've made use of the original scripts for 5508 WLC. Everything works except the radios query. The index for the radios query seems wrong. Attached snapshot. As a result the query times out on the controller as the OID is invalid.
Attachments
wlc-error.jpg
wlc-error.jpg (208.11 KiB) Viewed 1527 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest