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.c45
1 files changed, 21 insertions, 24 deletions
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c
index 84e62d20..ad15a77c 100644
--- a/plugins/check_mysql.c
+++ b/plugins/check_mysql.c
@@ -1,44 +1,41 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_mysql plugin 3* Nagios check_mysql plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 1999 Didi Rieder (adrieder@sbox.tu-graz.ac.at) 6* Copyright (c) 1999 Didi Rieder (adrieder@sbox.tu-graz.ac.at)
7* Copyright (c) 1999-2006 nagios-plugins team 7* Copyright (c) 2000 Karl DeBisschop (kdebisschop@users.sourceforge.net)
8* Copyright (c) 2000 Karl DeBisschop (kdebisschop@users.sourceforge.net) 8* Copyright (c) 1999-2007 Nagios Plugins Development Team
9* 9*
10* Last Modified: $Date$ 10* Last Modified: $Date$
11* 11*
12* Description: 12* Description:
13* 13*
14* This file contains the check_mysql plugin 14* This file contains the check_mysql plugin
15* 15*
16* This program tests connections to a mysql server 16* This program tests connections to a mysql server
17* 17*
18* 18*
19* License Information: 19* This program is free software: you can redistribute it and/or modify
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 20* 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 21* the Free Software Foundation, either version 3 of the License, or
24* (at your option) any later version. 22* (at your option) any later version.
25* 23*
26* This program is distributed in the hope that it will be useful, 24* This program is distributed in the hope that it will be useful,
27* but WITHOUT ANY WARRANTY; without even the implied warranty of 25* but WITHOUT ANY WARRANTY; without even the implied warranty of
28* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29* GNU General Public License for more details. 27* GNU General Public License for more details.
30* 28*
31* You should have received a copy of the GNU General Public License 29* You should have received a copy of the GNU General Public License
32* along with this program; if not, write to the Free Software 30* along with this program. If not, see <http://www.gnu.org/licenses/>.
33* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 31*
34*
35* $Id$ 32* $Id$
36* 33*
37******************************************************************************/ 34*****************************************************************************/
38 35
39const char *progname = "check_mysql"; 36const char *progname = "check_mysql";
40const char *revision = "$Revision$"; 37const char *revision = "$Revision$";
41const char *copyright = "1999-2006"; 38const char *copyright = "1999-2007";
42const char *email = "nagiosplug-devel@lists.sourceforge.net"; 39const char *email = "nagiosplug-devel@lists.sourceforge.net";
43 40
44#define SLAVERESULTSIZE 70 41#define SLAVERESULTSIZE 70