diff options
author | Vincent Danjean <vdanjean@debian.org> | 2018-12-08 21:51:05 +0100 |
---|---|---|
committer | Vincent Danjean <Vincent.Danjean@ens-lyon.org> | 2018-12-08 22:44:42 +0100 |
commit | 270e7cba3830328424e3f2b6b9a6989b1ea5f89b (patch) | |
tree | 99c01ee12cbad2ec381551156190a5e0135bbe44 /lib/utils_disk.c | |
parent | ac6f101f057caa3083c092537e6dff97328cfd44 (diff) | |
download | monitoring-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.c')
-rw-r--r-- | lib/utils_disk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/utils_disk.c b/lib/utils_disk.c index efe35fc5..c7c9126e 100644 --- a/lib/utils_disk.c +++ b/lib/utils_disk.c | |||
@@ -69,6 +69,8 @@ np_add_parameter(struct parameter_list **list, const char *name) | |||
69 | new_path->dtotal_units = 0; | 69 | new_path->dtotal_units = 0; |
70 | new_path->inodes_total = 0; | 70 | new_path->inodes_total = 0; |
71 | new_path->inodes_free = 0; | 71 | new_path->inodes_free = 0; |
72 | new_path->inodes_free_to_root = 0; | ||
73 | new_path->inodes_used = 0; | ||
72 | new_path->dused_inodes_percent = 0; | 74 | new_path->dused_inodes_percent = 0; |
73 | new_path->dfree_inodes_percent = 0; | 75 | new_path->dfree_inodes_percent = 0; |
74 | 76 | ||