Files
cacti/resource/script_queries/unix_disk.xml
T
Ian Berry b15f44c15c get rid of the 'method' field for script queries
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@940 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-18 22:16:13 +00:00

44 lines
1.1 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>
<output_delimeter>:</output_delimeter>
<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>