mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
openvpn: Add metrics script
This script is called when an OpenVPN Roadwarrior client connects or disconnect and logs the start and duration of the session. This can be used to monitor session duration and data transfer. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
f81fe76354
commit
708f2b7368
@@ -105,6 +105,7 @@ endif
|
||||
done
|
||||
|
||||
# Move script to correct place.
|
||||
mv -vf /usr/local/bin/openvpn-metrics /usr/sbin/
|
||||
mv -vf /usr/local/bin/ovpn-ccd-convert /usr/sbin/
|
||||
mv -vf /usr/local/bin/ovpn-collectd-convert /usr/sbin/
|
||||
mv -vf /usr/local/bin/captive-cleanup /usr/bin/
|
||||
|
||||
Reference in New Issue
Block a user