Reference

enable agent

Resume sending health check probes to an agent program running on a server.

You must have an external health check agent running with the agent-check parameter on the server directive in a backend section.

Description Jump to heading

Use the enable agent command to start sending health checks to an agent program running on a server if they had been disabled previously.

Examples Jump to heading

Use the command enable agent with the name of the server on which you want to resume health checks.

bash
echo "disable agent servers/server1" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
bash
echo "disable agent 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.

© 2023 HAProxy Technologies, LLC. All Rights Reserved
Manage Cookie Preferences