Help,data queries only have 11rows,but index count says 674

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Moderators, Developers

Post Reply
Author
Message
peterbill
Posts: 1
Joined: Fri Apr 26, 2019 2:52 am

Help,data queries only have 11rows,but index count says 674

#1 Post by peterbill » Fri Apr 26, 2019 2:55 am

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>

Post Reply