Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    HAProxy feature request (listen stats :8080)

    pfSense Packages
    1
    2
    1855
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jst last edited by

      Hi,

      Would it be possible to add listen stats : [8080  ]  on the HAProxy listner setup (gui) ?

      today, the stats page works on the same port as the other clients.
      this works fine if you have a browser connected to the stats page WITHOUT having a connection to the actual application.
      As soon as you connect to the application, the stats page won't work anymore.

      This can be prevented by listening to another port.
      Also, this makes it possible to add a rule for only certain ip's to see the stats page.

      example:
      http://192.168.2.129/haproxy?stats ==> works, stats are shown
      http://192.168.2.129/application  ==> application works ok
      http://192.168.2.129/haproxy?stats ==>  stats are not shown, instead, the request goes to the application server and is no longer intercepted

      tnx a lot,
      have fun!
      jst.

      pfsense is great!

      1 Reply Last reply Reply Quote 0
      • J
        jst last edited by

        i found a work around:

        this can be done by
        add extra virtual ip,
        add extra  HAProxy listener
        add extra server pool (can be to non existing server, but at least one server)

        then use tis extra virtual ip for the stats, all listners are shown on the same stats page.

        but it's a waste of a extra public ip

        tnx,
        have fun!
        jst.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post