summaryrefslogtreecommitdiffstats
path: root/lib/utils_disk.h
diff options
context:
space:
mode:
authorVincent Danjean <vdanjean@debian.org>2018-12-08 21:51:05 +0100
committerVincent Danjean <Vincent.Danjean@ens-lyon.org>2018-12-08 22:44:42 +0100
commit270e7cba3830328424e3f2b6b9a6989b1ea5f89b (patch)
tree99c01ee12cbad2ec381551156190a5e0135bbe44 /lib/utils_disk.h
parentac6f101f057caa3083c092537e6dff97328cfd44 (diff)
downloadmonitoring-plugins-270e7cba3830328424e3f2b6b9a6989b1ea5f89b.tar.gz
[check_disk] add support to display inodes usage in perfdata
This is not enabled by default It can be enabled with the -P (--iperfdata) option
Diffstat (limited to 'lib/utils_disk.h')
-rw-r--r--lib/utils_disk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/utils_disk.h b/lib/utils_disk.h
index 83a37639..999270cd 100644
--- a/lib/utils_disk.h
+++ b/lib/utils_disk.h
@@ -24,7 +24,8 @@ struct parameter_list
24 char *group; 24 char *group;
25 struct mount_entry *best_match; 25 struct mount_entry *best_match;
26 struct parameter_list *name_next; 26 struct parameter_list *name_next;
27 uintmax_t total, available, available_to_root, used, inodes_free, inodes_total; 27 uintmax_t total, available, available_to_root, used,
28 inodes_free, inodes_free_to_root, inodes_used, inodes_total;
28 double dfree_pct, dused_pct; 29 double dfree_pct, dused_pct;
29 double dused_units, dfree_units, dtotal_units; 30 double dused_units, dfree_units, dtotal_units;
30 double dused_inodes_percent, dfree_inodes_percent; 31 double dused_inodes_percent, dfree_inodes_percent;