diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-01-30 10:53:47 (GMT) |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-01-30 10:53:47 (GMT) |
commit | fa4efcdf6df1096ff1f6740c7f44b213b47dc9d3 (patch) | |
tree | 0ed1a4147a920e10eae174c6d83118e8367aaa7d /plugins/check_nagios.c | |
parent | 39c3f58cdc82297b305326be076aa3b50ecba73d (diff) | |
download | monitoring-plugins-fa4efcdf6df1096ff1f6740c7f44b213b47dc9d3.tar.gz |
Bump plugins/ to GPLv3 (check_apt to check_nwstat)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1916 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_nagios.c')
-rw-r--r-- | plugins/check_nagios.c | 52 |
1 files changed, 25 insertions, 27 deletions
diff --git a/plugins/check_nagios.c b/plugins/check_nagios.c index 5703e60..b3088a1 100644 --- a/plugins/check_nagios.c +++ b/plugins/check_nagios.c | |||
@@ -1,45 +1,43 @@ | |||
1 | /****************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_nagios plugin | 3 | * Nagios check_nagios plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999-2006 nagios-plugins team | 6 | * Copyright (c) 1999-2007 Nagios Plugins Development Team |
7 | * | 7 | * |
8 | * Last Modified: $Date$ | 8 | * Last Modified: $Date$ |
9 | * | 9 | * |
10 | * Description: | 10 | * Description: |
11 | * | 11 | * |
12 | * This file contains the check_nagios plugin | 12 | * This file contains the check_nagios plugin |
13 | * | 13 | * |
14 | * This plugin checks the status of the Nagios process on the local machine | 14 | * This plugin checks the status of the Nagios process on the local machine. |
15 | * The plugin will check to make sure the Nagios status log is no older than | 15 | * The plugin will check to make sure the Nagios status log is no older than |
16 | * the number of minutes specified by the expires option. | 16 | * the number of minutes specified by the expires option. |
17 | * It also checks the process table for a process matching the command argument. | 17 | * It also checks the process table for a process matching the command |
18 | * | 18 | * argument. |
19 | * | 19 | * |
20 | * License Information: | 20 | * |
21 | * | 21 | * This program is free software: you can redistribute it and/or modify |
22 | * This program is free software; you can redistribute it and/or modify | ||
23 | * it under the terms of the GNU General Public License as published by | 22 | * it under the terms of the GNU General Public License as published by |
24 | * the Free Software Foundation; either version 2 of the License, or | 23 | * the Free Software Foundation, either version 3 of the License, or |
25 | * (at your option) any later version. | 24 | * (at your option) any later version. |
26 | * | 25 | * |
27 | * This program is distributed in the hope that it will be useful, | 26 | * This program is distributed in the hope that it will be useful, |
28 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 27 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
29 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 28 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
30 | * GNU General Public License for more details. | 29 | * GNU General Public License for more details. |
31 | * | 30 | * |
32 | * You should have received a copy of the GNU General Public License | 31 | * You should have received a copy of the GNU General Public License |
33 | * along with this program; if not, write to the Free Software | 32 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
34 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 33 | * |
35 | 34 | * $Id$ | |
36 | $Id$ | 35 | * |
37 | 36 | *****************************************************************************/ | |
38 | ******************************************************************************/ | ||
39 | 37 | ||
40 | const char *progname = "check_nagios"; | 38 | const char *progname = "check_nagios"; |
41 | const char *revision = "$Revision$"; | 39 | const char *revision = "$Revision$"; |
42 | const char *copyright = "1999-2006"; | 40 | const char *copyright = "1999-2007"; |
43 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 41 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
44 | 42 | ||
45 | #include "common.h" | 43 | #include "common.h" |