Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Gateway status API
« previous
next »
Print
Pages: [
1
]
Author
Topic: Gateway status API (Read 1754 times)
proxykid
Newbie
Posts: 16
Karma: 0
Gateway status API
«
on:
July 27, 2020, 07:03:07 pm »
Hi
I'm trying to find a way for another platform we have read the current gateway statuses and display alerts while using it.
Is there any way to read via API/JSON the gateway statuses? I have 3 ISPs which I would like to monitor without having to login to OPNSense GUI.
Thanks
Logged
matthewsdi
Newbie
Posts: 7
Karma: 1
Re: Gateway status API
«
Reply #1 on:
August 15, 2020, 09:15:21 pm »
I've added a feature request
https://github.com/opnsense/core/issues/4261
, and Ad Schellevis also gave me the cli equivalent if that helps you in the comments there.
Code:
[Select]
pluginctl -r return_gateways_status
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Gateway status API