Enable version display for HAProxy stats page

Started by Taomyn, June 30, 2022, 02:30:12 PM

Previous topic - Next topic

Is there a way to override the default setting for HAProxy that hides the version number? I'd like my Zabbix server to be able to get the information:



listen  remote_statistics
    bind            192.168.1.1:8822
    mode            http
    stats uri       /haproxy?stats
    stats hide-version
    acl auth_ok http_auth(stats_auth)
    stats http-request allow if auth_ok
    stats http-request auth realm HAProxy\ statistics



There's no "stats show-version" that I can place in the custom options box, and the only one that may work is "stats enable" but that sets everything to default which I think could break things.