From b4c51ee6e4059f1c6c95df53560b9b34cd9cd64d Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Tue, 27 Feb 2007 07:57:50 +0000 Subject: [PATCH] add check command for checking mysql database --- debian/pluginconfig/mysql.cfg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/pluginconfig/mysql.cfg b/debian/pluginconfig/mysql.cfg index 1b9ad0f..a1adf9c 100644 --- a/debian/pluginconfig/mysql.cfg +++ b/debian/pluginconfig/mysql.cfg @@ -9,3 +9,9 @@ define command{ command_name check_mysql_cmdlinecred command_line /usr/lib/nagios/plugins/check_mysql -H $HOSTADDRESS$ -u $ARG1$ -p $ARG2$ } + +# 'check_mysql_database' command definition +define command{ + command_name check_mysql_database + command_line /usr/lib/nagios/plugins/check_mysql -d $ARG3$ -H $HOSTADDRESS$ -u $ARG1$ -p $ARG2$ +}