mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-20 08:25:50 +08:00
update
This commit is contained in:
@@ -20,7 +20,7 @@ vrrp_script chk_mysql_port {
|
||||
script "{$PLUGIN_PATH}/scripts/chk_mysql.sh"
|
||||
#脚本执行间隔,每2s检测一次
|
||||
interval 2
|
||||
#脚本结果导致的优先级变更,检测失败(脚本返回非0)则优先级 -5
|
||||
#脚本结果导致的优先级变更,检测失败(脚本返回非0)则优先级 -5
|
||||
weight –5
|
||||
#检测连续2次失败才算确定是真失败。会用weight减少优先级(1-255之间)
|
||||
fall 2
|
||||
|
||||
Reference in New Issue
Block a user