Skip to content

Thor77/ovpnstats2influxdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ovpnstats2influxdb

Read metrics from OpenVPN openvpn-status.log and output them as InfluxDB metrics.

Installation

  • Build it yourself with go build main.go and move the binary somewhere into your $PATH

Usage

Add it as an exec plugin to your telegraf.conf:

[[inputs.exec]]
    commands = ["/usr/bin/ovpnstats -path /etc/openvpn/server/openvpn-status.log"]
    data_format = "influx"
    timeout = 1

About

Output OpenVPN status metrics as InfluxDB metrics

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages