Page 1 of 1

Bug in Bandwidth Usage Report

Posted: Wed Nov 28, 2018 11:02 am
by gzaloprgm
Hi.
I've found a bug in "Bandwidth Usage Report". The data from the montly table is shifted by 1 day:

Image

I think it is related to timezones, since when creating the "rrdtool fetch" command the local time is used for the starting and ending arguments (1514775600 and 1517454000 as it can be seen from the picture). However, RRDs do their consolidation based on GMT/UTC timezones. If your time zone is <0, a point is missing from the command output and causes the offset.

Another consequence of this behavior regarding RRDs is that the "daily usage" actualiy considers the bandwidth of multiple days (but I understand that it's something that can't be fixed easily), depending on your timezone.

Thanks, Gonzalo

Re: Bug in Bandwidth Usage Report

Posted: Wed Nov 28, 2018 5:52 pm
by ssax
Thank you for reporting this, I will submit it to the developers.

Edit: I will lab this up and let you know if I find a quick fix, I will update you tomorrow.