RRD Summary calculating last month wrong
So when I looked on feb 29th, I was seeing that I had used about 290 GB of data in the current month. However, now that it's now march 2nd, I would think the number for "last month" would be pretty close to what "current month" was on the 29th, but instead it's showing that I used about 3.45 TB of data.
Screenshot of current stats:
Screenshot of corresponding RRD graphs:
The graphs pretty clearly show that I haven't used anywhere near 3.5 TB, so I assume the summary tool is calculating something wrong. Is this a bug other people have run into and/or is there something I've configured wrong?
I have a feeling it is the RRD Summary package, as the code built into the RRD graphing utilities is probably better than hand coding from rrdfetch if you want to obtain totals for a time period. Here is the RRD Summary code:
What's interesting is it calculates this month fine, just not last month. I wonder if something changed about the way it formats dates or the proper resolution for the data is different. Either way, I don't know nearly enough to have any hope of fixing that myself.
Razzfazz was kind enough to submit a PR: https://github.com/pfsense/FreeBSD-ports/pull/185
It just got merged, so you should be able to test in snapshots soon enough.