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

    Captive portal monitoring

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 3 Posters 3.1k Views
    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.
    • E
      EngineerSB
      last edited by

      Appologies if this is the wrong area or its answered somewhere I have not yet found - there is so much info on here now its hard to find what you're looking for.

      We have a very stable and functioning pfsence setup , the captive portal is fantastic.

      We already remote monitor the bandwidth via snmp of the firewall and that works a treat, what we're wanting to add to the monitoring is how many users currently there are on the system.

      Dont mind writing some scripture to do this, would prefer to do it via snmp so just need to know the oid (doesnt seem to be within the mib file we already have) is that varible available anywhere on the system? - it would be a bore to have to login to the webgui and desiminate the page for the infomation.

      thanks.

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

        Unfortunately that isn't already handled by the snmp daemon we have, and it isn't easy to add custom scripts to this snmp daemon either (part of a sacrifice for its smaller footprint and faster speed…)

        You might be able to use a local agent or ssh to report back the size of the captive portal db, you really just need to run something like "wc -l /var/db/captiveportal.db" and you'd get back a count.

        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
        • T
          tfarber
          last edited by

          We use a remote syslog server and log all the portal authentications to a database.  Then have a web front-end to display.  Have it broken down by subnets that represents a certain facility in our guest network.  We know how many customers are connected by location.  Works great…

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