Script Query XML
If you need to write Script query XML, here is the syntax:
<query> <name>Get Unix Mounted Partitions</name> <description>Queries a list of mounted partitions on a unix-based host with the 'df' command.</description> <script_path>perl |path_cacti|/scripts/query_unix_partitions.pl </script_path> <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>dskDevice:dskMount</index_order> <index_order_type>alphabetic</index_order_type> <index_title_format>|chosen_order_field|</index_title_format> <fields> <dskDevice> <name>Device Name</name> <direction>input</direction> <query_name>device</query_name> </dskDevice> </fields> </query>
And here is the detail...