OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: alsoeric on August 08, 2024, 12:32:55 PM

Title: simple network monitoring (like smokeping)
Post by: alsoeric on August 08, 2024, 12:32:55 PM
I'm trying to monitor my network from inside the firewall, onto my local network, and out to the Internet. The immediate need is to determine why SSH connections break and why connections to streaming services "stall" (streaming, aqua speech recognition, video conferencing)

Monit is a possibility but I don't want to send alerts to an email address. in this case, I don't want immediate alerts. I'll review the data as needed. If I need immediate alerts, I prefer sending alerts to my phone, for example, NTFY.

Functionally, I like Smoke Ping because I'm familiar with it and like the way it presents the data. There is a related package called Vaping which presents ping data the same way as smokeping

Are there any other alternatives that I should be aware of?
Title: Re: simple network monitoring (like smokeping)
Post by: Seimus on August 08, 2024, 12:43:31 PM
Not on the FW itself per say.

But I use Uptime-Kuma, it serves as front end and as well as backend for other tools. You would have to however run it on different device.
https://github.com/louislam/uptime-kuma

Regards,
S.
Title: Re: simple network monitoring (like smokeping)
Post by: alsoeric on August 08, 2024, 07:16:01 PM
Thanks for the suggestion. I don't think it's good to work because it doesn't give me the information I want/need. Smoking ping packet loss presentation is really useful.
Title: Re: simple network monitoring (like smokeping)
Post by: tracerrx on August 10, 2024, 03:58:32 PM
You can do the monitoring with monit easily enough... not sure about the notification other than email though.... but under monit advanced settings there are some options for logging to another file and httpd server... 

See This Link "Monitor Wiregaurd Tunnel on OPNsense"
https://nicholassaraniti.com/2024/07/30/monitor-wiregaurd-tunnel-on-opnsense/
(https://nicholassaraniti.com/2024/07/30/monitor-wiregaurd-tunnel-on-opnsense/)

TLDR;

Services -> Monit -> Settings -> Service Test Settings
       Add Test
          Name: WG_VPN_ALERT
          Condition: failed ping address INSERT SOURCE IP
          Action: Alert

Services -> Monit -> Settings -> Service Settings
     Add Service
        Enable Service Checks: Checked
        Name: WG_VPN   
        Type: Remote Host
        Address: INSERT DESTINATION IP
        Tests: WG_VPN_ALERT