After noticing that my 5Ghz network had been dead (zero clients connected) for at least weeks if not months, I suspect due to a ROS update issue but I’m not sure, I’m starting to get a little more serious about routine monitoring — and who doesn’t like pretty graphs for that?
So on a sort of dashboard page I visit frequently, I am linking various ROS images — for example…
https://192.168.88.1/graphs/iface/wifi1/daily.gif
… and everything is great. Except I noticed on the interface for my uplink there’s a roughly two hour gap that ends right about the time I rebooted to do the upgrade to 7.19.2 and has a duration of about two hours.
None of the interface graphs show any data for that time, but I know I was still watching YouTube all the while. There are near-identical gaps in the memory and disk usage graphs too. So it’s system-wide. Looking back at longer-term graphs it appears I’m losing data on most or all reboots, so it’s not anything new either.
That of course makes me ask questions:
-
Is this a bug? I’ve ended up pulling power to the router unexpectedly several times recently due to UPS testing. But earlier today during the update, and in fact most times in the past year, I’ve used the “reboot” function in WinBox. Surely one of the last things “reboot” does would be syncing data out to storage.
-
/tool/graphing print shows “store-every: 5min” so … why did I lose ~2 hours worth of data? This is probably the most distressing part of it all. If it was just a five minute gap I probably wouldn’t even notice, and I almost certainly wouldn’t care. Maybe I’m just not understanding what that really means?
-
Is there some way I can force data to be written out? Losing two hours of interface data is not a big deal to me, but maybe someday it will matter more. If I can avoid this by taking a little extra effort on my planned reboots I certainly will do so.
P.S. If there’s a way to get at something more like the fancy real-time SVGs available in WinBox and WebFig that would be really awesome. I’d gladly give up storage space to keep that data around long-term and allow nicer graphs to be produced even if they can’t update in real time.
Anyway … thanks in advance!