Schlomo Schapiro‎ > ‎Projects‎ > ‎

OpenVPN SNMP PHP Status

OpenVPN SNMP PHP Status exports the status of an OpenVPN server via SNMP to a PHP script. Comes with a parser to turn the OpenVPN status into a useful data structure.

The output looks like this:

OpenVPN Status Display

This information was last updated on 2007-09-18 18:08:43

Client Remote Provider Connected Received (MB) Sent (MB)
gw.test212.202.36.254QSC Privat2007-09-18 17:54:090.0540.013
gw.berlin87.4.9.2QSC2007-09-18 16:15:4641.21294.002

Download the openvpn-snmp-status.php script file (attached below) and adjust it to suit your environment.
ċ
openvpn-snmp-status.php.txt
(6k)
Schlomo Schapiro,
Oct 10, 2011, 2:29 PM
Comments