summaryrefslogtreecommitdiffstats
path: root/plugins/check_mrtg.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_mrtg.c')
-rw-r--r--plugins/check_mrtg.c47
1 files changed, 32 insertions, 15 deletions
diff --git a/plugins/check_mrtg.c b/plugins/check_mrtg.c
index f98239c7..12e367bd 100644
--- a/plugins/check_mrtg.c
+++ b/plugins/check_mrtg.c
@@ -1,18 +1,35 @@
1/****************************************************************************** 1/******************************************************************************
2 2*
3 This program is free software; you can redistribute it and/or modify 3* Nagios check_mrtg 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_mrtg 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 will check either the average or maximum value of one of the
15 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 15* two variables recorded in an MRTG log file.
16*
17*
18* License Information:
19*
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
22* the Free Software Foundation; either version 2 of the License, or
23* (at your option) any later version.
24*
25* This program is distributed in the hope that it will be useful,
26* but WITHOUT ANY WARRANTY; without even the implied warranty of
27* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28* GNU General Public License for more details.
29*
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
32* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
16 33
17 $Id$ 34 $Id$
18 35
@@ -20,7 +37,7 @@
20 37
21const char *progname = "check_mrtg"; 38const char *progname = "check_mrtg";
22const char *revision = "$Revision$"; 39const char *revision = "$Revision$";
23const char *copyright = "1999-2004"; 40const char *copyright = "1999-2006";
24const char *email = "nagiosplug-devel@lists.sourceforge.net"; 41const char *email = "nagiosplug-devel@lists.sourceforge.net";
25 42
26#include "common.h" 43#include "common.h"