Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Simple interface status monitoring
« previous
next »
Print
Pages: [
1
]
Author
Topic: Simple interface status monitoring (Read 1374 times)
bullfrog_au
Newbie
Posts: 7
Karma: 0
Simple interface status monitoring
«
on:
December 15, 2023, 01:10:07 am »
Hi All,
Simple requirement, but not immediately obvious how to implement.
I have a basic OPNSense instance running on dedicated hardware. 1 WAN, 1 LAN.
My WAN interface is dropping for brief periods throughout the day. This is nothing to do with OPNSense, its the ISP device that is dropping.
What I am looking for is a way to capture when the interface is down. It is reported on the dashboard WHILE its down, but there is nothing in the GUI logs.
I have NetFlow and Insight running, but this isn't really showing the interface status, only the traffic (or lack of).
Simplest solution is a log that I can query that shows
Interface (WAN):Up:(~time)
Interface (WAN):Down:(~time)
Interface (WAN):Up:(~time)
and so on.
Best solution would be to push these events out to / be able to query them from a different server on my network.
End goal is to be able to show ISP how unstable their network/ hardware is and force them to fix it.
Im sure there is an OOTB solution, I just need to be pointed in the right direction!
Thanks in advance.
Logged
36thchamber
Jr. Member
Posts: 57
Karma: 2
Re: Simple interface status monitoring
«
Reply #1 on:
January 25, 2024, 12:50:58 am »
that' all in Health section. You can easily see blackouts there.
Logged
CJ
Hero Member
Posts: 832
Karma: 30
Re: Simple interface status monitoring
«
Reply #2 on:
January 25, 2024, 03:14:21 pm »
Make sure gateway monitoring is turned on. I assume it is if you're seeing the status on the dashboard. But yes, the Health section will show you the results of the monitoring over time.
Additionally, you'll want to leave the monitor IP alone so that it will automatically resolve to the ISP gateway. Changing it to something like Google DNS will just add further noise into the situation. If you want to monitor more than just the gateway, look into smokeping.
Lastly, you may need to add a DHCP exclusion for your ISP equipment. A lot of them will hand out a local IP when the connection goes down which will prevent the monitor from realizing that there's a problem.
Logged
Have Answer, Will Blog
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Simple interface status monitoring