Stop sending health check probes to an agent program running on a server.
This command prevents new health checks from initiating until the agent is enabled again.
This is useful when you need to reconfigure the weight of a server without having the agent override it.
You must have an external health check agent running with the
agent-check parameter in the
server directive in the configuration file.
Use the command
disable agentwith the name of the server on which you want to stop health checks temporarily.
$ echo "disable agent be_servers/server1" | sudo socat /var/run/hapee-2.5/hapee-lb.sock stdio
Next updisable dynamic-cookie backend