From de662094dad4290f0609fd6e8f0cd2bf1b588c8d Mon Sep 17 00:00:00 2001 From: Boris Rousseau Date: Tue, 3 Apr 2018 15:24:22 +0200 Subject: [PATCH] MON-142: updated monitors to latest best practices --- databases/mysql/inputs.tf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/databases/mysql/inputs.tf b/databases/mysql/inputs.tf index 2c73edd..b238bd3 100644 --- a/databases/mysql/inputs.tf +++ b/databases/mysql/inputs.tf @@ -38,6 +38,18 @@ variable "mysql_connection_threshold_warning" { description = "Maximum warning acceptable percent of connections" } +variable "mysql_connection_silenced" { + description = "Groups to mute mysql connection monitor" + type = "map" + default = {} +} + +variable "mysql_connection_message" { + description = "Custom message for MySQL connection monitor" + type = "string" + default = "" +} + ################################# ### MySQL threads ### ################################# @@ -51,3 +63,15 @@ variable "mysql_thread_threshold_warning" { default = 400 description = "Maximum critical acceptable number of threads" } + +variable "mysql_thread_silenced" { + description = "Groups to mute mysql threads monitor" + type = "map" + default = {} +} + +variable "mysql_thread_message" { + description = "Custom message for MySQL thread monitor" + type = "string" + default = "" +}