OPNsense Forum

English Forums => General Discussion => Topic started by: simonheinrich on April 16, 2019, 03:04:53 PM

Title: external monitoring
Post by: simonheinrich on April 16, 2019, 03:04:53 PM
Hi,

do you know a way for external monitoring of (especially) the open vpn server status? I want to integrate the status of an opnsense client into our own monitoring system. So I wonder if I can for example curl a specific url with username / password as post parameters at get the status such as uptime / transfered data as response.
Title: Re: external monitoring
Post by: faunsen on April 28, 2019, 08:26:44 PM
You could add a Monit service that checks the VPN status and query it via API call.
https://wiki.opnsense.org/development/api.html
https://wiki.opnsense.org/development/api/plugins/monit.html

Or let Monit send notifications per email to your monitoring system.