mapletree/keepalived/keepalived.conf.tpl
2026-01-27 22:21:31 -07:00

39 lines
No EOL
589 B
Smarty

global_defs {
router_id 51
script_user root
enable_script_security
}
vrrp_script chk_komodo {
# CONTAINER PATH (Inside the mount)
script "/checks/check_komodo.sh"
interval 2
weight -5
fall 2
rise 1
}
vrrp_instance VI_1 {
state {{STATE}}
interface eth0
virtual_router_id 51
priority {{PRIORITY}}
advert_int 1
unicast_peer {
{{PEER}}
}
authentication {
auth_type PASS
auth_pass {{PASSWORD}}
}
virtual_ipaddress {
{{VIP}}
}
track_script {
chk_komodo
}
}