aboutsummaryrefslogtreecommitdiff
path: root/modules/pkgs/icinga2/check_mysql_slave.patch
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2018-12-11 18:10:48 +0300
committerIgor Pashev <pashev.igor@gmail.com>2018-12-11 18:10:48 +0300
commit8b0968b2054d3bb8d90b5ac056727f7c2ebeaed3 (patch)
treed03b70f693463fc836a8dbe4240424d2547530c8 /modules/pkgs/icinga2/check_mysql_slave.patch
parentc4273035cf5876e3ba8ed2c6b492d31c2de290ee (diff)
downloadnixsap-8b0968b2054d3bb8d90b5ac056727f7c2ebeaed3.tar.gz
(* HUGE *) Use nixpkgs overlays
Diffstat (limited to 'modules/pkgs/icinga2/check_mysql_slave.patch')
-rw-r--r--modules/pkgs/icinga2/check_mysql_slave.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/modules/pkgs/icinga2/check_mysql_slave.patch b/modules/pkgs/icinga2/check_mysql_slave.patch
deleted file mode 100644
index 0658a8a..0000000
--- a/modules/pkgs/icinga2/check_mysql_slave.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-Index: icinga2-2.4.1/itl/command-plugins.conf
-===================================================================
---- icinga2-2.4.1.orig/itl/command-plugins.conf
-+++ icinga2-2.4.1/itl/command-plugins.conf
-@@ -1775,6 +1775,36 @@ object CheckCommand "mysql" {
- vars.mysql_hostname = "$check_address$"
- }
-
-+object CheckCommand "mysql_slave" {
-+ import "plugin-check-command"
-+ import "ipv4-or-ipv6"
-+
-+ command = [ PluginDir + "/check_mysql_slave" ]
-+
-+ arguments = {
-+ "-H" = "$mysql_hostname$"
-+ "-P" = "$mysql_port$"
-+ "-s" = "$mysql_socket$"
-+ "-f" = "$mysql_file$"
-+ "-g" = "$mysql_group$"
-+ "-u" = "$mysql_username$"
-+ "-p" = "$mysql_password$"
-+ "-N" = "$mysql_connection_name$"
-+ "-w" = "$mysql_warning$"
-+ "-c" = "$mysql_critical$"
-+ "-l" = {
-+ set_if = "$mysql_ssl$"
-+ }
-+ "-C" = "$mysql_cacert$"
-+ "-a" = "$mysql_cert$"
-+ "-k" = "$mysql_key$"
-+ "-D" = "$mysql_cadir$"
-+ "-L" = "$mysql_ciphers$"
-+ }
-+
-+ vars.mysql_hostname = "$check_address$"
-+}
-+
- object CheckCommand "negate" {
- import "plugin-check-command"
-