summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 50b3ff7)
raw | patch | inline | side by side (parent: 50b3ff7)
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Wed, 20 May 2009 04:20:11 +0000 (00:20 -0400) | ||
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Wed, 20 May 2009 04:20:11 +0000 (00:20 -0400) |
NEWS | patch | blob | history | |
THANKS.in | patch | blob | history | |
plugins/check_mysql.c | patch | blob | history | |
plugins/check_mysql_query.c | patch | blob | history |
index c5b591a92f9256a8ac04c342bfaa99c7b58c07c7..a7830252ec1f90cf515cbc66216108c16837f7ef 100644 (file)
--- a/NEWS
+++ b/NEWS
Fixed segfault in check_mysql with old slaves (#2696823 - Oskar Ahner)
check_nt can return UNKNOWN on timeouts (-u)
Fixed typos for check_disk (Chris Pepper)
+ Fixed check_mysql* not using password set in my.cnf (#2531905 - Ben Timby) - Specify an empty password explicitly if you need to override it.
1.4.13 25th Sept 2008
Fix Debian bug #460097: check_http --max-age broken (Hilko Bengen)
diff --git a/THANKS.in b/THANKS.in
index 5417f66cdab0f55b1fd33c7e46da5fce21ff2b7c..4fe6425bcde75581162f162fcbe2b8d41d40de8e 100644 (file)
--- a/THANKS.in
+++ b/THANKS.in
John Barbuto
Oskar Ahner
Chris Pepper
+Ben Timby
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c
index 689648eb843672d5632e828049b8c3a89826d530..05d2b019c276c627f6e4ed8bc5277cb1936db693 100644 (file)
--- a/plugins/check_mysql.c
+++ b/plugins/check_mysql.c
* License: GPL
* Copyright (c) 1999 Didi Rieder (adrieder@sbox.tu-graz.ac.at)
* Copyright (c) 2000 Karl DeBisschop (kdebisschop@users.sourceforge.net)
-* Copyright (c) 1999-2007 Nagios Plugins Development Team
+* Copyright (c) 1999-2009 Nagios Plugins Development Team
*
* Description:
*
if (db_host == NULL)
db_host = strdup("");
- if (db_pass == NULL)
- db_pass = strdup("");
-
if (db == NULL)
db = strdup("");
printf ("\n");
printf ("%s\n", _("Notes:"));
printf (_(UT_EXTRA_OPTS_NOTES));
+ printf ("\n");
+ printf (" %s\n", _("You must specify -p with an empty string to force an empty password,"));
+ printf (" %s\n", _("overriding any my.cnf settings."));
#endif
printf (_(UT_SUPPORT));
index 802e345611114be73825d39f7b411d56f03fdf2a..47dd86163daee69a0381b0f4e2d92c238713935a 100644 (file)
* Nagios check_mysql_query plugin
*
* License: GPL
-* Copyright (c) 2006-2007 Nagios Plugins Development Team
+* Copyright (c) 2006-2009 Nagios Plugins Development Team
* Original code from check_mysql, copyright 1999 Didi Rieder
*
* Description:
if (db_host == NULL)
db_host = strdup("");
- if (db_pass == NULL)
- db_pass = strdup("");
-
if (db == NULL)
db = strdup("");
printf ("\n");
printf ("%s\n", _("Notes:"));
printf (_(UT_EXTRA_OPTS_NOTES));
+ printf ("\n");
+ printf (" %s\n", _("You must specify -p with an empty string to force an empty password,"));
+ printf (" %s\n", _("overriding any my.cnf settings."));
#endif
printf (_(UT_SUPPORT));