From fd7b65e7a8b8a2cf1a8d7adcdf4956b9881e9055 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Mon, 27 Feb 2012 21:09:05 +0000 Subject: [PATCH] add check_mysql_slave command definition --- debian/changelog | 1 + debian/pluginconfig/mysql.cfg | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/debian/changelog b/debian/changelog index 7bb0e7d..539a096 100644 --- a/debian/changelog +++ b/debian/changelog @@ -17,6 +17,7 @@ nagios-plugins (1.4.15-6) UNRELEASED; urgency=low * Add 19_check_http_help.dpatch to clarify that check_http won't verify certificates (Closes: #644627), thanks to Michael Renner * Add check_jabber and check_jabber_4 command definitions + * Add check_mysql_slave command definition -- Jan Wagner Wed, 07 Sep 2011 15:33:55 +0200 diff --git a/debian/pluginconfig/mysql.cfg b/debian/pluginconfig/mysql.cfg index aecba69..a64cf17 100644 --- a/debian/pluginconfig/mysql.cfg +++ b/debian/pluginconfig/mysql.cfg @@ -15,3 +15,10 @@ define command{ command_name check_mysql_database command_line /usr/lib/nagios/plugins/check_mysql -d '$ARG3$' -H '$HOSTADDRESS$' -u '$ARG1$' -p '$ARG2$' } + +# 'check_mysql_slave' command definition +define command{ + command_name check_mysql_slave + command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$' -u '$ARG1$' -p '$ARG2$' -S +} +