Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
howto: monit ping test
« previous
next »
Print
Pages: [
1
]
Author
Topic: howto: monit ping test (Read 4374 times)
manilx
Jr. Member
Posts: 88
Karma: 4
howto: monit ping test
«
on:
August 19, 2022, 07:26:08 pm »
Hi
I've searched but didn't find a tutorial on this.
I want to use Monit to do a ping test to google to check if the wan is down. Every x seconds.
How can I do this?
I added a monit service/setting with: type "Remote Host", Address "8.8.8.8", Tests "Ping" all the rest defaults.
I don't know of this is correct.
Help appreciated.
Logged
axsdenied
Full Member
Posts: 199
Karma: 9
Re: howto: monit ping test
«
Reply #1 on:
August 20, 2022, 02:31:02 am »
Are you aware that OPNsense already does this with your wan interface? It just checks the first hop and is available for view in the dashboard via the "Gateways" Widget.
You can also specify a "Monitor IP" via SYSTEM:GATEWAYS:SINGLE to something outside of your providers network.
Logged
OPNsense 24.7.7 running on:
Dell Optiplex 3050
Intel I5-7600 @ 3.5Ghz (4 Cores)
Intel I350-T4 Nic
8G DDR4
256G SSD
manilx
Jr. Member
Posts: 88
Karma: 4
Re: howto: monit ping test
«
Reply #2 on:
August 20, 2022, 05:19:04 pm »
Thx.
I found out about this after posting this. "Disable Gateway Monitoring" was on, Turned it off and put 8.8.8.8 in the "Monitor IP".
I can now see the outages in the Reporting/Health/Quality.
But I'd still like to know if and how it's possible to do with Monit ping test.
Logged
bsdfans
Newbie
Posts: 23
Karma: 0
Re: howto: monit ping test
«
Reply #3 on:
January 15, 2024, 12:18:10 pm »
Anybody could be kind enough to show us a HOWTO about "monit ping test and auto reboot after ping failed"
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
howto: monit ping test