diff options
Diffstat (limited to 'plugins/check_procs.c')
-rw-r--r-- | plugins/check_procs.c | 45 |
1 files changed, 22 insertions, 23 deletions
diff --git a/plugins/check_procs.c b/plugins/check_procs.c index f266cd76..690b8554 100644 --- a/plugins/check_procs.c +++ b/plugins/check_procs.c | |||
@@ -1,44 +1,43 @@ | |||
1 | /****************************************************************************** | 1 | /***************************************************************************** |
2 | * | 2 | * |
3 | * Nagios check_procs plugin | 3 | * Nagios check_procs plugin |
4 | * | 4 | * |
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999-2006 nagios-plugins team | 6 | * Copyright (c) 2000-2008 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_procs plugin | 12 | * This file contains the check_procs plugin |
13 | * | 13 | * |
14 | * Checks all processes and generates WARNING or CRITICAL states if the specified | 14 | * Checks all processes and generates WARNING or CRITICAL states if the |
15 | * metric is outside the required threshold ranges. The metric defaults to number | 15 | * specified metric is outside the required threshold ranges. The metric |
16 | * of processes. Search filters can be applied to limit the processes to check. | 16 | * defaults to number of processes. Search filters can be applied to limit |
17 | * | 17 | * the processes to check. |
18 | * License Information: | 18 | * |
19 | * | 19 | * |
20 | * This program is free software; you can redistribute it and/or modify | 20 | * 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 | 21 | * 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 | 22 | * the Free Software Foundation, either version 3 of the License, or |
23 | * (at your option) any later version. | 23 | * (at your option) any later version. |
24 | * | 24 | * |
25 | * This program is distributed in the hope that it will be useful, | 25 | * This program is distributed in the hope that it will be useful, |
26 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 26 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
27 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 27 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
28 | * GNU General Public License for more details. | 28 | * GNU General Public License for more details. |
29 | * | 29 | * |
30 | * You should have received a copy of the GNU General Public License | 30 | * You should have received a copy of the GNU General Public License |
31 | * along with this program; if not, write to the Free Software | 31 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
32 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 32 | * |
33 | * | ||
34 | * $Id$ | 33 | * $Id$ |
35 | * | 34 | * |
36 | ******************************************************************************/ | 35 | *****************************************************************************/ |
37 | 36 | ||
38 | const char *progname = "check_procs"; | 37 | const char *progname = "check_procs"; |
39 | const char *program_name = "check_procs"; /* Required for coreutils libs */ | 38 | const char *program_name = "check_procs"; /* Required for coreutils libs */ |
40 | const char *revision = "$Revision$"; | 39 | const char *revision = "$Revision$"; |
41 | const char *copyright = "2000-2006"; | 40 | const char *copyright = "2000-2008"; |
42 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 41 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
43 | 42 | ||
44 | #include "common.h" | 43 | #include "common.h" |