• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.
  • K
    KOM
    last edited by Mar 10, 2014, 3:03 PM Mar 10, 2014, 2:20 PM

    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
    • B
      BBcan177 Moderator
      last edited by Mar 11, 2014, 1:33 AM

      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
      • K
        KOM
        last edited by Mar 11, 2014, 3:29 PM

        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
        • K
          KOM
          last edited by Mar 11, 2014, 6:16 PM

          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
          1 out of 4
          • First post
            1/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received