@pvyaka01 wrote:
Can someone pls help with this?
I’ve setup a consul based dynamic discovery for haproxy backends. - something like:
server-template test-ui 8 _test-ui._tcp.service.consul check resolvers ConsulAutoDiscovery check init-addr noneAuto discovery runs good and i can see 8 backends in the stats page showing and whichever ones are discovered are green. So far great. Here’s the issue:
- All the backends that do not have any ip associated show up as “down” in stats page as opposed to MAINT. I read that they will show up as MAINT.
- We’ve Prometheus scraping configured but now that these non-ip backends show up as down, we get constant alerts for haproxy backend down.
Did anyone encounter this problem? What is a good solution?
Thanks!
Posts: 1
Participants: 1