HAproxy Monitoring with PMM-Agent "Status Failed"

Description:

I have an issue after adding the ‘haproxy’ service for monitoring on the PMM Server using the pmm2 agent. Data collection works correctly, but the service appears as ‘Failed’ on the ‘Services’ page in the monitoring. Specifically, it’s the state of the agent type ‘External exporter’ that shows as ‘Unknown.’ All other states are correctly ‘Running.’ As mentioned earlier, the service monitoring functions correctly despite the state.

Steps to Reproduce:

I have installed and configured the agent using the following commands:
apt-get install pmm2-client
pmm-admin config --server-insecure-tls --server-url=https://admin:admin@127.0.0.1
pmm-admin add haproxy --listen-port=8404

The configuration for haproxy is as follows:

listen stats
bind :8404
mode http
stats enable
stats uri /stats
stats auth admin:admin
option http-use-htx
http-request use-service prometheus-exporter if { path /metrics }
stats refresh 10s

Version:

OS Ubuntu: Versione 22.04
PMM Server: Version: 2.41.0
PMM Client: Version: 2.41.0
PMM Admin: Version: 2.41.0
HAproxy: Version 2.4.24

Actual Result:

There are no error logs anywhere; the service is functioning correctly. I have tried testing the service on RHEL 9 as well, obtaining the exact same result. I hope for assistance from an expert in the community. Thank you very much."

Hello @Jaunker,
it’s a known bug on PMM side, please follow these Jira tasks PMM-12478 and PMM-12072 to get notification when it is fixed.

2 Likes

Thank you @nurlan :slightly_smiling_face:
I hope the bug gets fixed soon, thanks again.

1 Like