summaryrefslogtreecommitdiffstats
path: root/plugins/check_nagios.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2006-10-19 00:25:16 +0000
committerBenoit Mortier <opensides@users.sourceforge.net>2006-10-19 00:25:16 +0000
commit082cfc29e3673abf595d70cd05f0a483947c22d5 (patch)
treead3b7e973e4cb01c1fc02999da2ad3b0640f1b99 /plugins/check_nagios.c
parent584562a48ea731a3bf98d66c6602c64e1e72c63a (diff)
downloadmonitoring-plugins-082cfc29e3673abf595d70cd05f0a483947c22d5.tar.gz
first pass at cleaning localization for new release
first pass at making all the headre be the same licence, plugin, etc... git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1499 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_nagios.c')
-rw-r--r--plugins/check_nagios.c47
1 files changed, 33 insertions, 14 deletions
diff --git a/plugins/check_nagios.c b/plugins/check_nagios.c
index c7be780f..a6ae71f2 100644
--- a/plugins/check_nagios.c
+++ b/plugins/check_nagios.c
@@ -1,18 +1,37 @@
1/****************************************************************************** 1/******************************************************************************
2 2*
3 This program is free software; you can redistribute it and/or modify 3* Nagios check_nagios plugin
4 it under the terms of the GNU General Public License as published by 4*
5 the Free Software Foundation; either version 2 of the License, or 5* License: GPL
6 (at your option) any later version. 6* Copyright (c) 1999-2006 nagios-plugins team
7 7*
8 This program is distributed in the hope that it will be useful, 8* Last Modified: $Date$
9 but WITHOUT ANY WARRANTY; without even the implied warranty of 9*
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10* Description:
11 GNU General Public License for more details. 11*
12 12* This file contains the check_nagios plugin
13 You should have received a copy of the GNU General Public License 13*
14 along with this program; if not, write to the Free Software 14* This plugin checks the status of the Nagios process on the local machine
15 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 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.
17* It also checks the process table for a process matching the command argument.
18*
19*
20* License Information:
21*
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
24* the Free Software Foundation; either version 2 of the License, or
25* (at your option) any later version.
26*
27* This program is distributed in the hope that it will be useful,
28* but WITHOUT ANY WARRANTY; without even the implied warranty of
29* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30* GNU General Public License for more details.
31*
32* You should have received a copy of the GNU General Public License
33* along with this program; if not, write to the Free Software
34* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
16 35
17 $Id$ 36 $Id$
18 37