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)
96007
File | Description |
---|---|
check_openvpn.php | check_openvpn.php |
utils.php | utils.php |
**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!