Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_openvpn (hoschie)
96446
File | Description |
---|---|
check_openvpn.php | check_openvpn.php |
utils.php | utils.php |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
**Required:** OpenVPN 2.0+ status logfile v2
in your server config just add:
status /path/to/logfile
status-version 2
**Usage:** ./check_openvpn.php CommonName
**Results in:** VPN IP, Connected since, Received, Transmit:
OK: IP 10.10.10.9, Online Mon, 10:25 Uhr, RX: 9.25 kb, TX: 9.59 kb
or
OK: Client $client is not connected.
Currently BOTH vpn states report OK, because i just want to know the IP of the people logged in, not real Monitoring on it. But you can change this easily to state CRITICAL for monitoring permanent links.
in your server config just add:
status /path/to/logfile
status-version 2
**Usage:** ./check_openvpn.php CommonName
**Results in:** VPN IP, Connected since, Received, Transmit:
OK: IP 10.10.10.9, Online Mon, 10:25 Uhr, RX: 9.25 kb, TX: 9.59 kb
or
OK: Client $client is not connected.
Currently BOTH vpn states report OK, because i just want to know the IP of the people logged in, not real Monitoring on it. But you can change this easily to state CRITICAL for monitoring permanent links.
Reviews (0)
Be the first to review this listing!