summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2016-11-30 16:38:36 (GMT)
committerJan Wagner <waja@cyconet.org>2016-12-01 11:49:40 (GMT)
commitdbb92c347e8a19b3fbe33a9160776b7a16ea588b (patch)
tree7cd127b2fb28044e7a6a638061841fb3931583a4 /plugins
parentbc4842ab7d0a378a98ee6d37e42bb928c51f9e41 (diff)
downloadmonitoring-plugins-dbb92c347e8a19b3fbe33a9160776b7a16ea588b.tar.gz
Spelling fixes suggested by lintianrefs/pull/1452/head
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_fping.c2
-rw-r--r--plugins/check_http.c2
-rw-r--r--plugins/check_ide_smart.c2
-rw-r--r--plugins/check_ldap.c2
-rw-r--r--plugins/check_ntp.c4
-rw-r--r--plugins/check_ntp_peer.c2
-rw-r--r--plugins/check_pgsql.c2
-rw-r--r--plugins/check_radius.c2
-rw-r--r--plugins/check_real.c2
-rw-r--r--plugins/check_smtp.c2
10 files changed, 11 insertions, 11 deletions
diff --git a/plugins/check_fping.c b/plugins/check_fping.c
index da1ce1a..521d0fe 100644
--- a/plugins/check_fping.c
+++ b/plugins/check_fping.c
@@ -184,7 +184,7 @@ textscan (char *buf)
184 int status = STATE_UNKNOWN; 184 int status = STATE_UNKNOWN;
185 185
186 if (strstr (buf, "not found")) { 186 if (strstr (buf, "not found")) {
187 die (STATE_CRITICAL, _("FPING UNKNOW - %s not found\n"), server_name); 187 die (STATE_CRITICAL, _("FPING UNKNOWN - %s not found\n"), server_name);
188 188
189 } 189 }
190 else if (strstr (buf, "is unreachable") || strstr (buf, "Unreachable")) { 190 else if (strstr (buf, "is unreachable") || strstr (buf, "Unreachable")) {
diff --git a/plugins/check_http.c b/plugins/check_http.c
index e5ef7cc..86a36c2 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -1629,7 +1629,7 @@ print_help (void)
1629 printf ("%s\n", _("Notes:")); 1629 printf ("%s\n", _("Notes:"));
1630 printf (" %s\n", _("This plugin will attempt to open an HTTP connection with the host.")); 1630 printf (" %s\n", _("This plugin will attempt to open an HTTP connection with the host."));
1631 printf (" %s\n", _("Successful connects return STATE_OK, refusals and timeouts return STATE_CRITICAL")); 1631 printf (" %s\n", _("Successful connects return STATE_OK, refusals and timeouts return STATE_CRITICAL"));
1632 printf (" %s\n", _("other errors return STATE_UNKNOWN. Successful connects, but incorrect reponse")); 1632 printf (" %s\n", _("other errors return STATE_UNKNOWN. Successful connects, but incorrect response"));
1633 printf (" %s\n", _("messages from the host result in STATE_WARNING return values. If you are")); 1633 printf (" %s\n", _("messages from the host result in STATE_WARNING return values. If you are"));
1634 printf (" %s\n", _("checking a virtual server that uses 'host headers' you must supply the FQDN")); 1634 printf (" %s\n", _("checking a virtual server that uses 'host headers' you must supply the FQDN"));
1635 printf (" %s\n", _("(fully qualified domain name) as the [host_name] argument.")); 1635 printf (" %s\n", _("(fully qualified domain name) as the [host_name] argument."));
diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c
index 4662131..0160d98 100644
--- a/plugins/check_ide_smart.c
+++ b/plugins/check_ide_smart.c
@@ -283,7 +283,7 @@ get_offline_text (int status)
283 return offline_status_text[i].text; 283 return offline_status_text[i].text;
284 } 284 }
285 } 285 }
286 return "UNKNOW"; 286 return "UNKNOWN";
287} 287}
288 288
289 289
diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c
index 66be4b4..bc7bd44 100644
--- a/plugins/check_ldap.c
+++ b/plugins/check_ldap.c
@@ -237,7 +237,7 @@ main (int argc, char *argv[])
237 if(entries_thresholds != NULL) { 237 if(entries_thresholds != NULL) {
238 if (verbose) { 238 if (verbose) {
239 printf ("entries found: %d\n", num_entries); 239 printf ("entries found: %d\n", num_entries);
240 print_thresholds("entry threasholds", entries_thresholds); 240 print_thresholds("entry thresholds", entries_thresholds);
241 } 241 }
242 status_entries = get_status(num_entries, entries_thresholds); 242 status_entries = get_status(num_entries, entries_thresholds);
243 if (status_entries == STATE_CRITICAL) { 243 if (status_entries == STATE_CRITICAL) {
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c
index 5ac6c65..914b40c 100644
--- a/plugins/check_ntp.c
+++ b/plugins/check_ntp.c
@@ -548,7 +548,7 @@ double jitter_request(const char *host, int *status){
548 DBG(print_ntp_control_message(&req)); 548 DBG(print_ntp_control_message(&req));
549 /* Attempt to read the largest size packet possible */ 549 /* Attempt to read the largest size packet possible */
550 req.count=htons(MAX_CM_SIZE); 550 req.count=htons(MAX_CM_SIZE);
551 DBG(printf("recieving READSTAT response")) 551 DBG(printf("receiving READSTAT response"))
552 read(conn, &req, SIZEOF_NTPCM(req)); 552 read(conn, &req, SIZEOF_NTPCM(req));
553 DBG(print_ntp_control_message(&req)); 553 DBG(print_ntp_control_message(&req));
554 /* Each peer identifier is 4 bytes in the data section, which 554 /* Each peer identifier is 4 bytes in the data section, which
@@ -608,7 +608,7 @@ double jitter_request(const char *host, int *status){
608 DBG(print_ntp_control_message(&req)); 608 DBG(print_ntp_control_message(&req));
609 609
610 req.count = htons(MAX_CM_SIZE); 610 req.count = htons(MAX_CM_SIZE);
611 DBG(printf("recieving READVAR response...\n")); 611 DBG(printf("receiving READVAR response...\n"));
612 read(conn, &req, SIZEOF_NTPCM(req)); 612 read(conn, &req, SIZEOF_NTPCM(req));
613 DBG(print_ntp_control_message(&req)); 613 DBG(print_ntp_control_message(&req));
614 614
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c
index c656b0f..6842842 100644
--- a/plugins/check_ntp_peer.c
+++ b/plugins/check_ntp_peer.c
@@ -245,7 +245,7 @@ int ntp_request(const char *host, double *offset, int *offset_result, double *ji
245 do { 245 do {
246 /* Attempt to read the largest size packet possible */ 246 /* Attempt to read the largest size packet possible */
247 req.count=htons(MAX_CM_SIZE); 247 req.count=htons(MAX_CM_SIZE);
248 DBG(printf("recieving READSTAT response")) 248 DBG(printf("receiving READSTAT response"))
249 if(read(conn, &req, SIZEOF_NTPCM(req)) == -1) 249 if(read(conn, &req, SIZEOF_NTPCM(req)) == -1)
250 die(STATE_CRITICAL, "NTP CRITICAL: No response from NTP server\n"); 250 die(STATE_CRITICAL, "NTP CRITICAL: No response from NTP server\n");
251 DBG(print_ntp_control_message(&req)); 251 DBG(print_ntp_control_message(&req));
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c
index 2eb699e..5cd4709 100644
--- a/plugins/check_pgsql.c
+++ b/plugins/check_pgsql.c
@@ -565,7 +565,7 @@ print_help (void)
565 565
566 printf (" %s\n", _("Typically, the monitoring user (unless the --logname option is used) should be")); 566 printf (" %s\n", _("Typically, the monitoring user (unless the --logname option is used) should be"));
567 printf (" %s\n", _("able to connect to the database without a password. The plugin can also send")); 567 printf (" %s\n", _("able to connect to the database without a password. The plugin can also send"));
568 printf (" %s\n", _("a password, but no effort is made to obsure or encrypt the password.")); 568 printf (" %s\n", _("a password, but no effort is made to obscure or encrypt the password."));
569 569
570 printf (UT_SUPPORT); 570 printf (UT_SUPPORT);
571} 571}
diff --git a/plugins/check_radius.c b/plugins/check_radius.c
index fe84b7c..be1001b 100644
--- a/plugins/check_radius.c
+++ b/plugins/check_radius.c
@@ -360,7 +360,7 @@ print_help (void)
360 printf (" %s\n", "-u, --username=STRING"); 360 printf (" %s\n", "-u, --username=STRING");
361 printf (" %s\n", _("The user to authenticate")); 361 printf (" %s\n", _("The user to authenticate"));
362 printf (" %s\n", "-p, --password=STRING"); 362 printf (" %s\n", "-p, --password=STRING");
363 printf (" %s\n", _("Password for autentication (SECURITY RISK)")); 363 printf (" %s\n", _("Password for authentication (SECURITY RISK)"));
364 printf (" %s\n", "-n, --nas-id=STRING"); 364 printf (" %s\n", "-n, --nas-id=STRING");
365 printf (" %s\n", _("NAS identifier")); 365 printf (" %s\n", _("NAS identifier"));
366 printf (" %s\n", "-N, --nas-ip-address=STRING"); 366 printf (" %s\n", "-N, --nas-ip-address=STRING");
diff --git a/plugins/check_real.c b/plugins/check_real.c
index 6491e6e..0f1a1ba 100644
--- a/plugins/check_real.c
+++ b/plugins/check_real.c
@@ -438,7 +438,7 @@ print_help (void)
438 printf ("%s\n", _("This plugin will attempt to open an RTSP connection with the host.")); 438 printf ("%s\n", _("This plugin will attempt to open an RTSP connection with the host."));
439 printf ("%s\n", _("Successul connects return STATE_OK, refusals and timeouts return")); 439 printf ("%s\n", _("Successul connects return STATE_OK, refusals and timeouts return"));
440 printf ("%s\n", _("STATE_CRITICAL, other errors return STATE_UNKNOWN. Successful connects,")); 440 printf ("%s\n", _("STATE_CRITICAL, other errors return STATE_UNKNOWN. Successful connects,"));
441 printf ("%s\n", _("but incorrect reponse messages from the host result in STATE_WARNING return")); 441 printf ("%s\n", _("but incorrect response messages from the host result in STATE_WARNING return"));
442 printf ("%s\n", _("values.")); 442 printf ("%s\n", _("values."));
443 443
444 printf (UT_SUPPORT); 444 printf (UT_SUPPORT);
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index 6e0e22e..0fcf4c6 100644
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
@@ -835,7 +835,7 @@ print_help (void)
835 printf("\n"); 835 printf("\n");
836 printf ("%s\n", _("Successul connects return STATE_OK, refusals and timeouts return")); 836 printf ("%s\n", _("Successul connects return STATE_OK, refusals and timeouts return"));
837 printf ("%s\n", _("STATE_CRITICAL, other errors return STATE_UNKNOWN. Successful")); 837 printf ("%s\n", _("STATE_CRITICAL, other errors return STATE_UNKNOWN. Successful"));
838 printf ("%s\n", _("connects, but incorrect reponse messages from the host result in")); 838 printf ("%s\n", _("connects, but incorrect response messages from the host result in"));
839 printf ("%s\n", _("STATE_WARNING return values.")); 839 printf ("%s\n", _("STATE_WARNING return values."));
840 840
841 printf (UT_SUPPORT); 841 printf (UT_SUPPORT);