Ad Widget

Collapse

Discussion thread for official Zabbix Template HAProxy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cova
    Junior Member
    • Jan 2022
    • 1

    #46
    Dear all,

    Zabbix agent is requesting successfully haproxy status:

    26856:20220127:223254.107 Requested [web.page.get["http://172.30.161.49:8404/haproxy?stats"]]
    26856:20220127:223254.109 Sending back [HTTP/1.1 200 OK....
    [Page stats response]

    However in Latest Data for HaProxy I'm just seeing these 4 items:

    Click image for larger version

Name:	Screen Shot 2022-01-27 at 21.44.25.png
Views:	519
Size:	65.4 KB
ID:	438816

    How can I see results for per example HAProxy {#PXNAME} {#SVNAME}: Number of responses with codes 2xx per second ? I need to setup something else than importing template?

    Thanks for your kindly support.

    Attached Files

    Comment

    • Taomyn
      Junior Member
      • Feb 2021
      • 21

      #47
      Hi, I'd like to propose an additional macro to cleanly specify the HAProxy host to connect to

      Click image for larger version

Name:	image.png
Views:	529
Size:	4.9 KB
ID:	460747

      This continues to use {HOST.CONN} as the default and all direct references replaced with the new macro but then it can be overridden for when it's necessary as in my case when the stats page is only exposed on 127.0.0.1

      I made this change myself but when I updated to 6.4 and imported the latest template I forgot and needed to remake them - hence coming here to make the request.

      Comment

      • Peckle
        Junior Member
        • Mar 2025
        • 1

        #48
        Hey, firstly thanks for the template.

        I noticed for server and backend status items we have a preprocessing to ignore unchanged values every 10 minutes. I understand the idea behind this but in combination with the server/backend down trigger requiring 5 values returning down it means it's takes 50 minutes to trigger an alarm for the back end going down.

        This is is a long time when trying to keep services highly available. Wondering if we could remove this processor or add a macro for the number of down messages needed in these alarms so the sensitivity can be dialed.

        Thanks in advance

        Comment

        Working...