-
- Downloads
Replace openvpn-exporter with textfile exporter.
The upstream openvpn-exporter was emitting high cardinality metrics, because of the CN being an unique identifier based off of the certificate. This would cause the tsdb to fill with unnecessary, and unrelated metrics. This removes that exporter (which has not seen commits for years) and replaces it with the prometheus-node-exporter textfile collector, which will emit metrics produced by the shell script that is run every 10 seconds. It will only emit these metrics: openvpn_server_connected_clients{status_path="/tmp/openvpn-status-tcp"} openvpn_server_connected_clients{status_path="/tmp/openvpn-status-udp"} openvpn_up{status_path="/tmp/openvpn-status-tcp"} openvpn_up{status_path="/tmp/openvpn-status-udp"}
parent
54c64ebb
Branches new_ovpn_exporter
Tags
Showing
- Dockerfile 5 additions, 3 deletionsDockerfile
- conf/services.d/openvpn-exporter/run 1 addition, 2 deletionsconf/services.d/openvpn-exporter/run
- conf/services.d/prometheus-node-exporter/finish 4 additions, 0 deletionsconf/services.d/prometheus-node-exporter/finish
- conf/services.d/prometheus-node-exporter/run 4 additions, 0 deletionsconf/services.d/prometheus-node-exporter/run
- openvpn-metrics.sh 43 additions, 0 deletionsopenvpn-metrics.sh
conf/services.d/prometheus-node-exporter/run
0 → 100755
openvpn-metrics.sh
0 → 100755
Please register or sign in to comment