summaryrefslogtreecommitdiffstats
path: root/debian/pluginconfig/mysql.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'debian/pluginconfig/mysql.cfg')
-rw-r--r--debian/pluginconfig/mysql.cfg24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/pluginconfig/mysql.cfg b/debian/pluginconfig/mysql.cfg
new file mode 100644
index 0000000..e8c8a65
--- /dev/null
+++ b/debian/pluginconfig/mysql.cfg
@@ -0,0 +1,24 @@
+# 'check_mysql' command definition
+define command{
+ command_name check_mysql
+ command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$' '$ARG1$'
+}
+
+# 'check_mysql_cmdlinecred' command definition
+define command{
+ command_name check_mysql_cmdlinecred
+ command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$' -u '$ARG1$' -p '$ARG2$' '$ARG3$'
+}
+
+# '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$' '$ARG3$'
+}
+
+# '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 '$ARG3$'
+}
+