The OpenVPN Roadwarrior traffic graphs are empty or doesn't show all data. My customer has some associates who currently only works remote and the graphs arent't showing data. What information can i provide to help solve this problem? Kind regards Timo
This bug is a duplicate of 12615 and a patch has already been submitted *** This bug has been marked as a duplicate of bug 12615 ***
Created attachment 897 [details] RW connections logs
Created attachment 898 [details] RW graph
No it's not a duplicate of 12615. I already applied the patch mentioned in 12615 and the graphs are rendered correctly, but they are not showing all data. See the attached screenshots (the graph is from the RW with the highest connection time). I have also attached the rrd of the RW with the highest connection time.
Created attachment 899 [details] RW rrd
So the RRD file shows "NaN" for most of time which suggests that collectd could not gather any data. Did this happen after installing Core Update 155 or 156? Does collectd log anything suspicious?
I don't know at which point that issue started, sorry. The only suspicous messages of collectd are: May 8 16:35:04 ipfire collectd[44857]: uc_update: Value too old: name = localhost/openvpn-RW/if_octets_derive; value time = 1620484504; last cache update = 1620484504; May 8 16:35:04 ipfire collectd[44857]: Filter subsystem: Built-in target `write': Dispatching value to the `rrdtool' plugin failed with status -1.
Could you check the system time for me please? It looks like time jumped and you can only append to a RRD file.
[root@ipfire log]# date Fri May 21 12:56:01 PM CEST 2021 [root@ipfire log]# hwclock n2021-05-21 12:56:03.606322+1:00 [root@ipfire log]# ntpq -p remote refid st t when poll reach delay offset jitter ============================================================================== *LOCAL(0) .LOCL. 10 l 58 64 377 0.000 +0.000 0.000 Time is ok i think and NTP is configured to sync every hour.
Could you try renaming this RRD file, restart collectd and see if it starts collecting correctly? Maybe the file is just corrupted.
I have renamed the RRD and restarted collectd. Collectd started without error messages, but the RRD file wasn't created. I assume the file will be created when there is data collected, correct? I think then we have to wait for the user to connect next week.
(In reply to Timo Eissler from comment #11) > I assume the file will be created when there is data collected, correct? Yes, collectd contacts the openvpn process which returns all active connections only.
After renaming all RW rrd's the data collection seams to be fine now again. I will have a look at the graphs after one or two weeks and will close this threads if everything is ok?!