OPNsense-Dashboard icon indicating copy to clipboard operation
OPNsense-Dashboard copied to clipboard

Gateway panel is not showing data

Open tismofied opened this issue 2 years ago • 8 comments

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.

Image

tismofied avatar Feb 23 '23 04:02 tismofied

any ideas @bsmithio ?

tismofied avatar Feb 25 '23 15:02 tismofied

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?

bsmithio avatar Feb 25 '23 21:02 bsmithio

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?

tismofied avatar Feb 26 '23 03:02 tismofied

@bsmithio Hey Brandon, sorry to bother you. Just checking to see if you have a solution. 😄

tismofied avatar Feb 28 '23 14:02 tismofied

Having the same issue.

gateway_name=WAN_DHCP monitor="Unmonitored" status="Unavailable"

jsa91 avatar May 17 '23 17:05 jsa91

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.

bsmithio avatar May 20 '23 13:05 bsmithio

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:

phaelon74 avatar Apr 30 '24 20:04 phaelon74

image

phaelon74 avatar Apr 30 '24 20:04 phaelon74