Reference
disable agent
On this page
Stop sending health check probes to an agent program running on a server.
Description Jump to heading
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.
Examples Jump to heading
Use the command disable agent
with the name of the server on which you want to stop health checks temporarily.
bash
echo "disable agent be_servers/server1" | \sudo socat stdio tcp4-connect:127.0.0.1:9999
bash
echo "disable agent be_servers/server1" | \sudo socat stdio tcp4-connect:127.0.0.1:9999
See also Jump to heading
If this page was useful, please, Leave the feedback.