summaryrefslogtreecommitdiffstats
path: root/plugins/check_disk.c
diff options
context:
space:
mode:
authorLorenz <12514511+RincewindsHat@users.noreply.github.com>2022-07-25 09:39:36 (GMT)
committerGitHub <noreply@github.com>2022-07-25 09:39:36 (GMT)
commit4ff0dfa44306c4e8a7dc46fcb1c508f7a191638b (patch)
tree4d4bcd647a832268907afda672c36bbdedecbc8a /plugins/check_disk.c
parentcebb054091e9255b2e2e672b53a8aa4bd39608b4 (diff)
parent3ad5fe9d84138da1451429bfac3b9b4024393d25 (diff)
downloadmonitoring-plugins-4ff0dfa44306c4e8a7dc46fcb1c508f7a191638b.tar.gz
Merge branch 'master' into dev/check_ssh-patches
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r--plugins/check_disk.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 54befca..66c5dd3 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -230,8 +230,10 @@ main (int argc, char **argv)
230 /* Process for every path in list */ 230 /* Process for every path in list */
231 for (path = path_select_list; path; path=path->name_next) { 231 for (path = path_select_list; path; path=path->name_next) {
232 if (verbose >= 3 && path->freespace_percent->warning != NULL && path->freespace_percent->critical != NULL) 232 if (verbose >= 3 && path->freespace_percent->warning != NULL && path->freespace_percent->critical != NULL)
233 printf("Thresholds(pct) for %s warn: %f crit %f\n",path->name, path->freespace_percent->warning->end, 233 printf("Thresholds(pct) for %s warn: %f crit %f\n",
234 path->freespace_percent->critical->end); 234 path->name,
235 path->freespace_percent->warning->end,
236 path->freespace_percent->critical->end);
235 237
236 if (verbose >= 3 && path->group != NULL) 238 if (verbose >= 3 && path->group != NULL)
237 printf("Group of %s: %s\n",path->name,path->group); 239 printf("Group of %s: %s\n",path->name,path->group);
@@ -959,7 +961,7 @@ print_help (void)
959 printf (" %s\n", _("Only check local filesystems against thresholds. Yet call stat on remote filesystems")); 961 printf (" %s\n", _("Only check local filesystems against thresholds. Yet call stat on remote filesystems"));
960 printf (" %s\n", _("to test if they are accessible (e.g. to detect Stale NFS Handles)")); 962 printf (" %s\n", _("to test if they are accessible (e.g. to detect Stale NFS Handles)"));
961 printf (" %s\n", "-M, --mountpoint"); 963 printf (" %s\n", "-M, --mountpoint");
962 printf (" %s\n", _("Display the mountpoint instead of the partition")); 964 printf (" %s\n", _("Display the (block) device instead of the mount point"));
963 printf (" %s\n", "-m, --megabytes"); 965 printf (" %s\n", "-m, --megabytes");
964 printf (" %s\n", _("Same as '--units MB'")); 966 printf (" %s\n", _("Same as '--units MB'"));
965 printf (" %s\n", "-A, --all"); 967 printf (" %s\n", "-A, --all");