Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gateway panel is not showing data #39

Open
tismofied opened this issue Feb 23, 2023 · 8 comments
Open

Gateway panel is not showing data #39

tismofied opened this issue Feb 23, 2023 · 8 comments

Comments

@tismofied
Copy link

tismofied commented Feb 23, 2023

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
Copy link
Author

any ideas @bsmithio ?

@bsmithio
Copy link
Owner

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?

@tismofied
Copy link
Author

tismofied commented Feb 26, 2023

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
Copy link
Author

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

@jsa91
Copy link

jsa91 commented May 17, 2023

Having the same issue.

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

@bsmithio
Copy link
Owner

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.

@phaelon74
Copy link

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
Copy link

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants