summaryrefslogtreecommitdiffstats
path: root/plugins/check_nagios.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_nagios.c')
-rw-r--r--plugins/check_nagios.c52
1 files changed, 25 insertions, 27 deletions
diff --git a/plugins/check_nagios.c b/plugins/check_nagios.c
index 5703e606..b3088a1d 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
40const char *progname = "check_nagios"; 38const char *progname = "check_nagios";
41const char *revision = "$Revision$"; 39const char *revision = "$Revision$";
42const char *copyright = "1999-2006"; 40const char *copyright = "1999-2007";
43const char *email = "nagiosplug-devel@lists.sourceforge.net"; 41const char *email = "nagiosplug-devel@lists.sourceforge.net";
44 42
45#include "common.h" 43#include "common.h"