
我正在使用Consol 實驗室 MySQL 健康檢查監控我的 MySQL 資料庫的插件。
我想更改參數的警告和嚴重閾值threads connected
,但忘記如何更改。
我的支票是service.cfg
這樣設定的:
define service {
use mysql-service
hostgroup_name mysql-servers
check_interval 1
service_description MySQL Threads Connected
_mysql_mode threads-connected
check_command check_mysql_health
}
我無法記住在上述配置的哪一部分中定義了閾值?
我已經嘗試過,check_mysql_health:20:40
但check_mysql_health! -w 20: -c 40:
它們都不起作用。
有人知道我怎麼做到嗎?