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

    How to Reset All Monitoring Data?

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 2 Posters 3.6k 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.
    • KOMK
      KOM
      last edited by

      I have an instance of pfSense 2.1 that I have been playing with and configuring.  Now that I'm ready to put it into production, I want to know how to reset all the metrics taht have accumulated over the past few weeks:

      bandwidthd
      darkstat
      sarg
      lightsquid

      How do you clear them?  At least RRD Graphs has a user button to reset the data.

      1 Reply Last reply Reply Quote 0
      • BBcan177B
        BBcan177 Moderator
        last edited by

        I'm not sure if you can do that, but you can always save the conf file and rebuilt the box fairly quickly.

        "Experience is something you don't get until just after you need it."

        Website: http://pfBlockerNG.com
        Twitter: @BBcan177  #pfBlockerNG
        Reddit: https://www.reddit.com/r/pfBlockerNG/new/

        1 Reply Last reply Reply Quote 0
        • KOMK
          KOM
          last edited by

          I'm certainly sure that you can.  When you remove these packages and then reinstall them, all the old data is still there.  The data is separate from the package, and can be blown away.  I just need to know what, and where.

          1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            pfSense Support is the bomb:

            Uninstall all monitors, delete their data directories then reinstall:

            Lightsquid: rm -rf /var/lightsquid/
            Sarg: rm -rf /usr/local/sarg-reports/
            Bandwidthd: rm -rf /usr/local/bandwidthd
            Darkstat: Doesn't keep persistent data

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