Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thor77/ovpnstats2influxdb

Output OpenVPN status metrics as InfluxDB metrics
https://github.com/thor77/ovpnstats2influxdb

openvpn openvpn-server openvpn-status

Last synced: about 8 hours ago
JSON representation

Output OpenVPN status metrics as InfluxDB metrics

Awesome Lists containing this project

README

        

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
```