Project

General

Profile

Actions

Bug #14715

open

HAProxy Agent-Check are not enabled in the config despite being checked in the UI

Added by Jacques Bourdeau 8 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
haproxy
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.8.x
Affected Plus Version:
23.05.1
Affected Architecture:
All

Description

Related to Bug #14714 which also does not populate the config file properly for agent-check based monitoring in HAProxy.

Description

For my load balancing, I ended up needing to use Agent-based checks in HAProxy.

I configured it in my pfSense+ (23.05.1 ; VM in ESXi 6.7) and its HAProxy package (HAProxy devel 0.63_1).

For that, I created the Frontend and the Backend.
In the Backend, I selected None for Healt Check Method to avoid my service blacklisting HAProxy for too many invalid connections.
I also checked the Agent Checks and configured its port.
I left blank the Agent Interval to accept the default.

(Bug No 1 is described in Bug #14714)
Bug No 2 :
No checks performed
When reviewing the config file as generated, the SERVER line that describes the backend is missing the command word "check" that enables the agent-checking process.
Workaround is to add that word in the advanced option offered in the top of the form (where SSL checking is also defined).
Fix : the fact that Agent-Checking is itself checked, that check command should be added to every server in that backend.

No data to display

Actions

Also available in: Atom PDF