summaryrefslogtreecommitdiffstats
path: root/collectors/python.d.plugin/varnish
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2021-10-01 21:43:45 +0300
committerGitHub <noreply@github.com>2021-10-01 21:43:45 +0300
commit2339fbbb39bc49eb52c61cacc690e566f73daa06 (patch)
treeedb85f8ae1cc849874a099de4793b866f896622e /collectors/python.d.plugin/varnish
parent2af1d56dd34ef99a76b2d6bdd5144b8f236327d3 (diff)
fix varnish VBE parsing (#11596)
Diffstat (limited to 'collectors/python.d.plugin/varnish')
-rw-r--r--collectors/python.d.plugin/varnish/varnish.chart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/python.d.plugin/varnish/varnish.chart.py b/collectors/python.d.plugin/varnish/varnish.chart.py
index 534d70926e..506ad026a5 100644
--- a/collectors/python.d.plugin/varnish/varnish.chart.py
+++ b/collectors/python.d.plugin/varnish/varnish.chart.py
@@ -197,7 +197,7 @@ class VarnishVersion:
class Parser:
_backend_new = re.compile(r'VBE.([\d\w_.]+)\(.*?\).(beresp[\w_]+)\s+(\d+)')
- _backend_old = re.compile(r'VBE\.[\d\w-]+\.([\w\d_]+).(beresp[\w_]+)\s+(\d+)')
+ _backend_old = re.compile(r'VBE\.[\d\w-]+\.([\w\d_-]+).(beresp[\w_]+)\s+(\d+)')
_default = re.compile(r'([A-Z]+\.)?([\d\w_.]+)\s+(\d+)')
def __init__(self):