Is this correct?
I go to Devices, select the desired AIX server and add an Associated Data Source for IO Adapter Statistics (what should I select in the Re-Index Method dropdown?).
If I click "Verbose Query" I get this:
Data Query Debug Information
+ Running data query [30].
+ Found type = '4' [Script Query].
+ Found data query XML file at '/usr/share/cacti/resource/script_queries/nmon_ioadapt.xml'
+ Error parsing XML file into an array.
+ Found data query XML file at '/usr/share/cacti/resource/script_queries/nmon_ioadapt.xml'
+ Found data query XML file at '/usr/share/cacti/resource/script_queries/nmon_ioadapt.xml'
+ Found data query XML file at '/usr/share/cacti/resource/script_queries/nmon_ioadapt.xml'
I get this error with all of the Graph Templates I can choose from (even cumulative CPU statistics, although that one works fine from the New Graphs guide.
My nmon_ioadapt.xml looks like this:
Code: Select all
<interface>
<name>NMON IO Adapter Statistics</name>
<description>Reads out IO Adapter statistics using NMON</description>
<script_path>/usr/bin/perl |path_cacti|/scripts/query_nmon.pl</script_path>
<arg_prepend>|host_hostname| IOADAPT</arg_prepend>
<arg_index>index</arg_index>
<arg_query>query</arg_query>
<arg_get>get</arg_get>
<arg_num_indexes>num_indexes</arg_num_indexes>
<output_delimeter>:</output_delimeter>
<index_order>IOAdaptDevice</index_order>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<fields>
<IOAdaptDevice>
<name>Device Name</name>
<direction>input</direction>
<query_name>device</query_name>
</IOAdaptDevice>
<IOAdaptXfer>
<name>Transfers/s</name>
<direction>output</direction>
<query_name>xfer-tps</query_name>
</IOAdaptXfer>
<IOAdaptWriteKB>
<name>Write KB/s</name>
<direction>output</direction>
<query_name>write-kbps</query_name>
</IOAdaptWriteKB>
<IOAdaptReadKB>
<name>Read KB/s</name>
<direction>output</direction>
<query_name>read-kbps</query_name>
</IOAdaptReadKB>
</fields>
</interface>