summaryrefslogtreecommitdiffstats
path: root/debian/pluginconfig/mysql.cfg
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:48:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:48:23 +0000
commit1996ee29b14379b832b08614ed9a3acef376b6fa (patch)
tree814166bc23fef6ad8ba11da1673018a8e937d3f5 /debian/pluginconfig/mysql.cfg
parentAdding upstream version 2.3.5. (diff)
downloadmonitoring-plugins-debian.tar.xz
monitoring-plugins-debian.zip
Adding debian version 2.3.5-1.debian/2.3.5-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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$'
+}
+