summaryrefslogtreecommitdiffstats
path: root/plugins/t
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index 070223e..aaa3f12 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 (ngettext("%.3f second response time, ", "%.3f seconds response time, ", elapsed_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_ldap.c b/plugins/check_ldap.c
index 9c41cc3..b12a0ed 100644
--- a/plugins/check_ldap.c
+++ b/plugins/check_ldap.c
@@ -335,6 +335,13 @@ print_usage (void)
335Usage: %s -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]\n\ 335Usage: %s -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]\n\
336 [-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]%s\n\ 336 [-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]%s\n\
337(Note: all times are in seconds.)\n"), 337(Note: all times are in seconds.)\n"),
338 progname, (HAVE_LDAP_SET_OPTION ? "[-2|-3] [-4|-6]" : "")); 338 progname,
339#ifdef HAVE_LDAP_SET_OPTION
340 " [-2|-3] [-4|-6]"
341#else
342 ""
343#endif
344 );
345
339 printf (_(UT_HLP_VRS), progname, progname); 346 printf (_(UT_HLP_VRS), progname, progname);
340} 347}
diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index 4bc87c0..5448842 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -277,7 +277,7 @@ main (int argc, char **argv)
277 printf (_("%d crit, %d warn out of "), crit, warn); 277 printf (_("%d crit, %d warn out of "), crit, warn);
278 } 278 }
279 } 279 }
280 printf (ngettext ("%d process", "%d processes", (unsigned long) procs), procs); 280 printf ("%d %s", procs, procs == 1 ? _("process") : _("processes"));
281 281
282 if (strcmp(fmt,"") != 0) { 282 if (strcmp(fmt,"") != 0) {
283 printf (_(" with %s"), fmt); 283 printf (_(" with %s"), fmt);