A collectd plugin for collecting metrics from OpenVPN Access Server 2.0
This plugin is designed with Librato in mind but will probably work with normal collectd too.
- Put
sacli.py
at/opt/sacli.py
. You can change the location by editing the plugin file. - Put
collectd-openvpn-as.py
at/opt/collectd/share/collectd/collectd-openvpn-as.py
. - Configuration file goes at
/opt/collectd/etc/collectd.conf.d/openvpn-as.conf
. There are no configurable parameters. - Restart collectd.
librato.openvpn_as.users.current
: Current users on the VPNlibrato.openvpn_as.users.license_max
: Max license count availablelibrato.openvpn_as.vpn_connections.bytes.in
: Bytes rx, per userlibrato.openvpn_as.vpn_connections.bytes.out
: Bytes tx, per userlibrato.openvpn_as.vpn_connections.duration.seconds
: Session duration in seconds, per user