Monthly Traffic Totals

Started by guest15389, August 23, 2018, 07:38:36 PM

Previous topic - Next topic

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

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.

As I said I'm happy to work on it in exchange for at ticket:

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


Cheers,
Franco

Sure, will do! Thanks very much.

Hope you don't mind but I submitted a feature request on github.    :)

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