OPNsense-Dashboard
OPNsense-Dashboard copied to clipboard
Gateway panel is not showing data
As the title. The Gateway panel shows unavailable and unmonitored
I noticed in another issue Here not adding sudo
to telegraf_pfifgw.php
the gateway doesn't work. I did exactly whats in the guide. but it's still blank.
any ideas @bsmithio ?
any ideas @bsmithio ?
Try this command on an OPNsense shell
sudo su -m telegraf -c 'telegraf --test --config /usr/local/etc/telegraf.conf --config-directory /usr/local/etc/telegraf.d'
Do you get any gateway stats there?
I get this output:
> gateways,gateway_name=WAN_DHCP,host=MY HOST NAME HERE,interface=wan delay=0,gwdescr="Interface WAN_DHCP Gateway",loss=0,monitor="Unmonitored",source="public ip here",status="Unavailable",stddev=0
I found this Issue on pfsense version on github could it be I have the same issue?
@bsmithio Hey Brandon, sorry to bother you. Just checking to see if you have a solution. 😄
Having the same issue.
gateway_name=WAN_DHCP monitor="Unmonitored"
status="Unavailable"
I'm trying to replicate this but the only progress I've found is going to the gateway under System -> Gateways -> Single -> Edit gateway -> and seeing if "Disable gateway monitoring" is checked. If it is, uncheck it and apply. This should fix that issue.
I'm trying to replicate this but the only progress I've found is going to the gateway under System -> Gateways -> Single -> Edit gateway -> and seeing if "Disable gateway monitoring" is checked. If it is, uncheck it and apply. This should fix that issue.
The challenge I see, is I uncheck that but when I run the command at CLI, it still shows the interface as Unmonitored and nothing shows up in the dashboard:
> gateways,gateway_name=WAN_GW_2,host=FW01,interface=wan delay=0.3,gwdescr="Interface WAN Gateway",loss=0,monitor="Unmonitored",source="XX.YY.WW.ZZ",status="1",stddev=0 NUMBER
But I can now see stats on the interface, which I could not before I unchecked the Do Not Monitor: