external monitoring

Started by simonheinrich, April 16, 2019, 03:04:53 PM

Previous topic - Next topic
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.

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.