I'm having trouble getting valid results back from my snmp query of an airport express. Right now the data in the rrd file is just NaN. See my info below and I have attached the xml template.
Seems like my custom index is working and if I query any one of my outputs manually I get thr correct value. Can someone see the probably simple error I'm making?
Here is the walk of the snmp that I want to graph:
condor% snmpwalk -On -c public -v 2c -m+AIRPORT-BASESTATION-3-MIB 10.12.3.247 .1.3.6.1.4.1.63.501.3.2.2.1
.1.3.6.1.4.1.63.501.3.2.2.1.1.0.10.149.243.239.177 = Hex-STRING: 00 0A 95 F3 EF B1
.1.3.6.1.4.1.63.501.3.2.2.1.1.0.13.147.236.91.186 = Hex-STRING: 00 0D 93 EC 5B BA
.1.3.6.1.4.1.63.501.3.2.2.1.1.0.17.36.195.91.236 = Hex-STRING: 00 11 24 C3 5B EC
.1.3.6.1.4.1.63.501.3.2.2.1.1.0.20.81.124.109.7 = Hex-STRING: 00 14 51 7C 6D 07 .1.3.6.1.4.1.63.501.3.2.2.1.1.0.144.150.161.117.120 = Hex-STRING: 00 90 96 A1 75 78
.1.3.6.1.4.1.63.501.3.2.2.1.2.0.10.149.243.239.177 = INTEGER: sta(1)
.1.3.6.1.4.1.63.501.3.2.2.1.2.0.13.147.236.91.186 = INTEGER: sta(1)
.1.3.6.1.4.1.63.501.3.2.2.1.2.0.17.36.195.91.236 = INTEGER: sta(1)
.1.3.6.1.4.1.63.501.3.2.2.1.2.0.20.81.124.109.7 = INTEGER: sta(1)
.1.3.6.1.4.1.63.501.3.2.2.1.2.0.144.150.161.117.120 = INTEGER: sta(1)
.1.3.6.1.4.1.63.501.3.2.2.1.3.0.10.149.243.239.177 = STRING: [ 1 2 5.5 11 18 24 36 48 54 ]
.1.3.6.1.4.1.63.501.3.2.2.1.3.0.13.147.236.91.186 = STRING: [ 1 2 5.5 11 18 24 36 48 54 ]
.1.3.6.1.4.1.63.501.3.2.2.1.3.0.17.36.195.91.236 = STRING: [ 1 2 5.5 11 18 24 36 48 54 ]
.1.3.6.1.4.1.63.501.3.2.2.1.3.0.20.81.124.109.7 = STRING: [ 1 2 5.5 11 18 24 36 48 54 ]
.1.3.6.1.4.1.63.501.3.2.2.1.3.0.144.150.161.117.120 = STRING: [ 1 2 5.5 11 ]
.1.3.6.1.4.1.63.501.3.2.2.1.4.0.10.149.243.239.177 = INTEGER: 1408423
.1.3.6.1.4.1.63.501.3.2.2.1.4.0.13.147.236.91.186 = INTEGER: 1408186
.1.3.6.1.4.1.63.501.3.2.2.1.4.0.17.36.195.91.236 = INTEGER: 1408179
.1.3.6.1.4.1.63.501.3.2.2.1.4.0.20.81.124.109.7 = INTEGER: 1408176
.1.3.6.1.4.1.63.501.3.2.2.1.4.0.144.150.161.117.120 = INTEGER: 1398982
.1.3.6.1.4.1.63.501.3.2.2.1.5.0.10.149.243.239.177 = INTEGER: 0
.1.3.6.1.4.1.63.501.3.2.2.1.5.0.13.147.236.91.186 = INTEGER: 0
.1.3.6.1.4.1.63.501.3.2.2.1.5.0.17.36.195.91.236 = INTEGER: 0
.1.3.6.1.4.1.63.501.3.2.2.1.5.0.20.81.124.109.7 = INTEGER: 0
.1.3.6.1.4.1.63.501.3.2.2.1.5.0.144.150.161.117.120 = INTEGER: -1
.1.3.6.1.4.1.63.501.3.2.2.1.6.0.10.149.243.239.177 = INTEGER: -60
.1.3.6.1.4.1.63.501.3.2.2.1.6.0.13.147.236.91.186 = INTEGER: -69
.1.3.6.1.4.1.63.501.3.2.2.1.6.0.17.36.195.91.236 = INTEGER: -43
.1.3.6.1.4.1.63.501.3.2.2.1.6.0.20.81.124.109.7 = INTEGER: -75
.1.3.6.1.4.1.63.501.3.2.2.1.6.0.144.150.161.117.120 = INTEGER: -52
.1.3.6.1.4.1.63.501.3.2.2.1.7.0.10.149.243.239.177 = INTEGER: -92
.1.3.6.1.4.1.63.501.3.2.2.1.7.0.13.147.236.91.186 = INTEGER: -92
.1.3.6.1.4.1.63.501.3.2.2.1.7.0.17.36.195.91.236 = INTEGER: -96
.1.3.6.1.4.1.63.501.3.2.2.1.7.0.20.81.124.109.7 = INTEGER: -97
.1.3.6.1.4.1.63.501.3.2.2.1.7.0.144.150.161.117.120 = INTEGER: -1
.1.3.6.1.4.1.63.501.3.2.2.1.8.0.10.149.243.239.177 = INTEGER: 54
.1.3.6.1.4.1.63.501.3.2.2.1.8.0.13.147.236.91.186 = INTEGER: 24
.1.3.6.1.4.1.63.501.3.2.2.1.8.0.17.36.195.91.236 = INTEGER: 54
.1.3.6.1.4.1.63.501.3.2.2.1.8.0.20.81.124.109.7 = INTEGER: 54
.1.3.6.1.4.1.63.501.3.2.2.1.8.0.144.150.161.117.120 = INTEGER: -1
.1.3.6.1.4.1.63.501.3.2.2.1.9.0.10.149.243.239.177 = INTEGER: 168713
.1.3.6.1.4.1.63.501.3.2.2.1.9.0.13.147.236.91.186 = INTEGER: 1988182
.1.3.6.1.4.1.63.501.3.2.2.1.9.0.17.36.195.91.236 = INTEGER: 815564
.1.3.6.1.4.1.63.501.3.2.2.1.9.0.20.81.124.109.7 = INTEGER: 258035
.1.3.6.1.4.1.63.501.3.2.2.1.9.0.144.150.161.117.120 = INTEGER: -1
.1.3.6.1.4.1.63.501.3.2.2.1.10.0.10.149.243.239.177 = INTEGER: 348704
.1.3.6.1.4.1.63.501.3.2.2.1.10.0.13.147.236.91.186 = INTEGER: 1856243
.1.3.6.1.4.1.63.501.3.2.2.1.10.0.17.36.195.91.236 = INTEGER: 621486
.1.3.6.1.4.1.63.501.3.2.2.1.10.0.20.81.124.109.7 = INTEGER: 118007
.1.3.6.1.4.1.63.501.3.2.2.1.10.0.144.150.161.117.120 = INTEGER: -1
.1.3.6.1.4.1.63.501.3.2.2.1.11.0.10.149.243.239.177 = INTEGER: 0
.1.3.6.1.4.1.63.501.3.2.2.1.11.0.13.147.236.91.186 = INTEGER: 0
.1.3.6.1.4.1.63.501.3.2.2.1.11.0.17.36.195.91.236 = INTEGER: 0
.1.3.6.1.4.1.63.501.3.2.2.1.11.0.20.81.124.109.7 = INTEGER: 0
.1.3.6.1.4.1.63.501.3.2.2.1.11.0.144.150.161.117.120 = INTEGER: -1
.1.3.6.1.4.1.63.501.3.2.2.1.12.0.10.149.243.239.177 = INTEGER: 1
.1.3.6.1.4.1.63.501.3.2.2.1.12.0.13.147.236.91.186 = INTEGER: 16
.1.3.6.1.4.1.63.501.3.2.2.1.12.0.17.36.195.91.236 = INTEGER: 45
.1.3.6.1.4.1.63.501.3.2.2.1.12.0.20.81.124.109.7 = INTEGER: 12
.1.3.6.1.4.1.63.501.3.2.2.1.12.0.144.150.161.117.120 = INTEGER: -1
Which results in this verbose query on the device in cacti:
+ Running data query [10].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/airport.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.63.501.3.2.2.1'
+ Inserting index data [value='0.10.149.243.239.177']
+ Inserting index data [value='0.13.147.236.91.186']
+ Inserting index data [value='0.17.36.195.91.236']
+ Inserting index data [value='0.20.81.124.109.7']
+ Inserting index data [value='0.144.150.161.117.120']
+ Inserting index data [value='0.10.149.243.239.177']
+ Inserting index data [value='0.13.147.236.91.186']
+ Inserting index data [value='0.17.36.195.91.236']
+ Inserting index data [value='0.20.81.124.109.7']
+ Inserting index data [value='0.144.150.161.117.120']
+ Inserting index data [value='0.10.149.243.239.177']
+ Inserting index data [value='0.13.147.236.91.186']
+ Inserting index data [value='0.17.36.195.91.236']
+ Inserting index data [value='0.20.81.124.109.7']
+ Inserting index data [value='0.144.150.161.117.120']
+ Inserting index data [value='0.10.149.243.239.177']
+ Inserting index data [value='0.13.147.236.91.186']
+ Inserting index data [value='0.17.36.195.91.236']
+ Inserting index data [value='0.20.81.124.109.7']
+ Inserting index data [value='0.144.150.161.117.120']
+ Inserting index data [value='0.10.149.243.239.177']
+ Inserting index data [value='0.13.147.236.91.186']
+ Inserting index data [value='0.17.36.195.91.236']
+ Inserting index data [value='0.20.81.124.109.7']
+ Inserting index data [value='0.144.150.161.117.120']
+ Inserting index data [value='0.10.149.243.239.177']
+ Inserting index data [value='0.13.147.236.91.186']
+ Inserting index data [value='0.17.36.195.91.236']
+ Inserting index data [value='0.20.81.124.109.7']
+ Inserting index data [value='0.144.150.161.117.120']
+ Inserting index data [value='0.10.149.243.239.177']
+ Inserting index data [value='0.13.147.236.91.186']
+ Inserting index data [value='0.17.36.195.91.236']
+ Inserting index data [value='0.20.81.124.109.7']
+ Inserting index data [value='0.144.150.161.117.120']
+ Inserting index data [value='0.10.149.243.239.177']
+ Inserting index data [value='0.13.147.236.91.186']
+ Inserting index data [value='0.17.36.195.91.236']
+ Inserting index data [value='0.20.81.124.109.7']
+ Inserting index data [value='0.144.150.161.117.120']
+ Inserting index data [value='0.10.149.243.239.177']
+ Inserting index data [value='0.13.147.236.91.186']
+ Inserting index data [value='0.17.36.195.91.236']
+ Inserting index data [value='0.20.81.124.109.7']
+ Inserting index data [value='0.144.150.161.117.120']
+ Inserting index data [value='0.10.149.243.239.177']
+ Inserting index data [value='0.13.147.236.91.186']
+ Inserting index data [value='0.17.36.195.91.236']
+ Inserting index data [value='0.20.81.124.109.7']
+ Inserting index data [value='0.144.150.161.117.120']
+ Inserting index data [value='0.10.149.243.239.177']
+ Inserting index data [value='0.13.147.236.91.186']
+ Inserting index data [value='0.17.36.195.91.236']
+ Inserting index data [value='0.20.81.124.109.7']
+ Inserting index data [value='0.144.150.161.117.120']
+ Inserting index data [value='0.10.149.243.239.177']
+ Inserting index data [value='0.13.147.236.91.186']
+ Inserting index data [value='0.17.36.195.91.236']
+ Inserting index data [value='0.20.81.124.109.7']
+ Inserting index data [value='0.144.150.161.117.120']
+ Located input field 'wirelessPhysAddress' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.63.501.3.2.2.1.1'
+ Found item [wirelessPhysAddress='00:0A:95:F3:EF:B1'] index: 0.10.149.243.239.177 [from value]
+ Found item [wirelessPhysAddress='00:0D:93:EC:5B:BA'] index: 0.13.147.236.91.186 [from value]
+ Found item [wirelessPhysAddress='00:11:24:C3:5B:EC'] index: 0.17.36.195.91.236 [from value]
+ Found item [wirelessPhysAddress='00:14:51:7C:6D:07'] index: 0.20.81.124.109.7 [from value]
+ Found item [wirelessPhysAddress='00:90:96:A1:75:78'] index: 0.144.150.161.117.120 [from value]
+ Located input field 'wirelessType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.63.501.3.2.2.1.2'
+ Found item [wirelessType='1'] index: 0.10.149.243.239.177 [from value]
+ Found item [wirelessType='1'] index: 0.13.147.236.91.186 [from value]
+ Found item [wirelessType='1'] index: 0.17.36.195.91.236 [from value]
+ Found item [wirelessType='1'] index: 0.20.81.124.109.7 [from value]
+ Found item [wirelessType='1'] index: 0.144.150.161.117.120 [from value]
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/airport.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/airport.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/airport.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/airport.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/airport.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/airport.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/airport.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/airport.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/airport.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/airport.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/airport.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/airport.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/airport.xml'
Thanks,
Calvin
Airport Express Data Queries and Graphs
Moderators: Developers, Moderators
Airport Express Data Queries and Graphs
- Attachments
-
- airport.xml
- (2.25 KiB) Downloaded 243 times
Who is online
Users browsing this forum: No registered users and 5 guests