summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2ce5fce)
raw | patch | inline | side by side (parent: 2ce5fce)
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Thu, 31 Jan 2008 11:52:45 +0000 (11:52 +0000) | ||
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Thu, 31 Jan 2008 11:52:45 +0000 (11:52 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1920 f882894a-f735-0410-b71e-b25c423dba1c
plugins-root/check_dhcp.c | patch | blob | history | |
plugins-root/check_icmp.c | patch | blob | history | |
plugins-root/pst3.c | patch | blob | history |
index bc2f4bbed69e0ba89f470403368efd72b3e89dcb..a41a86e9ed14b37d46a6b34c37bf15cf12e57c08 100644 (file)
-/******************************************************************************
-*
+/*****************************************************************************
+*
* 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"
index 49b40f9d6f69b1d249d8976d3ab48119d818b84a..8e7f6d0bbb2c8f1056b02cd782a21945f756cda7 100644 (file)
- /******************************************************************************
-*
+/*****************************************************************************
+*
* 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$
*
*****************************************************************************/
/* 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 ace3113c567f0e33cc7f7bca91fdfa2526717e2d..bf4b40d3bacc41c479422061382fe04a16566a80 100644 (file)
--- a/plugins-root/pst3.c
+++ b/plugins-root/pst3.c
/* 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