[Nagiosplug-checkins] nagiosplug/plugins check_dns.c,1.34,1.35 check_ldap.c,1.20,1.21 check_procs.c,1.33,1.34
Benoit Mortier
opensides at users.sourceforge.net
Thu Dec 2 13:24:03 CET 2004
- Previous message: [Nagiosplug-checkins] nagiosplug/plugins check_tcp.c,1.48,1.49
- Next message: [Nagiosplug-checkins] nagiosplug/plugins check_by_ssh.c,1.26,1.27 check_dig.c,1.31,1.32 check_dns.c,1.35,1.36 check_dummy.c,1.9,1.10 check_fping.c,1.18,1.19 check_game.c,1.15,1.16 check_hpjd.c,1.24,1.25 check_ide-smart.c,1.7,1.8 check_ldap.c,1.21,1.22 check_load.c,1.20,1.21 check_mrtg.c,1.17,1.18 check_mrtgtraf.c,1.18,1.19 check_mysql.c,1.19,1.20 check_nagios.c,1.16,1.17 check_nt.c,1.29,1.30 check_nwstat.c,1.20,1.21 check_overcr.c,1.13,1.14 check_pgsql.c,1.22,1.23 check_ping.c,1.33,1.34 check_procs.c,1.34,1.35 check_radius.c,1.15,1.16 check_real.c,1.18,1.19 check_smtp.c,1.32,1.33 check_snmp.c,1.43,1.44 check_ssh.c,1.20,1.21 check_swap.c,1.35,1.36 check_tcp.c,1.49,1.50 check_time.c,1.18,1.19 check_udp.c,1.17,1.18 check_ups.c,1.20,1.21 check_users.c,1.14,1.15 negate.c,1.19,1.20 urlize.c,1.13,1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5986/plugins
Modified Files:
check_dns.c check_ldap.c check_procs.c
Log Message:
--disable-nls throws an error on check_dns, check_procs and
check_ldap without this patch.
Index: check_ldap.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_ldap.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- check_ldap.c 2 Dec 2004 16:51:24 -0000 1.20
+++ check_ldap.c 2 Dec 2004 21:23:50 -0000 1.21
@@ -335,6 +335,13 @@
Usage: %s -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]\n\
[-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]%s\n\
(Note: all times are in seconds.)\n"),
- progname, (HAVE_LDAP_SET_OPTION ? "[-2|-3] [-4|-6]" : ""));
+ progname,
+#ifdef HAVE_LDAP_SET_OPTION
+ " [-2|-3] [-4|-6]"
+#else
+ ""
+#endif
+ );
+
printf (_(UT_HLP_VRS), progname, progname);
}
Index: check_dns.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_dns.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- check_dns.c 2 Dec 2004 16:51:24 -0000 1.34
+++ check_dns.c 2 Dec 2004 21:23:50 -0000 1.35
@@ -196,7 +196,7 @@
multi_address = TRUE;
printf ("DNS %s: ", _("OK"));
- printf (ngettext("%.3f second response time, ", "%.3f seconds response time, ", elapsed_time), elapsed_time);
+ printf (_("%.3f seconds response time"), elapsed_time);
printf (_("%s returns %s"), query_address, address);
printf ("|%s\n", fperfdata ("time", elapsed_time, "s", FALSE, 0, FALSE, 0, TRUE, 0, FALSE, 0));
}
Index: check_procs.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_procs.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- check_procs.c 2 Dec 2004 16:51:25 -0000 1.33
+++ check_procs.c 2 Dec 2004 21:23:50 -0000 1.34
@@ -277,7 +277,7 @@
printf (_("%d crit, %d warn out of "), crit, warn);
}
}
- printf (ngettext ("%d process", "%d processes", (unsigned long) procs), procs);
+ printf ("%d %s", procs, procs == 1 ? _("process") : _("processes"));
if (strcmp(fmt,"") != 0) {
printf (_(" with %s"), fmt);
- Previous message: [Nagiosplug-checkins] nagiosplug/plugins check_tcp.c,1.48,1.49
- Next message: [Nagiosplug-checkins] nagiosplug/plugins check_by_ssh.c,1.26,1.27 check_dig.c,1.31,1.32 check_dns.c,1.35,1.36 check_dummy.c,1.9,1.10 check_fping.c,1.18,1.19 check_game.c,1.15,1.16 check_hpjd.c,1.24,1.25 check_ide-smart.c,1.7,1.8 check_ldap.c,1.21,1.22 check_load.c,1.20,1.21 check_mrtg.c,1.17,1.18 check_mrtgtraf.c,1.18,1.19 check_mysql.c,1.19,1.20 check_nagios.c,1.16,1.17 check_nt.c,1.29,1.30 check_nwstat.c,1.20,1.21 check_overcr.c,1.13,1.14 check_pgsql.c,1.22,1.23 check_ping.c,1.33,1.34 check_procs.c,1.34,1.35 check_radius.c,1.15,1.16 check_real.c,1.18,1.19 check_smtp.c,1.32,1.33 check_snmp.c,1.43,1.44 check_ssh.c,1.20,1.21 check_swap.c,1.35,1.36 check_tcp.c,1.49,1.50 check_time.c,1.18,1.19 check_udp.c,1.17,1.18 check_ups.c,1.20,1.21 check_users.c,1.14,1.15 negate.c,1.19,1.20 urlize.c,1.13,1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commits
mailing list