diff options
Diffstat (limited to 'plugins/check_nagios.c')
-rw-r--r-- | plugins/check_nagios.c | 47 |
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 | ||