Fixed the bug and modified the config testing data for exec plugin

This commit is contained in:
Henry Hu
2016-02-03 23:00:56 +08:00
parent 3d9eeb0d8e
commit 7c8222813b
2 changed files with 3 additions and 3 deletions

View File

@@ -107,7 +107,7 @@
# Read flattened metrics from one or more commands that output JSON to stdout
[[inputs.exec]]
# the command to run
command = "/usr/bin/mycollector --foo=bar"
commands = ["/usr/bin/mycollector --foo=bar"]
name_suffix = "_mycollector"
# Read metrics of haproxy, via socket or csv stats page