diff options
author | pgjavier <32353423+pgjavier@users.noreply.github.com> | 2020-05-13 15:12:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-13 16:12:31 +0300 |
commit | 2ca628f8a83d6cff3aa494157d4bf7180dc37f82 (patch) | |
tree | c3478f27148dbf19847657b3ecbaacb25be933e7 /collectors | |
parent | 6cb04ee0d3b34618b6429cb7c6ca78f0301527e1 (diff) |
[varnish] : added compatibility for varnish-plus (#8940)
Diffstat (limited to 'collectors')
-rw-r--r-- | collectors/python.d.plugin/varnish/varnish.chart.py | 2 |
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 15cb6c1016..44e49c85a9 100644 --- a/collectors/python.d.plugin/varnish/varnish.chart.py +++ b/collectors/python.d.plugin/varnish/varnish.chart.py @@ -175,7 +175,7 @@ def disk_charts_template(name): VARNISHSTAT = 'varnishstat' -re_version = re.compile(r'varnish-(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)') +re_version = re.compile(r'varnish-(?:plus-)?(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)') class VarnishVersion: |