MON-142: updated monitors to latest best practices

This commit is contained in:
Boris Rousseau 2018-04-03 15:24:22 +02:00 committed by Quentin Manfroi
parent 8cf93046fb
commit de662094da

View File

@ -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 = ""
}