Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

Agent check with agent-send to a bash script

$
0
0

Hi,

I’ve been using http checks with HAProxy with the option httpcheck send-state which is very useful to pass the backend/server names, the node name…

I’d like to move to an agent-check to better control the load-balancing but I have trouble understanding how I could pass some data from HAProxy to the agent.
I’ve seen that agent-send is a low-level working solution from HAProxy’s perspective.
I have a working agent written in bash, but I don’t understand how to read the data passed by agent-send.

Anyone have already done this ?

Thanks.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>