diff options
author | vpnable <39414318+vpnable@users.noreply.github.com> | 2018-12-11 21:44:44 +0100 |
---|---|---|
committer | Ilya Mashchenko <ilyamaschenko@gmail.com> | 2018-12-11 23:44:44 +0300 |
commit | 12cf7063074312a299450eeb20fef2e3a36a0d82 (patch) | |
tree | 5e066f534123502bceb1082c6150899c76ab9383 /collectors | |
parent | fe70512347fabdf662d69ba19796eb2457d22a9d (diff) |
fix month 'Dec' being detected as IPv6 address in ovpn python.d plugin (#4970)
Diffstat (limited to 'collectors')
-rw-r--r-- | collectors/python.d.plugin/ovpn_status_log/ovpn_status_log.chart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/python.d.plugin/ovpn_status_log/ovpn_status_log.chart.py b/collectors/python.d.plugin/ovpn_status_log/ovpn_status_log.chart.py index 15f72f9747..e0119af436 100644 --- a/collectors/python.d.plugin/ovpn_status_log/ovpn_status_log.chart.py +++ b/collectors/python.d.plugin/ovpn_status_log/ovpn_status_log.chart.py @@ -26,7 +26,7 @@ CHARTS = { } } -TLS_REGEX = r_compile(r'(?:[0-9a-f:]+|(?:\d{1,3}(?:\.\d{1,3}){3}(?::\d+)?)) (?P<bytes_in>\d+) (?P<bytes_out>\d+)') +TLS_REGEX = r_compile(r'(?:[0-9a-f]+:[0-9a-f:]+|(?:\d{1,3}(?:\.\d{1,3}){3}(?::\d+)?)) (?P<bytes_in>\d+) (?P<bytes_out>\d+)') STATIC_KEY_REGEX = r_compile(r'TCP/[A-Z]+ (?P<direction>(?:read|write)) bytes,(?P<bytes>\d+)') |