--- /dev/null
+#! /bin/sh
+
+set -e
+
+bin_dir="$(dirname $(realpath $0))"
+
+. "$bin_dir/khatus_x4_lib_common_sensor.sh"
+
+while :
+do
+ case "$1"
+ in '')
+ break
+ ;; -f|--file)
+ case "$2"
+ in '')
+ printf "Option $1 requires and argument\n" >&2
+ exit 1
+ ;; *)
+ file="$2"
+ shift 2
+ esac
+ ;; *)
+ shift 1
+ esac
+done
+
+sensor() {
+ df --output=pcent "$file" | awk '
+ NR == 2 {
+ sub("%$", "", $1)
+ print("disk_usage_percentage", $1)
+ }
+ '
+}
+
+run_as_poller