HAProxy Enterprise Documentation 1.6r2

disable agent

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.


  1. Use the command disable agent with 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-1.6/hapee-lb.sock stdio

See also

Next up

disable frontend