
VPN Software
check_openvpn (hoschie)
Description:
Check if a particular user is logged in depending on his **CommonName**.
Current Version
Last Release Date
June 23, 2009
Compatible With
Owner
Project Files
File | Description |
---|---|
check_openvpn.php | |
utils.php |
Project Notes
**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.
Reviews
(0)
Add a Review
Page Sections
Project Stats
Rating
0 (0)
Favorites
0
Views
96,403