Spelling fixes suggested by lintian

This commit is contained in:
Jan Wagner 2016-11-30 17:38:36 +01:00
parent bc4842ab7d
commit dbb92c347e
14 changed files with 35 additions and 35 deletions

View file

@ -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);
}
}

View file

@ -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")) {

View file

@ -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."));

View file

@ -283,7 +283,7 @@ get_offline_text (int status)
return offline_status_text[i].text;
}
}
return "UNKNOW";
return "UNKNOWN";
}

View file

@ -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) {

View file

@ -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));

View file

@ -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));

View file

@ -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);
}

View file

@ -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");

View file

@ -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);

View file

@ -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);

View file

@ -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

View file

@ -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

View file

@ -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