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

    Load Balancer Monitor explanations

    General pfSense Questions
    2
    3
    2.9k
    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.
    • U
      usarak
      last edited by

      Hello all,

      I am trying to configure a Load Balancer on a pfSense 2.0 and I stumble across some options in the monitor section that I'm not sure how to use.

      • If the monitor type is http or https I can fill 3 more options:

        Path  and HTTP code -> I assume that path this is the html path to the app that needs to send the selected HTTP code. Like if my server is x.x.x.x and path  is /my-app, pfsense will query for x.x.x.x/my-app and wait to return the selected code. Is that right?
        Host -> I have no idea what should go here and what is its purpose.

      • If the monitor type is send/expect I  can fill 2 more options: Send string and Expect string. Again, I have no clue about what this options do and what should I fill in.

      Could someone provide me with some explanations and use cases?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Path and code are right. The host is the hostname to send - if the server supports vhosts, you may want to check one host specifically, e.g. http://example.com/my-app then example.com would be the host.

        Send/Expect do what it says - it connects to the port, sends the send field, and if the result does not match the expect field, it fails. See the SMTP monitor for an example of that.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • U
          usarak
          last edited by

          Thanks for the explanations. All clear now  :).

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.