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

    BandwidthD - how to send data to MySQL?

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 2 Posters 4.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.
    • B
      bob76535
      last edited by

      I recently added the BandwidthD package to our pfsense box. It works great but we want to send the data to our MySQL server (sits on our LAN). It appears to have an option (somewhere) to send to a DB but I can find no documentation on it. The BandwidthD forums are old and dead and I can't find any docs for it.

      Can anyone here enlighten me.

      Thanks

      Bob

      1 Reply Last reply Reply Quote 0
      • B
        bob76535
        last edited by

        I have found out a little bit about the problem here so I though I would add. It does not support MySQL but we just added Postgresql to one of the lan machine to handle that. The real problem is that the package that is installed from the pfsense package manager is the non database capable version. To use an external DB the database capable package needs to be installed. I can't seem to figure out how to do that. I have searched for instructions but I have found none.

        Has anyone else out there done this successfully? We want to log the bandwidth used by each IP behind the firewall. They are all static public ips and there is no DHCP. If BandwidthD can't cut it, is there a package that will?

        Thanks

        Bob

        1 Reply Last reply Reply Quote 0
        • R
          rkelleyrtp
          last edited by

          Hey Bob,

          Have you tried using MRTG or Cacti on a management server instead of using bandwidthd on the pfSense machine?  You can use SNMP to poll the pfSense machines to collect the data.

          -Ron

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