aboutsummaryrefslogtreecommitdiff
path: root/plugins-root
diff options
context:
space:
mode:
authorGravatar Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> 2008-01-31 11:52:45 +0000
committerGravatar Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> 2008-01-31 11:52:45 +0000
commitedf361db3e4e4b315e51a6c9955fc4a1728c46d8 (patch)
tree369a16afd58863ae06cc4c4e570b1f7235f39d4e /plugins-root
parent2ce5fce834763325021d1e491f89bd253aeb8b8c (diff)
downloadmonitoring-plugins-edf361db3e4e4b315e51a6c9955fc4a1728c46d8.tar.gz
Bump plugins-root/ to GPLv3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1920 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-root')
-rw-r--r--plugins-root/check_dhcp.c51
-rw-r--r--plugins-root/check_icmp.c53
-rw-r--r--plugins-root/pst3.c22
3 files changed, 59 insertions, 67 deletions
diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c
index bc2f4bbe..a41a86e9 100644
--- a/plugins-root/check_dhcp.c
+++ b/plugins-root/check_dhcp.c
@@ -1,49 +1,44 @@
-/******************************************************************************
-*
+/*****************************************************************************
+*
* Nagios check_dhcp plugin
-*
+*
* License: GPL
* Copyright (c) 2001-2004 Ethan Galstad (nagios@nagios.org)
-* Copyright (c) 2001-2006 Nagios Plugin Development Team
-*
+* Copyright (c) 2001-2007 Nagios Plugin Development Team
+*
* Last Modified: $Date$
-*
+*
* Description:
-*
+*
* This file contains the check_dhcp plugin
-*
-* This plugin tests the availability of DHCP servers on a network.
-*
-*
-* License Information:
-*
-* This program is free software; you can redistribute it and/or modify
+*
+* This plugin tests the availability of DHCP servers on a network.
+*
+* Unicast mode was originally implemented by Heiti of Boras Kommun with
+* general improvements as well as usability fixes and "forward"-porting by
+* Andreas Ericsson of OP5 AB.
+*
+*
+* 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
+* the Free Software Foundation, either version 3 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.
-*
+* along with this program. If not, see <http://www.gnu.org/licenses/>.
+*
* $Id$
-*
-* ------------------------------------------------------------------------
-* Unicast mode was originally implemented by Heiti of Boras Kommun with
-* general improvements as well as usability fixes and "forward"-porting by
-* Andreas Ericsson of OP5 AB.
-* ------------------------------------------------------------------------
-*
+*
*****************************************************************************/
const char *progname = "check_dhcp";
const char *revision = "$Revision$";
-const char *copyright = "2001-2006";
+const char *copyright = "2001-2007";
const char *email = "nagiosplug-devel@lists.sourceforge.net";
#include "common.h"
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index 49b40f9d..8e7f6d0b 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -1,43 +1,40 @@
- /******************************************************************************
-*
+/*****************************************************************************
+*
* Nagios check_icmp plugin
-*
+*
* License: GPL
-* Copyright (c) 2005-2007 nagios-plugins team
-*
+* Copyright (c) 2005-2008 Nagios Plugins Development Team
* Original Author : Andreas Ericsson <ae@op5.se>
-*
+*
* Last Modified: $Date$
-*
+*
* Description:
-*
+*
* This file contains the check_icmp plugin
-*
-* Relevant RFC's: 792 (ICMP), 791 (IP)
-*
-* This program was modeled somewhat after the check_icmp program,
-* which was in turn a hack of fping (www.fping.org) but has been
-* completely rewritten since to generate higher precision rta values,
-* and support several different modes as well as setting ttl to control.
-* redundant routes. The only remainders of fping is currently a few
-* function names.
-*
-* License Information:
-*
-* This program is free software; you can redistribute it and/or modify
+*
+* Relevant RFC's: 792 (ICMP), 791 (IP)
+*
+* This program was modeled somewhat after the check_icmp program,
+* which was in turn a hack of fping (www.fping.org) but has been
+* completely rewritten since to generate higher precision rta values,
+* and support several different modes as well as setting ttl to control.
+* redundant routes. The only remainders of fping is currently a few
+* function names.
+*
+*
+* 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
+* the Free Software Foundation, either version 3 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.
-*
+* along with this program. If not, see <http://www.gnu.org/licenses/>.
+*
* $Id$
*
*****************************************************************************/
@@ -46,7 +43,7 @@
/* char *progname = "check_icmp"; */
char *progname;
const char *revision = "$Revision$";
-const char *copyright = "2005-2007";
+const char *copyright = "2005-2008";
const char *email = "nagiosplug-devel@lists.sourceforge.net";
/** nagios plugins basic includes */
diff --git a/plugins-root/pst3.c b/plugins-root/pst3.c
index ace3113c..bf4b40d3 100644
--- a/plugins-root/pst3.c
+++ b/plugins-root/pst3.c
@@ -1,15 +1,15 @@
/* pst3.c
- *
- * Third version to get process arg info; this time by using
- * a combination of reading the /proc/<pid>/psinfo structures
- * and reading the complete arg vector from kernel memory structures.
- *
- * Developed and tested under Solaris 5.8 (both 32 and 64 bit modes).
- *
- * NOTE: This program must be setuid-root (or run by root) to work!
- *
- * Written: 2005-04-28 R.W.Ingraham
- */
+*
+* Third version to get process arg info; this time by using
+* a combination of reading the /proc/<pid>/psinfo structures
+* and reading the complete arg vector from kernel memory structures.
+*
+* Developed and tested under Solaris 5.8 (both 32 and 64 bit modes).
+*
+* NOTE: This program must be setuid-root (or run by root) to work!
+*
+* Written: 2005-04-28 R.W.Ingraham
+*/
#define _KMEMUSER 1