OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Monthly Traffic Totals
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Monthly Traffic Totals  (Read 4196 times)

mimugmail

  • Hero Member
  • *****
  • Posts: 5180
  • Karma: 362
    • View Profile
Re: Monthly Traffic Totals
« Reply #15 on: November 27, 2018, 05:15:54 pm »
Data gets lost with the current version
Logged
IRC: mimugmail
Twitter: mimu_muc
WWW: www.routerperformance.net

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10328
  • Karma: 807
    • View Profile
Re: Monthly Traffic Totals
« Reply #16 on: November 27, 2018, 08:40:37 pm »
That can be fixed, but to be fair it's properly documented in the /var MFS help text and there are no easy exceptions. Tickets raised usually make this go away. :)


Thanks,
Franco
Logged

Ricardo

  • Full Member
  • ***
  • Posts: 187
  • Karma: 8
    • View Profile
Re: Monthly Traffic Totals
« Reply #17 on: November 28, 2018, 08:43:12 am »
Thanks mimugmail, franco.

I know the tmpfs is volatile, so I dont care much about data preserved across reboots for most of the stuff. But I know RRD is also generating output into /var andOR /tmp, and to preserve these RRD stats, there is periodic backup option of RRD (and thankfully it can be turned on/off as per need). As I said, for most logs of services I dont really care, but vnstat is used for a very specific reason: to show where I am staying with my monthly traffic cap. There are opnsense updates at least 1-2 times per month, so that would render my stats unusable this case.
That is why I wanted to check with you, if there are any plans to keep those stats survive in case of tmpfs storage.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10328
  • Karma: 807
    • View Profile
Re: Monthly Traffic Totals
« Reply #18 on: November 28, 2018, 01:36:27 pm »
As I said I'm happy to work on it in exchange for at ticket:

https://github.com/opnsense/plugins/issues


Cheers,
Franco
Logged

Ricardo

  • Full Member
  • ***
  • Posts: 187
  • Karma: 8
    • View Profile
Re: Monthly Traffic Totals
« Reply #19 on: November 28, 2018, 02:59:58 pm »
Sure, will do! Thanks very much.
Logged

unipacket

  • Newbie
  • *
  • Posts: 34
  • Karma: 1
    • View Profile
Re: Monthly Traffic Totals
« Reply #20 on: December 13, 2018, 02:45:02 am »
Hope you don't mind but I submitted a feature request on github.    :)

https://github.com/opnsense/plugins/issues/1061
Logged

  • Print
Pages: 1 [2]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Monthly Traffic Totals
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2021 All rights reserved
  • SMF 2.0.17 | SMF © 2019, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2