diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-04 10:57:12 +0000 |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-04 10:57:12 +0000 |
commit | 7e2e599660083e1ce6de6d9230e456d9a4e3772d (patch) | |
tree | 08ccc6de5a543c651f8712a6a4360278477b2c4e /plugins | |
parent | b467ed427c762e401819b101dc22e112fdd5ff72 (diff) | |
download | monitoring-plugins-7e2e599660083e1ce6de6d9230e456d9a4e3772d.tar.gz |
check_dns needs a space between 'time' and the hostname
check_hpjd needs a parenthesis removed in print_usage()
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1000 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_dns.c | 2 | ||||
-rw-r--r-- | plugins/check_hpjd.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c index 55165fcb..b9ad29d3 100644 --- a/plugins/check_dns.c +++ b/plugins/check_dns.c | |||
@@ -196,7 +196,7 @@ main (int argc, char **argv) | |||
196 | multi_address = TRUE; | 196 | multi_address = TRUE; |
197 | 197 | ||
198 | printf ("DNS %s: ", _("OK")); | 198 | printf ("DNS %s: ", _("OK")); |
199 | printf (_("%.3f seconds response time"), elapsed_time); | 199 | printf (_("%.3f seconds response time "), elapsed_time); |
200 | printf (_("%s returns %s"), query_address, address); | 200 | printf (_("%s returns %s"), query_address, address); |
201 | printf ("|%s\n", fperfdata ("time", elapsed_time, "s", FALSE, 0, FALSE, 0, TRUE, 0, FALSE, 0)); | 201 | printf ("|%s\n", fperfdata ("time", elapsed_time, "s", FALSE, 0, FALSE, 0, TRUE, 0, FALSE, 0)); |
202 | } | 202 | } |
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c index d49661ad..53769565 100644 --- a/plugins/check_hpjd.c +++ b/plugins/check_hpjd.c | |||
@@ -398,5 +398,5 @@ Net-snmp must be installed on the computer running the plugin.\n\n")); | |||
398 | void | 398 | void |
399 | print_usage (void) | 399 | print_usage (void) |
400 | { | 400 | { |
401 | printf ("Usage: %s -H host [-C community]\n"), progname); | 401 | printf ("Usage: %s -H host [-C community]\n", progname); |
402 | } | 402 | } |