diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-01-31 11:52:45 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-01-31 11:52:45 +0000 |
commit | edf361db3e4e4b315e51a6c9955fc4a1728c46d8 (patch) | |
tree | 369a16afd58863ae06cc4c4e570b1f7235f39d4e /plugins-root | |
parent | 2ce5fce834763325021d1e491f89bd253aeb8b8c (diff) | |
download | monitoring-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.c | 51 | ||||
-rw-r--r-- | plugins-root/check_icmp.c | 53 | ||||
-rw-r--r-- | plugins-root/pst3.c | 22 |
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 @@ | |||
1 | /****************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_dhcp plugin | 3 | * Nagios check_dhcp plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2001-2004 Ethan Galstad (nagios@nagios.org) | 6 | * Copyright (c) 2001-2004 Ethan Galstad (nagios@nagios.org) |
7 | * Copyright (c) 2001-2006 Nagios Plugin Development Team | 7 | * Copyright (c) 2001-2007 Nagios Plugin Development Team |
8 | * | 8 | * |
9 | * Last Modified: $Date$ | 9 | * Last Modified: $Date$ |
10 | * | 10 | * |
11 | * Description: | 11 | * Description: |
12 | * | 12 | * |
13 | * This file contains the check_dhcp plugin | 13 | * This file contains the check_dhcp plugin |
14 | * | 14 | * |
15 | * This plugin tests the availability of DHCP servers on a network. | 15 | * This plugin tests the availability of DHCP servers on a network. |
16 | * | 16 | * |
17 | * | 17 | * Unicast mode was originally implemented by Heiti of Boras Kommun with |
18 | * License Information: | 18 | * general improvements as well as usability fixes and "forward"-porting by |
19 | * | 19 | * Andreas Ericsson of OP5 AB. |
20 | * This program is free software; you can redistribute it and/or modify | 20 | * |
21 | * | ||
22 | * This program is free software: you can redistribute it and/or modify | ||
21 | * it under the terms of the GNU General Public License as published by | 23 | * it under the terms of the GNU General Public License as published by |
22 | * the Free Software Foundation; either version 2 of the License, or | 24 | * the Free Software Foundation, either version 3 of the License, or |
23 | * (at your option) any later version. | 25 | * (at your option) any later version. |
24 | * | 26 | * |
25 | * This program is distributed in the hope that it will be useful, | 27 | * This program is distributed in the hope that it will be useful, |
26 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 28 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
27 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 29 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
28 | * GNU General Public License for more details. | 30 | * GNU General Public License for more details. |
29 | * | 31 | * |
30 | * You should have received a copy of the GNU General Public License | 32 | * You should have received a copy of the GNU General Public License |
31 | * along with this program; if not, write to the Free Software | 33 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
32 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 34 | * |
33 | * | ||
34 | * $Id$ | 35 | * $Id$ |
35 | * | 36 | * |
36 | * ------------------------------------------------------------------------ | ||
37 | * Unicast mode was originally implemented by Heiti of Boras Kommun with | ||
38 | * general improvements as well as usability fixes and "forward"-porting by | ||
39 | * Andreas Ericsson of OP5 AB. | ||
40 | * ------------------------------------------------------------------------ | ||
41 | * | ||
42 | *****************************************************************************/ | 37 | *****************************************************************************/ |
43 | 38 | ||
44 | const char *progname = "check_dhcp"; | 39 | const char *progname = "check_dhcp"; |
45 | const char *revision = "$Revision$"; | 40 | const char *revision = "$Revision$"; |
46 | const char *copyright = "2001-2006"; | 41 | const char *copyright = "2001-2007"; |
47 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 42 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
48 | 43 | ||
49 | #include "common.h" | 44 | #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 @@ | |||
1 | /****************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_icmp plugin | 3 | * Nagios check_icmp plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 2005-2007 nagios-plugins team | 6 | * Copyright (c) 2005-2008 Nagios Plugins Development Team |
7 | * | ||
8 | * Original Author : Andreas Ericsson <ae@op5.se> | 7 | * Original Author : Andreas Ericsson <ae@op5.se> |
9 | * | 8 | * |
10 | * Last Modified: $Date$ | 9 | * Last Modified: $Date$ |
11 | * | 10 | * |
12 | * Description: | 11 | * Description: |
13 | * | 12 | * |
14 | * This file contains the check_icmp plugin | 13 | * This file contains the check_icmp plugin |
15 | * | 14 | * |
16 | * Relevant RFC's: 792 (ICMP), 791 (IP) | 15 | * Relevant RFC's: 792 (ICMP), 791 (IP) |
17 | * | 16 | * |
18 | * This program was modeled somewhat after the check_icmp program, | 17 | * This program was modeled somewhat after the check_icmp program, |
19 | * which was in turn a hack of fping (www.fping.org) but has been | 18 | * which was in turn a hack of fping (www.fping.org) but has been |
20 | * completely rewritten since to generate higher precision rta values, | 19 | * completely rewritten since to generate higher precision rta values, |
21 | * and support several different modes as well as setting ttl to control. | 20 | * and support several different modes as well as setting ttl to control. |
22 | * redundant routes. The only remainders of fping is currently a few | 21 | * redundant routes. The only remainders of fping is currently a few |
23 | * function names. | 22 | * function names. |
24 | * | 23 | * |
25 | * License Information: | 24 | * |
26 | * | 25 | * This program is free software: you can redistribute it and/or modify |
27 | * This program is free software; you can redistribute it and/or modify | ||
28 | * it under the terms of the GNU General Public License as published by | 26 | * it under the terms of the GNU General Public License as published by |
29 | * the Free Software Foundation; either version 2 of the License, or | 27 | * the Free Software Foundation, either version 3 of the License, or |
30 | * (at your option) any later version. | 28 | * (at your option) any later version. |
31 | * | 29 | * |
32 | * This program is distributed in the hope that it will be useful, | 30 | * This program is distributed in the hope that it will be useful, |
33 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 31 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
34 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 32 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
35 | * GNU General Public License for more details. | 33 | * GNU General Public License for more details. |
36 | * | 34 | * |
37 | * You should have received a copy of the GNU General Public License | 35 | * You should have received a copy of the GNU General Public License |
38 | * along with this program; if not, write to the Free Software | 36 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
39 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 37 | * |
40 | * | ||
41 | * $Id$ | 38 | * $Id$ |
42 | * | 39 | * |
43 | *****************************************************************************/ | 40 | *****************************************************************************/ |
@@ -46,7 +43,7 @@ | |||
46 | /* char *progname = "check_icmp"; */ | 43 | /* char *progname = "check_icmp"; */ |
47 | char *progname; | 44 | char *progname; |
48 | const char *revision = "$Revision$"; | 45 | const char *revision = "$Revision$"; |
49 | const char *copyright = "2005-2007"; | 46 | const char *copyright = "2005-2008"; |
50 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 47 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
51 | 48 | ||
52 | /** nagios plugins basic includes */ | 49 | /** 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 @@ | |||
1 | /* pst3.c | 1 | /* pst3.c |
2 | * | 2 | * |
3 | * Third version to get process arg info; this time by using | 3 | * Third version to get process arg info; this time by using |
4 | * a combination of reading the /proc/<pid>/psinfo structures | 4 | * a combination of reading the /proc/<pid>/psinfo structures |
5 | * and reading the complete arg vector from kernel memory structures. | 5 | * and reading the complete arg vector from kernel memory structures. |
6 | * | 6 | * |
7 | * Developed and tested under Solaris 5.8 (both 32 and 64 bit modes). | 7 | * Developed and tested under Solaris 5.8 (both 32 and 64 bit modes). |
8 | * | 8 | * |
9 | * NOTE: This program must be setuid-root (or run by root) to work! | 9 | * NOTE: This program must be setuid-root (or run by root) to work! |
10 | * | 10 | * |
11 | * Written: 2005-04-28 R.W.Ingraham | 11 | * Written: 2005-04-28 R.W.Ingraham |
12 | */ | 12 | */ |
13 | 13 | ||
14 | 14 | ||
15 | #define _KMEMUSER 1 | 15 | #define _KMEMUSER 1 |