summaryrefslogtreecommitdiffstats
path: root/collectors
diff options
context:
space:
mode:
authorvpnable <39414318+vpnable@users.noreply.github.com>2018-12-11 21:44:44 +0100
committerIlya Mashchenko <ilyamaschenko@gmail.com>2018-12-11 23:44:44 +0300
commit12cf7063074312a299450eeb20fef2e3a36a0d82 (patch)
tree5e066f534123502bceb1082c6150899c76ab9383 /collectors
parentfe70512347fabdf662d69ba19796eb2457d22a9d (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.py2
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+)')