pfSense-Dashboard
pfSense-Dashboard copied to clipboard
No Gateway as variable
I've managed to get most of the dashboard working on pfSense 2.6 (Influx 1.8.10) but can't seem to get any gateway info to display in the Gateway RTT gauge. The variable (dropdown menu) for Gateways is also empty. Have i missed a step somewhere? Everything else is working great! Awesome work on this! 👍
Hi everyone, Same problem here. I have gateways Loss data but no RTT's Edit : I change "mean(rtt)" to "mean(delay)" as mentioned in issue 47 and it works fine
I also have the same issue and have no gateways in the menu.
Did you find a solution?
I was having the same problem and I think that I found what was causing the issue. Two problems, in my case:
Plugin file telegraf_pfifgw.php, line 64 ends with status
printf(
"interface,host=%s,name=%s,ip4_address=%s,ip4_subnet=%s,ip6_address=%s,ip6_subnet=%s,mac_address=%s,friendlyname=%s,source=%s status=%s\n",
It should be ifstatus (variable defined on line 74)
printf(
"interface,host=%s,name=%s,ip4_address=%s,ip4_subnet=%s,ip6_address=%s,ip6_subnet=%s,mac_address=%s,friendlyname=%s,source=%s ifstatus=%s\n",
I am using a wifi card, the status associated isn't defined, so I added that definition
I found it using the debug command "telegraf --test --config /usr/local/etc/telegraf.conf". Since these erros happen before the gateway section, gateways data are not populated on the database.
I think that issue #64 has the same cause.
diff:
29a30,32
> }
> if (strtolower($ifstatus) == "associated") {
> $ifstatus = 1;
31,33d33
<
<
<
67c67
< "interface,host=%s,name=%s,ip4_address=%s,ip4_subnet=%s,ip6_address=%s,ip6_subnet=%s,mac_address=%s,friendlyname=%s,source=%s status=%s\n",
---
> "interface,host=%s,name=%s,ip4_address=%s,ip4_subnet=%s,ip6_address=%s,ip6_subnet=%s,mac_address=%s,friendlyname=%s,source=%s ifstatus=%s\n",