keepalived无法执行检测脚本报错

当关闭nginx,不会漂移VIP,keepalived只在进程被关闭,宕机,网络中断才会漂移VIP,所以写了个脚本,放到keepalived中执行,发现无法执行脚本,提示如下报错

Keepalived_vrrp: Registering gratuitous ARP shared channel
Keepalived_vrrp: Opening file '/etc/keepalived/keepalived.conf'
Keepalived_vrrp: WARNING - default user 'keepalived_script' for script execution doe[......]

继续阅读

发表在 keepalived | 留下评论