diff options
author | Jan Wagner <waja@cyconet.org> | 2013-10-01 00:47:08 +0200 |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2014-07-28 22:13:02 +0200 |
commit | 2e8d440e73ac2b1875db5ecaf6df510fdcf6eb7a (patch) | |
tree | e6dc017c83e20719b740064aa7aebf49c75dee0b /lib/tests/test_cmd.c | |
parent | 98a670bf773b28868ff2d1c41daee4e7d497db4b (diff) | |
download | monitoring-plugins-2e8d440e73ac2b1875db5ecaf6df510fdcf6eb7a.tar.gz |
check_mysql: ignore authentication failure
This patch allows checking if MySQL server is running without providing valid
username and password. Similar to check_ssh plugin it returns MySQL server
version string and protocol number.
Example:
check_mysql -n -H aaa.bbb.ccc.ddd
MySQL OK - Version: 5.0.51a-24+lenny5 (protocol 10)
This is useful for monitoring servers where one does not have administrator
privileges or does not want to grant any privileges for the monitoring station.
To enable this functionality new option --ignore-auth (-n) is added to
check_mysql plugin.
Thanks to Julius Kriukas
Closes #1020
Closes #1178
Diffstat (limited to 'lib/tests/test_cmd.c')
0 files changed, 0 insertions, 0 deletions