Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 856 Bytes

README.md

File metadata and controls

31 lines (16 loc) · 856 Bytes

Open VPN Pfsense Telegraf Metrics

The script is based on community work from:

https://forum.netgate.com/topic/151351/email-notification-openvpn-client-connect-common-name/78

REQUIREMENTS

Pfsense

Telegraf package

Open VPN

IMPLEMENTATION

In your Open VPN server custom options, you will need to add the following line:

client-disconnect /root/disconnect.sh

Place the disconnect.sh script to /root.

Make the script executable (chmod 555 disconnect.sh).

Copy the contents of disconnect.sh in this repository to your new file.

In the Telegraf Additional Configuration box, add the contents of telegraf.conf.

Data should now be present to pull from InfluxDB.