summaryrefslogtreecommitdiffstats
path: root/plugins/check_nagios.c
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2013-10-01 00:47:08 +0200
committerJan Wagner <waja@cyconet.org>2014-07-28 22:13:02 +0200
commit2e8d440e73ac2b1875db5ecaf6df510fdcf6eb7a (patch)
treee6dc017c83e20719b740064aa7aebf49c75dee0b /plugins/check_nagios.c
parent98a670bf773b28868ff2d1c41daee4e7d497db4b (diff)
downloadmonitoring-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 'plugins/check_nagios.c')
0 files changed, 0 insertions, 0 deletions