From b7ba1178da7cd12ab983bd3b8047368c5a119851 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Wed, 30 Nov 2016 17:38:36 +0100 Subject: Spelling fixes suggested by lintian --- plugins-root/check_icmp.c | 2 +- plugins/check_fping.c | 2 +- plugins/check_http.c | 2 +- plugins/check_ide_smart.c | 2 +- plugins/check_ldap.c | 2 +- plugins/check_ntp.c | 4 ++-- plugins/check_ntp_peer.c | 2 +- plugins/check_pgsql.c | 2 +- plugins/check_radius.c | 2 +- plugins/check_real.c | 2 +- plugins/check_smtp.c | 2 +- po/de.po | 22 +++++++++++----------- po/fr.po | 12 ++++++------ po/monitoring-plugins.pot | 12 ++++++------ 14 files changed, 35 insertions(+), 35 deletions(-) diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index 9ed12ba1..b722f80a 100644 --- a/plugins-root/check_icmp.c +++ b/plugins-root/check_icmp.c @@ -608,7 +608,7 @@ main(int argc, char **argv) if(max_completion_time > (u_int)timeout * 1000000) { printf("max_completion_time: %llu timeout: %u\n", max_completion_time, timeout); - printf("Timout must be at lest %llu\n", + printf("Timeout must be at lest %llu\n", max_completion_time / 1000000 + 1); } } diff --git a/plugins/check_fping.c b/plugins/check_fping.c index da1ce1a6..521d0fef 100644 --- a/plugins/check_fping.c +++ b/plugins/check_fping.c @@ -184,7 +184,7 @@ textscan (char *buf) int status = STATE_UNKNOWN; if (strstr (buf, "not found")) { - die (STATE_CRITICAL, _("FPING UNKNOW - %s not found\n"), server_name); + die (STATE_CRITICAL, _("FPING UNKNOWN - %s not found\n"), server_name); } else if (strstr (buf, "is unreachable") || strstr (buf, "Unreachable")) { diff --git a/plugins/check_http.c b/plugins/check_http.c index e5ef7cc4..86a36c20 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c @@ -1629,7 +1629,7 @@ print_help (void) printf ("%s\n", _("Notes:")); printf (" %s\n", _("This plugin will attempt to open an HTTP connection with the host.")); printf (" %s\n", _("Successful connects return STATE_OK, refusals and timeouts return STATE_CRITICAL")); - printf (" %s\n", _("other errors return STATE_UNKNOWN. Successful connects, but incorrect reponse")); + printf (" %s\n", _("other errors return STATE_UNKNOWN. Successful connects, but incorrect response")); printf (" %s\n", _("messages from the host result in STATE_WARNING return values. If you are")); printf (" %s\n", _("checking a virtual server that uses 'host headers' you must supply the FQDN")); 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 46621318..0160d98b 100644 --- a/plugins/check_ide_smart.c +++ b/plugins/check_ide_smart.c @@ -283,7 +283,7 @@ get_offline_text (int status) return offline_status_text[i].text; } } - return "UNKNOW"; + return "UNKNOWN"; } diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c index 66be4b46..bc7bd44c 100644 --- a/plugins/check_ldap.c +++ b/plugins/check_ldap.c @@ -237,7 +237,7 @@ main (int argc, char *argv[]) if(entries_thresholds != NULL) { if (verbose) { printf ("entries found: %d\n", num_entries); - print_thresholds("entry threasholds", entries_thresholds); + print_thresholds("entry thresholds", entries_thresholds); } status_entries = get_status(num_entries, entries_thresholds); if (status_entries == STATE_CRITICAL) { diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c index 5ac6c65b..914b40ce 100644 --- a/plugins/check_ntp.c +++ b/plugins/check_ntp.c @@ -548,7 +548,7 @@ double jitter_request(const char *host, int *status){ DBG(print_ntp_control_message(&req)); /* Attempt to read the largest size packet possible */ req.count=htons(MAX_CM_SIZE); - DBG(printf("recieving READSTAT response")) + DBG(printf("receiving READSTAT response")) read(conn, &req, SIZEOF_NTPCM(req)); DBG(print_ntp_control_message(&req)); /* Each peer identifier is 4 bytes in the data section, which @@ -608,7 +608,7 @@ double jitter_request(const char *host, int *status){ DBG(print_ntp_control_message(&req)); req.count = htons(MAX_CM_SIZE); - DBG(printf("recieving READVAR response...\n")); + DBG(printf("receiving READVAR response...\n")); read(conn, &req, SIZEOF_NTPCM(req)); DBG(print_ntp_control_message(&req)); diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c index c656b0f5..6842842f 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 do { /* Attempt to read the largest size packet possible */ req.count=htons(MAX_CM_SIZE); - DBG(printf("recieving READSTAT response")) + DBG(printf("receiving READSTAT response")) if(read(conn, &req, SIZEOF_NTPCM(req)) == -1) die(STATE_CRITICAL, "NTP CRITICAL: No response from NTP server\n"); DBG(print_ntp_control_message(&req)); diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c index 2eb699e8..5cd47093 100644 --- a/plugins/check_pgsql.c +++ b/plugins/check_pgsql.c @@ -565,7 +565,7 @@ print_help (void) printf (" %s\n", _("Typically, the monitoring user (unless the --logname option is used) should be")); printf (" %s\n", _("able to connect to the database without a password. The plugin can also send")); - printf (" %s\n", _("a password, but no effort is made to obsure or encrypt the password.")); + printf (" %s\n", _("a password, but no effort is made to obscure or encrypt the password.")); printf (UT_SUPPORT); } diff --git a/plugins/check_radius.c b/plugins/check_radius.c index fe84b7ce..be1001b4 100644 --- a/plugins/check_radius.c +++ b/plugins/check_radius.c @@ -360,7 +360,7 @@ print_help (void) printf (" %s\n", "-u, --username=STRING"); printf (" %s\n", _("The user to authenticate")); printf (" %s\n", "-p, --password=STRING"); - printf (" %s\n", _("Password for autentication (SECURITY RISK)")); + printf (" %s\n", _("Password for authentication (SECURITY RISK)")); printf (" %s\n", "-n, --nas-id=STRING"); printf (" %s\n", _("NAS identifier")); printf (" %s\n", "-N, --nas-ip-address=STRING"); diff --git a/plugins/check_real.c b/plugins/check_real.c index 6491e6e9..0f1a1ba7 100644 --- a/plugins/check_real.c +++ b/plugins/check_real.c @@ -438,7 +438,7 @@ print_help (void) printf ("%s\n", _("This plugin will attempt to open an RTSP connection with the host.")); printf ("%s\n", _("Successul connects return STATE_OK, refusals and timeouts return")); printf ("%s\n", _("STATE_CRITICAL, other errors return STATE_UNKNOWN. Successful connects,")); - printf ("%s\n", _("but incorrect reponse messages from the host result in STATE_WARNING return")); + printf ("%s\n", _("but incorrect response messages from the host result in STATE_WARNING return")); printf ("%s\n", _("values.")); printf (UT_SUPPORT); diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index 6e0e22ed..0fcf4c68 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c @@ -835,7 +835,7 @@ print_help (void) printf("\n"); printf ("%s\n", _("Successul connects return STATE_OK, refusals and timeouts return")); printf ("%s\n", _("STATE_CRITICAL, other errors return STATE_UNKNOWN. Successful")); - printf ("%s\n", _("connects, but incorrect reponse messages from the host result in")); + printf ("%s\n", _("connects, but incorrect response messages from the host result in")); printf ("%s\n", _("STATE_WARNING return values.")); printf (UT_SUPPORT); diff --git a/po/de.po b/po/de.po index 51551aef..72694e27 100644 --- a/po/de.po +++ b/po/de.po @@ -704,7 +704,7 @@ msgstr "DNS CRITICAL - %s\n" #: plugins/check_dns.c:254 #, fuzzy, c-format msgid "DNS UNKNOWN - %s\n" -msgstr "DNS UNKNOW - %s\n" +msgstr "DNS UNKNOWN - %s\n" #: plugins/check_dns.c:267 msgid "Note: nslookup is deprecated and may be removed from future releases." @@ -852,7 +852,7 @@ msgstr "Konnte stderr nicht #: plugins/check_fping.c:157 #, fuzzy msgid "FPING UNKNOWN - IP address not found\n" -msgstr "FPING UNKNOW - %s nicht gefunden\n" +msgstr "FPING UNKNOWN - %s nicht gefunden\n" #: plugins/check_fping.c:160 msgid "FPING UNKNOWN - invalid commandline argument\n" @@ -861,12 +861,12 @@ msgstr "" #: plugins/check_fping.c:163 #, fuzzy msgid "FPING UNKNOWN - failed system call\n" -msgstr "FPING UNKNOW - %s nicht gefunden\n" +msgstr "FPING UNKNOWN - %s nicht gefunden\n" #: plugins/check_fping.c:187 #, c-format -msgid "FPING UNKNOW - %s not found\n" -msgstr "FPING UNKNOW - %s nicht gefunden\n" +msgid "FPING UNKNOWN - %s not found\n" +msgstr "FPING UNKNOWN - %s nicht gefunden\n" #: plugins/check_fping.c:191 #, c-format @@ -876,7 +876,7 @@ msgstr "FPING CRITICAL - %s ist nicht erreichbar\n" #: plugins/check_fping.c:196 #, fuzzy, c-format msgid "FPING UNKNOWN - %s parameter error\n" -msgstr "FPING UNKNOW - %s nicht gefunden\n" +msgstr "FPING UNKNOWN - %s nicht gefunden\n" #: plugins/check_fping.c:200 plugins/check_fping.c:240 #, c-format @@ -1577,7 +1577,7 @@ msgstr "" #: plugins/check_http.c:1545 msgid "" "other errors return STATE_UNKNOWN. Successful connects, but incorrect " -"reponse" +"response" msgstr "" #: plugins/check_http.c:1546 @@ -3636,7 +3636,7 @@ msgid "" msgstr "" #: plugins/check_pgsql.c:568 -msgid "a password, but no effort is made to obsure or encrypt the password." +msgid "a password, but no effort is made to obscure or encrypt the password." msgstr "" #: plugins/check_pgsql.c:601 @@ -4169,7 +4169,7 @@ msgid "The user to authenticate" msgstr "" #: plugins/check_radius.c:352 -msgid "Password for autentication (SECURITY RISK)" +msgid "Password for authentication (SECURITY RISK)" msgstr "" #: plugins/check_radius.c:354 @@ -4309,7 +4309,7 @@ msgstr "" #: plugins/check_real.c:440 msgid "" -"but incorrect reponse messages from the host result in STATE_WARNING return" +"but incorrect response messages from the host result in STATE_WARNING return" msgstr "" #: plugins/check_real.c:441 @@ -4530,7 +4530,7 @@ msgid "STATE_CRITICAL, other errors return STATE_UNKNOWN. Successful" msgstr "" #: plugins/check_smtp.c:832 -msgid "connects, but incorrect reponse messages from the host result in" +msgid "connects, but incorrect response messages from the host result in" msgstr "" #: plugins/check_smtp.c:833 diff --git a/po/fr.po b/po/fr.po index d88dfe2e..e44cf88c 100644 --- a/po/fr.po +++ b/po/fr.po @@ -902,7 +902,7 @@ msgstr "PING INCONNU - Hôte non trouvé (%s)\n" #: plugins/check_fping.c:187 #, c-format -msgid "FPING UNKNOW - %s not found\n" +msgid "FPING UNKNOWN - %s not found\n" msgstr "PING INCONNU - Hôte non trouvé (%s)\n" #: plugins/check_fping.c:191 @@ -1623,7 +1623,7 @@ msgstr "" #: plugins/check_http.c:1545 msgid "" "other errors return STATE_UNKNOWN. Successful connects, but incorrect " -"reponse" +"response" msgstr "" #: plugins/check_http.c:1546 @@ -3700,7 +3700,7 @@ msgid "" msgstr "" #: plugins/check_pgsql.c:568 -msgid "a password, but no effort is made to obsure or encrypt the password." +msgid "a password, but no effort is made to obscure or encrypt the password." msgstr "" #: plugins/check_pgsql.c:601 @@ -4246,7 +4246,7 @@ msgid "The user to authenticate" msgstr "" #: plugins/check_radius.c:352 -msgid "Password for autentication (SECURITY RISK)" +msgid "Password for authentication (SECURITY RISK)" msgstr "" #: plugins/check_radius.c:354 @@ -4382,7 +4382,7 @@ msgstr "" #: plugins/check_real.c:440 msgid "" -"but incorrect reponse messages from the host result in STATE_WARNING return" +"but incorrect response messages from the host result in STATE_WARNING return" msgstr "" #: plugins/check_real.c:441 @@ -4600,7 +4600,7 @@ msgid "STATE_CRITICAL, other errors return STATE_UNKNOWN. Successful" msgstr "" #: plugins/check_smtp.c:832 -msgid "connects, but incorrect reponse messages from the host result in" +msgid "connects, but incorrect response messages from the host result in" msgstr "" #: plugins/check_smtp.c:833 diff --git a/po/monitoring-plugins.pot b/po/monitoring-plugins.pot index 8f220e98..5bc23637 100644 --- a/po/monitoring-plugins.pot +++ b/po/monitoring-plugins.pot @@ -841,7 +841,7 @@ msgstr "" #: plugins/check_fping.c:187 #, c-format -msgid "FPING UNKNOW - %s not found\n" +msgid "FPING UNKNOWN - %s not found\n" msgstr "" #: plugins/check_fping.c:191 @@ -1528,7 +1528,7 @@ msgstr "" #: plugins/check_http.c:1545 msgid "" "other errors return STATE_UNKNOWN. Successful connects, but incorrect " -"reponse" +"response" msgstr "" #: plugins/check_http.c:1546 @@ -3546,7 +3546,7 @@ msgid "" msgstr "" #: plugins/check_pgsql.c:568 -msgid "a password, but no effort is made to obsure or encrypt the password." +msgid "a password, but no effort is made to obscure or encrypt the password." msgstr "" #: plugins/check_pgsql.c:601 @@ -4070,7 +4070,7 @@ msgid "The user to authenticate" msgstr "" #: plugins/check_radius.c:352 -msgid "Password for autentication (SECURITY RISK)" +msgid "Password for authentication (SECURITY RISK)" msgstr "" #: plugins/check_radius.c:354 @@ -4203,7 +4203,7 @@ msgstr "" #: plugins/check_real.c:440 msgid "" -"but incorrect reponse messages from the host result in STATE_WARNING return" +"but incorrect response messages from the host result in STATE_WARNING return" msgstr "" #: plugins/check_real.c:441 @@ -4417,7 +4417,7 @@ msgid "STATE_CRITICAL, other errors return STATE_UNKNOWN. Successful" msgstr "" #: plugins/check_smtp.c:832 -msgid "connects, but incorrect reponse messages from the host result in" +msgid "connects, but incorrect response messages from the host result in" msgstr "" #: plugins/check_smtp.c:833 -- cgit v1.2.3-74-g34f1