Plugin:OpenVPN

From collectd Wiki

Jump to: navigation, search
OpenVPN plugin
Type: read
Callbacks: config, read
Status: supported
First version: 4.6
Copyright: 2008 Doug MacEachern
2009 Florian octo Forster
2009 Marco Chiappero
License: GPLv2
Manpage: collectd.conf(5)
List of Plugins

The OpenVPN plugin reads the status file printed by OpenVPN, an open source SSL VPN solution. If OpenVPN is configured to run in Server mode (sometimes known as multi mode, too), RX and TX statistics for each connected client are collected. If compression is activated, compression statistics are collected.

Synopsis

<Plugin "openvpn">
 StatusFile "/var/log/openvpn-status.log"
 StatusFile "/var/log/openvpn-status_pp.log"
 StatusFile "/var/log/openvpn-status_udp.log"
 StatusFile "/var/log/openvpn-status_wlan.log"
 #
 # Since 23. March 2010
 # http://github.com/octo/collectd/commit/f4c25b4b234ba63fb9b15c2219d55d8af3e3f39d
 #
 # Collect one RRD for each logged in user
 CollectIndividualUsers false
 #
 # Aggregate number of connected users
 CollectUserCount true
 #
 # Store compression statistics
 CollectCompression false
 #
 # Use new NamingSchema
 ImprovedNamingSchema false
</Plugin>

Example graphs

Dependencies

  • none