diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-01 19:33:45 +0000 |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-01 19:33:45 +0000 |
commit | 54c21eba62b55503dbe6fda607ccbef4a27a1f14 (patch) | |
tree | fd28942d1170f607e5e9979e0b0cdcef5240c88f /plugins/check_dns.c | |
parent | 5dc0b02ccc2b549d5ee7c8c7249723af9bd1cb74 (diff) | |
download | monitoring-plugins-54c21eba62b55503dbe6fda607ccbef4a27a1f14.tar.gz |
first pass at standardization of messages for the localization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@962 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_dns.c')
-rw-r--r-- | plugins/check_dns.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c index 7b18270f..6c08c277 100644 --- a/plugins/check_dns.c +++ b/plugins/check_dns.c | |||
@@ -207,7 +207,7 @@ main (int argc, char **argv) | |||
207 | printf (_("DNS CRITICAL - %s\n"), | 207 | printf (_("DNS CRITICAL - %s\n"), |
208 | !strcmp (output, "") ? _(" Probably a non-existent host/domain") : output); | 208 | !strcmp (output, "") ? _(" Probably a non-existent host/domain") : output); |
209 | else | 209 | else |
210 | printf (_("DNS problem - %s\n"), | 210 | printf (_("DNS UNKNOW - %s\n"), |
211 | !strcmp (output, "") ? _(" Probably a non-existent host/domain") : output); | 211 | !strcmp (output, "") ? _(" Probably a non-existent host/domain") : output); |
212 | 212 | ||
213 | return result; | 213 | return result; |
@@ -331,7 +331,7 @@ process_arguments (int argc, char **argv) | |||
331 | case 'r': /* reverse server name */ | 331 | case 'r': /* reverse server name */ |
332 | /* TODO: Is this is_host necessary? */ | 332 | /* TODO: Is this is_host necessary? */ |
333 | if (is_host (optarg) == FALSE) { | 333 | if (is_host (optarg) == FALSE) { |
334 | usage2 (_("Invalid host name/address"), optarg); | 334 | usage2 (_("Invalid hostname/address"), optarg); |
335 | } | 335 | } |
336 | if (strlen (optarg) >= ADDRESS_LENGTH) | 336 | if (strlen (optarg) >= ADDRESS_LENGTH) |
337 | die (STATE_UNKNOWN, _("Input buffer overflow\n")); | 337 | die (STATE_UNKNOWN, _("Input buffer overflow\n")); |
@@ -359,7 +359,7 @@ process_arguments (int argc, char **argv) | |||
359 | if (strlen(dns_server)==0 && c<argc) { | 359 | if (strlen(dns_server)==0 && c<argc) { |
360 | /* TODO: See -s option */ | 360 | /* TODO: See -s option */ |
361 | if (is_host(argv[c]) == FALSE) { | 361 | if (is_host(argv[c]) == FALSE) { |
362 | printf (_("Invalid name/address: %s\n\n"), argv[c]); | 362 | printf (_("Invalid hostname/address: %s\n\n"), argv[c]); |
363 | return ERROR; | 363 | return ERROR; |
364 | } | 364 | } |
365 | if (strlen(argv[c]) >= ADDRESS_LENGTH) | 365 | if (strlen(argv[c]) >= ADDRESS_LENGTH) |