Page MenuHomeVyOS Platform

Support additional health check protocols in reverse-proxy
Closed, ResolvedPublicFEATURE REQUEST

Description

HAProxy supports more health check protocols than just HTTP, we should make these available in VyOS reverse-proxy configuration.

Example of how this could be configured in VyOS:

set load-balancing reverse-proxy backend bk-01 health-check ldap
set load-balancing reverse-proxy backend bk-01 health-check redis
set load-balancing reverse-proxy backend bk-01 health-check mysql
set load-balancing reverse-proxy backend bk-01 health-check pgsql
set load-balancing reverse-proxy backend bk-01 health-check smtp

This would then render in haproxy.cfg the corresponding option:

backend bk-01
      option ldap-check
      option redis-check
      option mysql-check
      option pgsql-check
      option smtpchk

Details

Difficulty level
Easy (less than an hour)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

Embezzle changed the task status from Open to In progress.
Embezzle claimed this task.
Embezzle changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
syncer triaged this task as Normal priority.Jun 2 2024, 1:37 PM
syncer moved this task from Need Triage to Backlog on the VyOS 1.5 Circinus board.
Embezzle changed the task status from In progress to Needs testing.Jun 3 2024, 4:32 PM

Tested as working in: VyOS 1.5-rolling-202406060020