I have updated to the latest version in the github repo and then reapplied my changes to fix the gateways view.
When ipv4 and ipv6 are enabled on a single you need gateway_name as a primary key as otherwise the groupby interface doesn't work correctly as you have 2 gateways both with igb0 interface name.
I changed grafana to group by gateway_name instead of interface. This is basically reverting to the same behaviour as existed approx 1 month ago.
Not sure why there are so many changes having exported the json. perhaps i have a different version of grafana? Version of Grafana used when making the changes: Grafana v7.4.3 (010f20c1c8)
I only changed the gateway variable to:
SHOW TAG VALUES FROM "gateways" WITH KEY = "gateway_name" WHERE "host" =~ /^$Host$/
Changed group by on Gateway RTT and Gateway Loss charts to gateway_name
Added gateway_name to Gateway Summary. Added interface to this list so both gateway_name and interface can be seen.
Following on from my posts here:
netgate forums
I have updated to the latest version in the github repo and then reapplied my changes to fix the gateways view.
When ipv4 and ipv6 are enabled on a single you need gateway_name as a primary key as otherwise the groupby interface doesn't work correctly as you have 2 gateways both with igb0 interface name.
I changed grafana to group by gateway_name instead of interface. This is basically reverting to the same behaviour as existed approx 1 month ago.
Not sure why there are so many changes having exported the json. perhaps i have a different version of grafana? Version of Grafana used when making the changes: Grafana v7.4.3 (010f20c1c8)
I only changed the gateway variable to: SHOW TAG VALUES FROM "gateways" WITH KEY = "gateway_name" WHERE "host" =~ /^$Host$/
Changed group by on Gateway RTT and Gateway Loss charts to gateway_name
Added gateway_name to Gateway Summary. Added interface to this list so both gateway_name and interface can be seen.
Changes to telegraf output can be observed below:
telegraf --test --config /usr/local/etc/telegraf.conf
before:
The changes to the telegraf output can be seen below: telegraf --test --config /usr/local/etc/telegraf.conf
after: