Hi again,
I'm trying to make an XML file that gets the 64 bit interface counters for an AP or SM however I seem to be having some issues.
I have created a Data Query and put my XML file into that, however when I add the Data Query into a host to use on I get the following message
Code:
+ Running data query [12].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/canopy-interface.xml'
+ Error parsing XML file into an array.
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/canopy-interface.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/canopy-interface.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/canopy-interface.xml'
Here is my XML if its something simple such as syntax though I've read it a couple of times and couldnt see anything.
Code:
<interface>
<name>Motorola Canopy Ethernet & Wireless Interfaces</name>
<description>Query a Motorola Canopy APSMBH for network interface traffic</description>
<index_order_type>numeric</index_order_type>
<oid_index>.1.3.6.1.2.1.2.2.1.1</oid_index>
<fields>
<ifIndex>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.2.2.1.1</oid>
</ifIndex>
<ifDescr>
<name>Interface Description</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.2.2.1.2</oid>
</ifDescr>
<ifHCInOctets>
<name>InOctets 64 bit</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.6</oid>
</ifHCInOctets>
<ifHCOutOctets>
<name>OutOctets 64 bit</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.10</oid>
</ifHCOutOctets>
</fields>
</interface>
Any help appreciated