haproxy: Take into account haproxy_stats_path for munin
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good

This commit is contained in:
Mathieu Trossevin 2022-08-10 10:24:55 +02:00
parent 0748a090c3
commit 141423f966
Signed by: mtrossevin
GPG key ID: D1DBB7EA828374E9

View file

@ -1,4 +1,4 @@
[haproxy_*] [haproxy_*]
{% if haproxy_stats_internal_enable %} {% if haproxy_stats_internal_enable %}
env.url http://{{ haproxy_stats_internal_host }}:{{ haproxy_stats_internal_port }}/;csv;norefresh env.url http://{{ haproxy_stats_internal_host }}:{{ haproxy_stats_internal_port }}{{ haproxy_stats_path }};csv;norefresh
{% endif %} {% endif %}