Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/thor77/ovpnstats2influxdb
- Owner: Thor77
- Created: 2019-02-06T19:29:25.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-06T19:30:19.000Z (almost 6 years ago)
- Last Synced: 2024-09-11T01:55:58.619Z (about 2 months ago)
- Topics: openvpn, openvpn-server, openvpn-status
- Language: Go
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```