[Nagiosplug-checkins] nagiosplug/plugins check_radius.c, 1.22, 1.23 check_real.c, 1.26, 1.27 check_smtp.c, 1.53, 1.54 check_ssh.c, 1.29, 1.30 check_swap.c, 1.55, 1.56 check_tcp.c, 1.79, 1.80 check_time.c, 1.27, 1.28 check_ups.c, 1.29, 1.30 check_users.c, 1.20, 1.21 negate.c, 1.25, 1.26 urlize.c, 1.20, 1.21
Benoit Mortier
opensides at users.sourceforge.net
Fri Oct 20 01:53:30 CEST 2006
- Previous message: [Nagiosplug-checkins] nagiosplug BUGS, 1.3, 1.4 ChangeLog, 1.12, 1.13 configure.in, 1.195, 1.196 package.def, 1.8, 1.9
- Next message: [Nagiosplug-checkins] nagiosplug/plugins check_snmp.c,1.65,1.66
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv15440/plugins
Modified Files:
check_radius.c check_real.c check_smtp.c check_ssh.c
check_swap.c check_tcp.c check_time.c check_ups.c
check_users.c negate.c urlize.c
Log Message:
another round of localization cleaning
Index: check_tcp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_tcp.c,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- check_tcp.c 2 Sep 2006 20:32:27 -0000 1.79
+++ check_tcp.c 19 Oct 2006 23:53:28 -0000 1.80
@@ -1,27 +1,40 @@
/*****************************************************************************
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- $Id$
-
+*
+* Nagios check_tcp plugin
+*
+* License: GPL
+* Copyright (c) 1999-2006 nagios-plugins team
+*
+* Last Modified: $Date$
+*
+* Description:
+*
+* This file contains the check_tcp plugin
+*
+* License Information:
+*
+* This program is free software; you can redistribute it and/or modify
+* it under the terms of the GNU General Public License as published by
+* the Free Software Foundation; either version 2 of the License, or
+* (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*
+* $Id$
+*
*****************************************************************************/
/* progname "check_tcp" changes depending on symlink called */
char *progname;
const char *revision = "$Revision$";
-const char *copyright = "1999-2004";
+const char *copyright = "1999-2006";
const char *email = "nagiosplug-devel at lists.sourceforge.net";
#include "common.h"
@@ -589,35 +602,31 @@
printf (_(UT_IPv46));
- printf (_("\
- -E, --escape\n\
- Can use \\n, \\r, \\t or \\ in send or quit string.\n\
- Default: nothing added to send, \\r\\n added to end of quit\n\
- -s, --send=STRING\n\
- String to send to the server\n\
- -e, --expect=STRING\n\
- String to expect in server response\n\
- -q, --quit=STRING\n\
- String to send server to initiate a clean close of the connection\n"));
-
- printf (_("\
- -r, --refuse=ok|warn|crit\n\
- Accept tcp refusals with states ok, warn, crit (default: crit)\n\
- -M, --mismatch=ok|warn|crit\n\
- Accept expected string mismatches with states ok, warn, crit (default: warn)\n\
- -j, --jail\n\
- Hide output from TCP socket\n\
- -m, --maxbytes=INTEGER\n\
- Close connection once more than this number of bytes are received\n\
- -d, --delay=INTEGER\n\
- Seconds to wait between sending string and polling for response\n"));
+ printf (" %s\n", "-E, --escape");
+ printf (" %s\n", _("Can use \\n, \\r, \\t or \\ in send or quit string."));
+ printf (" %s\n", _("Default: nothing added to send, \\r\\n added to end of quit"));
+ printf (" %s\n", "-s, --send=STRING");
+ printf (" %s\n", _("String to send to the server"));
+ printf (" %s\n", "-e, --expect=STRING");
+ printf (" %s\n", _("String to expect in server response"));
+ printf (" %s\n", "-q, --quit=STRING");
+ printf (" %s\n", _("String to send server to initiate a clean close of the connection"));
+ printf (" %s\n", "-r, --refuse=ok|warn|crit");
+ printf (" %s\n", _("Accept tcp refusals with states ok, warn, crit (default: crit)"));
+ printf (" %s\n", "-M, --mismatch=ok|warn|crit");
+ printf (" %s\n", _("Accept expected string mismatches with states ok, warn, crit (default: warn)"));
+ printf (" %s\n", "-j, --jail");
+ printf (" %s\n", _("Hide output from TCP socket"));
+ printf (" %s\n", "-m, --maxbytes=INTEGER");
+ printf (" %s\n", _("Close connection once more than this number of bytes are received"));
+ printf (" %s\n", "-d, --delay=INTEGER");
+ printf (" %s\n", _("Seconds to wait between sending string and polling for response"));
#ifdef HAVE_SSL
- printf (_("\
- -D, --certificate=INTEGER\n\
- Minimum number of days a certificate has to be valid.\n\
- -S, --ssl\n\
- Use SSL for the connection.\n"));
+ printf (" %s\n", "-D, --certificate=INTEGER");
+ printf (" %s\n", _("Minimum number of days a certificate has to be valid."));
+ printf (" %s\n", "-S, --ssl");
+ printf (" %s\n", _("Use SSL for the connection."));
#endif
printf (_(UT_WARN_CRIT));
@@ -633,11 +642,10 @@
void
print_usage (void)
{
- printf ("\
-Usage: %s -H host -p port [-w <warning time>] [-c <critical time>]\n\
- [-s <send string>] [-e <expect string>] [-q <quit string>]\n\
- [-m <maximum bytes>] [-d <delay>] [-t <timeout seconds>]\n\
- [-r <refuse state>] [-M <mismatch state>] [-v] [-4|-6] [-j]\n\
- [-D <days to cert expiry>] [-S <use SSL>] [-E]\n", progname);
+ printf (_("Usage:"));
+ printf ("%s -H host -p port [-w <warning time>] [-c <critical time>] [-s <send string>]\n",progname);
+ printf ("[-e <expect string>] [-q <quit string>][-m <maximum bytes>] [-d <delay>]\n");
+ printf ("[-t <timeout seconds>] [-r <refuse state>] [-M <mismatch state>] [-v] [-4|-6] [-j]\n");
+ printf ("[-D <days to cert expiry>] [-S <use SSL>] [-E]\n");
}
Index: check_real.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_real.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- check_real.c 20 Jun 2006 11:17:02 -0000 1.26
+++ check_real.c 19 Oct 2006 23:53:28 -0000 1.27
@@ -11,6 +11,9 @@
*
* This file contains the check_real plugin
*
+* This plugin tests the REAL service on the specified host.
+*
+*
* License Information:
*
* This program is free software; you can redistribute it and/or modify
Index: check_radius.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_radius.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- check_radius.c 20 Jun 2006 11:17:02 -0000 1.22
+++ check_radius.c 19 Oct 2006 23:53:28 -0000 1.23
@@ -11,6 +11,9 @@
*
* This file contains the check_radius plugin
*
+* Tests to see if a radius server is accepting connections.
+*
+*
* License Information:
*
* This program is free software; you can redistribute it and/or modify
Index: check_ups.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_ups.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- check_ups.c 18 Jun 2006 19:36:48 -0000 1.29
+++ check_ups.c 19 Oct 2006 23:53:28 -0000 1.30
@@ -14,6 +14,9 @@
*
* This file contains Network UPS Tools plugin for Nagios
*
+* This plugin tests the UPS service on the specified host.Network UPS Tools
+* from www.networkupstools.org must be running for thisplugin to work.
+*
* License Information:
*
* This program is free software; you can redistribute it and/or modify
@@ -36,7 +39,7 @@
const char *progname = "check_ups";
const char *revision = "$Revision$";
-const char *copyright = "2000-2006";
+const char *copyright = "2002-2006";
const char *email = "nagiosplug-devel at lists.sourceforge.net";
#include "common.h"
Index: check_time.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_time.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- check_time.c 18 Jun 2006 19:36:48 -0000 1.27
+++ check_time.c 19 Oct 2006 23:53:28 -0000 1.28
@@ -11,6 +11,8 @@
*
* This file contains the check_time plugin
*
+* This plugin will check the time on the specified host.
+*
* License Information:
*
* This program is free software; you can redistribute it and/or modify
Index: check_smtp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_smtp.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- check_smtp.c 12 Oct 2006 20:36:45 -0000 1.53
+++ check_smtp.c 19 Oct 2006 23:53:28 -0000 1.54
@@ -11,6 +11,9 @@
*
* This file contains the check_smtp plugin
*
+* This plugin will attempt to open an SMTP connection with the host.
+*
+*
* License Information:
*
* This program is free software; you can redistribute it and/or modify
@@ -778,8 +781,8 @@
print_usage (void)
{
printf (_("Usage:"));
- printf ("%s -H host [-p port] [-e expect] [-C command] [-f from addr]\n\
- [-A authtype -U authuser -P authpass]\n\
- [-w warn] [-c crit] [-t timeout] [-S] [-D days] [-n] [-v] [-4|-6]\n", progname);
+ printf ("%s -H host [-p port] [-e expect] [-C command] [-f from addr]", progname);
+ printf ("[-A authtype -U authuser -P authpass] [-w warn] [-c crit] [-t timeout]\n");
+ printf ("[-S] [-D days] [-n] [-v] [-4|-6]\n");
}
Index: check_ssh.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_ssh.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- check_ssh.c 21 Jun 2006 11:05:00 -0000 1.29
+++ check_ssh.c 19 Oct 2006 23:53:28 -0000 1.30
@@ -11,6 +11,10 @@
*
* This file contains the check_ssh plugin
*
+*
+* Try to connect to an SSH server at specified server and port
+*
+*
* License Information:
*
* This program is free software; you can redistribute it and/or modify
Index: negate.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/negate.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- negate.c 18 Jun 2006 19:36:48 -0000 1.25
+++ negate.c 19 Oct 2006 23:53:28 -0000 1.26
@@ -11,6 +11,8 @@
*
* This file contains the negate plugin
*
+* Negates the status of a plugin (returns OK for CRITICAL, and vice-versa)
+*
* License Information:
*
* This program is free software; you can redistribute it and/or modify
Index: check_users.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_users.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- check_users.c 18 Jun 2006 19:36:48 -0000 1.20
+++ check_users.c 19 Oct 2006 23:53:28 -0000 1.21
@@ -3,7 +3,7 @@
* Nagios check_users plugin
*
* License: GPL
-* Copyright (c) 2002-2006 nagios-plugins team
+* Copyright (c) 2000-2006 nagios-plugins team
*
* Last Modified: $Date$
*
@@ -11,6 +11,9 @@
*
* This file contains the check_users plugin
*
+* This plugin checks the number of users currently logged in on the local
+* system and generates an error if the number exceeds the thresholds specified.
+*
* License Information:
*
* This program is free software; you can redistribute it and/or modify
Index: urlize.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/urlize.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- urlize.c 7 Jul 2006 06:36:03 -0000 1.20
+++ urlize.c 19 Oct 2006 23:53:28 -0000 1.21
@@ -1,18 +1,36 @@
/******************************************************************************
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*
+* Nagios urlize plugin
+*
+* License: GPL
+* Copyright (c) 2000-2006 nagios-plugins team
+*
+* Last Modified: $Date$
+*
+* Description:
+*
+* This file contains the urlize plugin
+*
+* This plugin wraps the text output of another command (plugin)
+* in HTML <A> tags, thus displaying the plugin output in as a clickable link in
+* the Nagios status screen. The return status is the same as the invoked plugin.
+*
+* License Information:
+*
+* This program is free software; you can redistribute it and/or modify
+* it under the terms of the GNU General Public License as published by
+* the Free Software Foundation; either version 2 of the License, or
+* (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*
$Id$
Index: check_swap.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_swap.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- check_swap.c 13 Mar 2006 17:59:23 -0000 1.55
+++ check_swap.c 19 Oct 2006 23:53:28 -0000 1.56
@@ -1,33 +1,40 @@
/******************************************************************************
- *
- * Program: Swap space plugin for Nagios
- * License: GPL
- *
- * License Information:
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- * Copyright (c) 2000 Karl DeBisschop (kdebisschop at users.sourceforge.net)
- *
- * $Id$
- *
- *****************************************************************************/
+*
+* Nagios check_disk plugin
+*
+* License: GPL
+* Copyright (c) 2000 Karl DeBisschop (kdebisschop at users.sourceforge.net)
+* Copyright (c) 2000-2006 nagios-plugins team
+*
+* Last Modified: $Date$
+*
+* Description:
+*
+* This file contains the check_disk plugin
+*
+* License Information:
+*
+* This program is free software; you can redistribute it and/or modify
+* it under the terms of the GNU General Public License as published by
+* the Free Software Foundation; either version 2 of the License, or
+* (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*
+* $Id$
+*
+*****************************************************************************/
const char *progname = "check_swap";
const char *revision = "$Revision$";
-const char *copyright = "2000-2004";
+const char *copyright = "2000-2006";
const char *email = "nagiosplug-devel at lists.sourceforge.net";
#include "common.h"
@@ -491,28 +498,29 @@
printf (_(COPYRIGHT), copyright, email);
- printf (_("Check swap space on local machine.\n\n"));
+ printf ("%s\n", _("Check swap space on local machine."));
+ printf ("\n\n");
+
print_usage ();
printf (_(UT_HELP_VRSN));
- printf (_("\n\
- -w, --warning=INTEGER\n\
- Exit with WARNING status if less than INTEGER bytes of swap space are free\n\
- -w, --warning=PERCENT%%\n\
- Exit with WARNING status if less than PERCENT of swap space is free\n\
- -c, --critical=INTEGER\n\
- Exit with CRITICAL status if less than INTEGER bytes of swap space are free\n\
- -c, --critical=PERCENT%%\n\
- Exit with CRITCAL status if less than PERCENT of swap space is free\n\
- -a, --allswaps\n\
- Conduct comparisons for all swap partitions, one by one\n\
- -v, --verbose\n\
- Verbose output. Up to 3 levels\n"));
-
- printf (_("\n\
-On AIX, if -a is specified, uses lsps -a, otherwise uses lsps -s.\n"));
+ printf (" %s\n", "-w, --warning=INTEGER");
+ printf (" %s\n", _("Exit with WARNING status if less than INTEGER bytes of swap space are free"));
+ printf (" %s\n", "-w, --warning=PERCENT%%");
+ printf (" %s\n", _("Exit with WARNING status if less than PERCENT of swap space is free"));
+ printf (" %s\n", "-c, --critical=INTEGER");
+ printf (" %s\n", _("Exit with CRITICAL status if less than INTEGER bytes of swap space are free"));
+ printf (" %s\n", "-c, --critical=PERCENT%%");
+ printf (" %s\n", _("Exit with CRITCAL status if less than PERCENT of swap space is free"));
+ printf (" %s\n", "-a, --allswaps");
+ printf (" %s\n", _("Conduct comparisons for all swap partitions, one by one"));
+ printf (" %s\n", "-v, --verbose");
+ printf (" %s\n", _("Verbose output. Up to 3 levels"));
+ printf ("\n");
+ printf ("%s\n", _("Notes:"));
+ printf (" %s\n", _("On AIX, if -a is specified, uses lsps -a, otherwise uses lsps -s.\n"));
printf (_(UT_SUPPORT));
}
@@ -522,7 +530,7 @@
void
print_usage (void)
{
- printf ("\
-Usage: %s [-av] -w <percent_free>%% -c <percent_free>%%\n\
- %s [-av] -w <bytes_free> -c <bytes_free>\n", progname, progname);
+ printf (_("Usage:"));
+ printf ("%s [-av] -w <percent_free>%% -c <percent_free>%%\n",progname);
+ printf ("%s [-av] -w <bytes_free> -c <bytes_free>\n", progname);
}
- Previous message: [Nagiosplug-checkins] nagiosplug BUGS, 1.3, 1.4 ChangeLog, 1.12, 1.13 configure.in, 1.195, 1.196 package.def, 1.8, 1.9
- Next message: [Nagiosplug-checkins] nagiosplug/plugins check_snmp.c,1.65,1.66
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commits
mailing list