summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwaja <waja@users.noreply.github.com>2023-01-17 14:42:54 (GMT)
committerGitHub <noreply@github.com>2023-01-17 14:42:54 (GMT)
commit72147140ed6c9a06db722930e893c90a230e6da9 (patch)
tree92c6468e05cb27a51be01a8b39e1481cf25e1164
parent0899e41f5075d661153eb2c77ace1734a8f66bfa (diff)
downloadmonitoring-plugins-72147140ed6c9a06db722930e893c90a230e6da9.tar.gz
Fixing spelling errors (#1826)
-rw-r--r--plugins/check_apt.c2
-rw-r--r--plugins/check_curl.c2
-rw-r--r--plugins/check_fping.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_apt.c b/plugins/check_apt.c
index 312909b..fa982ae 100644
--- a/plugins/check_apt.c
+++ b/plugins/check_apt.c
@@ -528,7 +528,7 @@ print_help (void)
528 printf (" %s\n", _("of upgrades will be printed, but any non-critical upgrades will not cause")); 528 printf (" %s\n", _("of upgrades will be printed, but any non-critical upgrades will not cause"));
529 printf (" %s\n", _("the plugin to return WARNING status.")); 529 printf (" %s\n", _("the plugin to return WARNING status."));
530 printf (" %s\n", "-w, --packages-warning"); 530 printf (" %s\n", "-w, --packages-warning");
531 printf (" %s\n", _("Minumum number of packages available for upgrade to return WARNING status.")); 531 printf (" %s\n", _("Minimum number of packages available for upgrade to return WARNING status."));
532 printf (" %s\n\n", _("Default is 1 package.")); 532 printf (" %s\n\n", _("Default is 1 package."));
533 533
534 printf ("%s\n\n", _("The following options require root privileges and should be used with care:")); 534 printf ("%s\n\n", _("The following options require root privileges and should be used with care:"));
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index 55de22f..c6593df 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -1680,7 +1680,7 @@ process_arguments (int argc, char **argv)
1680 curl_http_version = CURL_HTTP_VERSION_NONE; 1680 curl_http_version = CURL_HTTP_VERSION_NONE;
1681#endif /* LIBCURL_VERSION_NUM >= MAKE_LIBCURL_VERSION(7, 33, 0) */ 1681#endif /* LIBCURL_VERSION_NUM >= MAKE_LIBCURL_VERSION(7, 33, 0) */
1682 } else { 1682 } else {
1683 fprintf (stderr, "unkown http-version parameter: %s\n", optarg); 1683 fprintf (stderr, "unknown http-version parameter: %s\n", optarg);
1684 exit (STATE_WARNING); 1684 exit (STATE_WARNING);
1685 } 1685 }
1686 break; 1686 break;
diff --git a/plugins/check_fping.c b/plugins/check_fping.c
index be9362a..db43316 100644
--- a/plugins/check_fping.c
+++ b/plugins/check_fping.c
@@ -492,7 +492,7 @@ void print_help (void) {
492 printf (" %s\n", "-c, --critical=THRESHOLD"); 492 printf (" %s\n", "-c, --critical=THRESHOLD");
493 printf (" %s\n", _("critical threshold pair")); 493 printf (" %s\n", _("critical threshold pair"));
494 printf (" %s\n", "-a, --alive"); 494 printf (" %s\n", "-a, --alive");
495 printf (" %s\n", _("Return OK after first successfull reply")); 495 printf (" %s\n", _("Return OK after first successful reply"));
496 printf (" %s\n", "-b, --bytes=INTEGER"); 496 printf (" %s\n", "-b, --bytes=INTEGER");
497 printf (" %s (default: %d)\n", _("size of ICMP packet"),PACKET_SIZE); 497 printf (" %s (default: %d)\n", _("size of ICMP packet"),PACKET_SIZE);
498 printf (" %s\n", "-n, --number=INTEGER"); 498 printf (" %s\n", "-n, --number=INTEGER");