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

    Email bandwith usage per MAC address

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 2 Posters 970 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.
    • C
      cc11
      last edited by

      Hi All,

      I have just set up a pfsense system running the latest 2.3.2, it is working well.

      What I want to do is have a daily text email that sends me the total bandwidth usage per MAC address, I have the mail package installed and that sends various logs to me periodically, but I have not found a way to get the details I need, I am happy to write scripts + cron jobs etc.. to do this, I am just not sure what tools are available to gather this data.

      thanks for any help

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        Probably need to send softflow data to something that can parse that out for you. Softflow probably won't give you layer 2 information so you'll probably have to match that up with DHCP data or something.

        Splunk or maybe graylog can probably do it if fed the right information.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • C
          cc11
          last edited by

          thanks, I do not really want to run another system, is it possible with in built tools or plugins, if it is done by IP address rather then MAC address?, I could just get the MAC address to IP look up from the lease information and replace the details later?

          thanks

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            Maybe darkstat, maybe ntopng, maybe status_traffic_totals if any of those give you what you're looking for.

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • C
              cc11
              last edited by

              ntopng has the data i want, but I can not see how to extract it with a command to include the data in the email report, ntopng  cli manpage just looks like configuration options, not extraction options.

              any ideas?

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