summaryrefslogtreecommitdiffstats
path: root/plugins/check_dig.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2006-06-14 18:48:59 +0000
committerBenoit Mortier <opensides@users.sourceforge.net>2006-06-14 18:48:59 +0000
commit704aa165c131bbcce3f347b3c3f3c04aebf7fbe3 (patch)
treeef7817ccd03e9faae0ff63404b03880966f30f5e /plugins/check_dig.c
parent3987202794f5b34c78aad3b4213c715ed76004eb (diff)
downloadmonitoring-plugins-704aa165c131bbcce3f347b3c3f3c04aebf7fbe3.tar.gz
starting the BIG locale update ;-)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1425 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_dig.c')
-rw-r--r--plugins/check_dig.c37
1 files changed, 8 insertions, 29 deletions
diff --git a/plugins/check_dig.c b/plugins/check_dig.c
index c9fce613..e2a66067 100644
--- a/plugins/check_dig.c
+++ b/plugins/check_dig.c
@@ -302,36 +302,15 @@ print_help (void)
302 302
303 printf (_(UT_HOST_PORT), 'P', myport); 303 printf (_(UT_HOST_PORT), 'P', myport);
304 304
305 printf ("-l, --lookup=STRING"); 305 printf (" %s\n","-l, --lookup=STRING");
306 306 printf (" %s\n",_("machine name to lookup"));
307 printf ("\n"); 307 printf (" %s\n","-T, --record_type=STRING");
308 308 printf (" %s\n",_("record type to lookup (default: A)"));
309 printf (_("machine name to lookup")); 309 printf (" %s\n","-a, --expected_address=STRING");
310 310 printf (" %s\n",_("an address expected to be in the answer section.if not set, uses whatever was in -l"));
311 printf ("\n");
312
313 printf ("-T, --record_type=STRING");
314
315 printf ("\n");
316
317 printf (_("record type to lookup (default: A)"));
318
319 printf ("\n");
320
321 printf ("-a, --expected_address=STRING");
322
323 printf ("\n");
324
325 printf (_("an address expected to be in the answer section.if not set, uses whatever was in -l"));
326
327 printf ("\n");
328
329 printf (_(UT_WARN_CRIT)); 311 printf (_(UT_WARN_CRIT));
330
331 printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); 312 printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
332
333 printf (_(UT_VERBOSE)); 313 printf (_(UT_VERBOSE));
334
335 printf (_(UT_SUPPORT)); 314 printf (_(UT_SUPPORT));
336} 315}
337 316
@@ -342,6 +321,6 @@ print_usage (void)
342{ 321{
343 printf (_("Usage:")); 322 printf (_("Usage:"));
344 printf ("%s -H host -l lookup [-p <server port>] [-T <query type>]", progname); 323 printf ("%s -H host -l lookup [-p <server port>] [-T <query type>]", progname);
345 printf (" [-w <warning interval>] [-c <critical interval>] [-t <timeout>]"); 324 printf (" [-w <warning interval>] [-c <critical interval>] [-t <timeout>]");
346 printf (" [-a <expected answer address>] [-v]\n"); 325 printf (" [-a <expected answer address>] [-v]\n");
347} 326}