summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-10-11 22:14:56 +0200
committerGitHub <noreply@github.com>2022-10-11 22:14:56 +0200
commitb74f297d8a7426cbdb0b44240bfa4b7666986337 (patch)
tree77901be8b378310203ab555c92cecfecc063c74a /smoketest/scripts/cli
parent06d6386e5d9fb9812b23032516bbdc938dcc4a9f (diff)
parent6859a2474dab7c2e118020af621e5b6a5a8f7fca (diff)
downloadvyos-1x-b74f297d8a7426cbdb0b44240bfa4b7666986337.tar.gz
vyos-1x-b74f297d8a7426cbdb0b44240bfa4b7666986337.zip
Merge pull request #1584 from sever-sever/T4747
monitoring: T4747: Fix template check influxdb config
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-xsmoketest/scripts/cli/test_service_monitoring_telegraf.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_service_monitoring_telegraf.py b/smoketest/scripts/cli/test_service_monitoring_telegraf.py
index c1c4044e6..ed486c3b9 100755
--- a/smoketest/scripts/cli/test_service_monitoring_telegraf.py
+++ b/smoketest/scripts/cli/test_service_monitoring_telegraf.py
@@ -60,6 +60,7 @@ class TestMonitoringTelegraf(VyOSUnitTestSHIM.TestCase):
self.assertIn(f' token = "$INFLUX_TOKEN"', config)
self.assertIn(f'urls = ["{url}:{port}"]', config)
self.assertIn(f'bucket = "{bucket}"', config)
+ self.assertIn(f'[[inputs.exec]]', config)
for input in inputs:
self.assertIn(input, config)