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

How to get (count of) active backends of HAProxy?

$
0
0

I can monitor HAProxy stats via

listen stats
   stats uri /<URI>

and

curl ../<URI>

I need to get backends info and I’ve searched such way:

echo “show backend” |
sudo socat stdio tcp4-connect:<IP>:<PORT>

but it nothing returns.

Should I define similar section in the HAProxy configuration before using such .. API?

Otherwise there’re no configuration issues and show backend is built-in API endpoint and there’re other problems (user/password maybe)?

So what’s the next steps I need to follow to resolve the issue?

2 posts - 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>