summaryrefslogtreecommitdiffstats
path: root/plugins/check_mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_mysql.c')
-rw-r--r--plugins/check_mysql.c34
1 files changed, 28 insertions, 6 deletions
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c
index 8c7e4ef..e10211f 100644
--- a/plugins/check_mysql.c
+++ b/plugins/check_mysql.c
@@ -1,17 +1,39 @@
1/****************************************************************************** 1/******************************************************************************
2* 2*
3* CHECK_MYSQL.C 3* Nagios check_mysql plugin
4* 4*
5* Program: Mysql plugin for Nagios
6* License: GPL 5* License: GPL
7* Copyright (c) 1999 Didi Rieder (adrieder@sbox.tu-graz.ac.at) 6* Copyright (c) 1999 Didi Rieder (adrieder@sbox.tu-graz.ac.at)
8* portions (c) 2000 Karl DeBisschop (kdebisschop@users.sourceforge.net) 7* Copyright (c) 1999-2006 nagios-plugins team
8* Copyright (c) 2000 Karl DeBisschop (kdebisschop@users.sourceforge.net)
9* 9*
10* $Id$ 10* Last Modified: $Date$
11* 11*
12* Description: 12* Description:
13* 13*
14* This plugin is for testing a mysql server. 14* This file contains the check_mysql plugin
15*
16* This program tests connections to a mysql server
17*
18*
19* License Information:
20*
21* This program is free software; you can redistribute it and/or modify
22* it under the terms of the GNU General Public License as published by
23* the Free Software Foundation; either version 2 of the License, or
24* (at your option) any later version.
25*
26* This program is distributed in the hope that it will be useful,
27* but WITHOUT ANY WARRANTY; without even the implied warranty of
28* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29* GNU General Public License for more details.
30*
31* You should have received a copy of the GNU General Public License
32* along with this program; if not, write to the Free Software
33* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
34*
35* $Id$
36*
15******************************************************************************/ 37******************************************************************************/
16 38
17const char *progname = "check_mysql"; 39const char *progname = "check_mysql";