So I've been using your dashboard for some time now and I've seen a couple of comments about people saying gateway RTT is off by a factor of 100.
On the last iteration I ran into the issue myself and implemented the same fix (*100) in the old python version telegraf_gateways-3.7.py.
I'm afraid I don't php properly and I am unsure where to add this fix in the new version (telegraf_pfifgw.php).
Perhaps we can implement a more permanent fix in your php script because I found out that the stats are always off on specific types of gateways.
WAN gateway: ms
IPSEC VPN gateway: ms
OpenVPN gateway: needs 100
Wireguard VPN gateway: needs 100
I currently don't have an L2TP tunnel, so that one I don't know :( If I had to guess, ms. Would be nice if someone can confirm this.
This goes for min/max/avg/current on the dashboard:
It could either be fixed on the intake (telegraf_pfifgw.php) or on the dashboard side (query).
I'd prefer changing it on the intake, so the data is also similarly formatted in influxdb.
So I've been using your dashboard for some time now and I've seen a couple of comments about people saying gateway RTT is off by a factor of 100. On the last iteration I ran into the issue myself and implemented the same fix (*100) in the old python version telegraf_gateways-3.7.py. I'm afraid I don't php properly and I am unsure where to add this fix in the new version (telegraf_pfifgw.php).
Perhaps we can implement a more permanent fix in your php script because I found out that the stats are always off on specific types of gateways. WAN gateway: ms IPSEC VPN gateway: ms OpenVPN gateway: needs 100 Wireguard VPN gateway: needs 100 I currently don't have an L2TP tunnel, so that one I don't know :( If I had to guess, ms. Would be nice if someone can confirm this.
This goes for min/max/avg/current on the dashboard:![image](https://user-images.githubusercontent.com/5772741/129972301-0035373c-0f5e-4dbb-ad85-d070f9651071.png)
It could either be fixed on the intake (telegraf_pfifgw.php) or on the dashboard side (query). I'd prefer changing it on the intake, so the data is also similarly formatted in influxdb.
Thoughts?