Files
cacti/resource/script_queries/unix_disk.xml
T
Ian Berry 28bde48673 add index fields to all data query xml files
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1925 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-08-11 05:32:57 +00:00

48 lines
1.3 KiB
XML

<interface>
<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</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>
<dskMount>
<name>Mount Point</name>
<direction>input</direction>
<query_name>mount</query_name>
</dskMount>
<dskTotal>
<name>Total Blocks</name>
<direction>output</direction>
<query_name>total</query_name>
</dskTotal>
<dskUsed>
<name>Used Blocks</name>
<direction>output</direction>
<query_name>used</query_name>
</dskUsed>
<dskAvailable>
<name>Available Blocks</name>
<direction>output</direction>
<query_name>available</query_name>
</dskAvailable>
<dskPercentUsed>
<name>Percent Used</name>
<direction>output</direction>
<query_name>percent</query_name>
</dskPercentUsed>
</fields>
</interface>