Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat May 25, 2019 10:30 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Help,data queries only have 11rows,but index count says 674
PostPosted: Fri Apr 26, 2019 2:55 am 
Offline

Joined: Fri Apr 26, 2019 2:52 am
Posts: 1
why my data queries only have 22 items 11rows?
the list below shows that there are 674 enteries be snmpwalk out.



Running data query [15].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/AP_Status.xml'
+ XML file parsed ok.
+ <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.2011.10.2.75.2.1.2.1.3' Index Count: 674
+ Index found at OID: 'iso.3.6.1.4.1.2011.10.2.75.2.1.2.1.3.20.49.50.51.52.53.54.55.56.48.48.48.70.69.50.54.55.50.48.56.48' value: '00:0F:E2:67:20:80'
+ Index found at OID: 'iso.3.6.1.4.1.2011.10.2.75.2.1.2.1.3.20.49.50.51.52.53.54.55.56.48.48.48.70.69.50.54.67.51.54.49.48' value: '00:0F:E2:6C:36:10'
+ Index found at OID: 'iso.3.6.1.4.1.2011.10.2.75.2.1.2.1.3.20.49.50.51.52.53.54.55.56.48.48.48.70.69.50.54.69.54.50.52.48' value: '00:0F:E2:6E:62:40'
+ Index found at OID: 'iso.3.6.1.4.1.2011.10.2.75.2.1.2.1.3.20.49.50.51.52.53.54.55.56.48.48.48.70.69.50.55.49.57.67.68.67' value: '00:0F:E2:AB:C6:10'
+ Index found at OID: 'iso.3.6.1.4.1.2011.10.2.75.2.1.2.1.3.20.49.50.51.52.53.54.55.56.48.48.48.70.69.50.55.50.49.65.51.48' value: '00:0F:E2:72:1A:30'
+ Index found at OID: 'iso.3.6.1.4.1.2011.10.2.75.2.1.2.1.3.20.49.50.51.52.53.54.55.56.48.48.48.70.69.50.55.50.49.66.49.48' value: '00:0F:E2:72:1B:10'
+ Index found at OID: 'iso.3.6.1.4.1.2011.10.2.75.2.1.2.1.3.20.49.50.51.52.53.54.55.56.48.48.48.70.69.50.55.50.51.57.53.56' value: '00:0F:E2:72:39:58'
+ Index found at OID: 'iso.3.6.1.4.1.2011.10.2.75.2.1.2.1.3.20.49.50.51.52.53.54.55.56.48.48.48.70.69.50.55.50.51.57.68.48' value: '00:0F:E2:72:39:D0'
+ Index found at OID: 'iso.3.6.1.4.1.2011.10.2.75.2.1.2.1.3.20.49.50.51.52.53.54.55.56.48.48.48.70.69.50.55.50.51.65.53.67' value: '00:23:89:1B:5B:90'
+ Index found at OID: 'iso.3.6.1.4.1.2011.10.2.75.2.1.2.1.3.20.49.50.51.52.53.54.55.56.48.48.48.70.69.50.55.52.66.56.70.48' value: '00:0F:E2:74:B8:F0'
+ Index found at OID: 'iso.3.6.1.4.1.2011.10.2.75.2.1.2.1.3.20.49.50.51.52.53.54.55.56.48.48.48.70.69.50.55.52.66.57.54.48' value: '00:0F:E2:74:B9:60'
+ Index found at OID: 'iso.3.6.1.4.1.2011.10.2.75.2.1.2.1.3.20.49.50.51.52.53.54.55.56.48.48.48.70.69.50.55.53.66.68.57.48' value: '00:0F:E2:75:BD:90'
+ Index found at OID: 'iso.3.6.1.4.1.2011.10.2.75.2.1.2.1.3.20.49.50.51.52.53.54.55.56.48.48.48.70.69.50.55.53.66.69.51.48' value: '00:0F:E2:75:BE:30'
+ Index found at OID: 'iso.3.6.1.4.1.2011.10.2.75.2.1.2.1.3.20.49.50.51.52.53.54.55.56.48.48.48.70.69.50.55.53.67.52.65.48' value: '00:0F:E2:75:C4:A0'
+ Index found at OID: 'iso.3.6.1.4.1.2011.10.2.75.2.1.2.1.3.20.49.50.51.52.53.54.55.56.48.48.48.70.69.50.55.68.69.68.68.48' value: '00:0F:E2:7D:ED:D0'
.....
.....
.....

+ Located input field 'APMacAddress' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.2011.10.2.75.2.1.2.1.3'
+ Found item [APMacAddress='00:0F:E2:67:20:80'] index: 48 [from value]
+ Found item [APMacAddress='00:0F:E2:6C:36:10'] index: 48 [from value]
+ Found item [APMacAddress='00:0F:E2:6E:62:40'] index: 48 [from value]
+ Found item [APMacAddress='00:0F:E2:AB:C6:10'] index: 67 [from value]
+ Found item [APMacAddress='00:0F:E2:72:1A:30'] index: 48 [from value]
+ Found item [APMacAddress='00:0F:E2:72:1B:10'] index: 48 [from value]
+ Found item [APMacAddress='00:0F:E2:72:39:58'] index: 56 [from value]
+ Found item [APMacAddress='00:0F:E2:72:39:D0'] index: 48 [from value]
+ Found item [APMacAddress='00:23:89:1B:5B:90'] index: 67 [from value]
+ Found item [APMacAddress='00:0F:E2:74:B8:F0'] index: 48 [from value]
+ Found item [APMacAddress='00:0F:E2:74:B9:60'] index: 48 [from value]
+ Found item [APMacAddress='00:0F:E2:75:BD:90'] index: 48 [from value]
+ Found item [APMacAddress='00:0F:E2:75:BE:30'] index: 48 [from value]
+ Found item [APMacAddress='00:0F:E2:75:C4:A0'] index: 48 [from value]
+ Found item [APMacAddress='00:0F:E2:7D:ED:D0'] index: 48 [from value]
+ Found item [APMacAddress='00:0F:E2:7D:EE:00'] index: 48 [from value]
+ Found item [APMacAddress='00:23:89:1A:FC:80'] index: 48 [from value]
+ Found item [APMacAddress='00:23:89:1A:FC:B0'] index: 48 [from value]
.....
.....
....




the xml

<interface>
<name>Get SNMP AP Status</name>
<description>Queries a host for a list of monitorable AP Status</description>
<oid_index>.1.3.6.1.4.1.2011.10.2.75.2.1.2.1.3</oid_index>
<index_order>APMacAddress</index_order>
<index_order_type>alphabetic</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>

<fields>
<APMacAddress>
<name>APMacAddress</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2011.10.2.75.2.1.2.1.3</oid>
</APMacAddress>
<APStationAssocCount>
<name>APStationAssocCount</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2011.10.2.75.2.1.2.1.7</oid>
</APStationAssocCount>


</fields>
</interface>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group