Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
30
plugins/inputs/exec/sample.conf
Normal file
30
plugins/inputs/exec/sample.conf
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Read metrics from one or more commands that can output to stdout
|
||||
[[inputs.exec]]
|
||||
## Commands array
|
||||
commands = []
|
||||
|
||||
## Environment variables
|
||||
## Array of "key=value" pairs to pass as environment variables
|
||||
## e.g. "KEY=value", "USERNAME=John Doe",
|
||||
## "LD_LIBRARY_PATH=/opt/custom/lib64:/usr/local/libs"
|
||||
# environment = []
|
||||
|
||||
## Timeout for each command to complete.
|
||||
# timeout = "5s"
|
||||
|
||||
## Measurement name suffix
|
||||
## Used for separating different commands
|
||||
# name_suffix = ""
|
||||
|
||||
## Ignore Error Code
|
||||
## If set to true, a non-zero error code in not considered an error and the
|
||||
## plugin will continue to parse the output.
|
||||
# ignore_error = false
|
||||
|
||||
## Data format
|
||||
## By default, exec expects JSON. This was done for historical reasons and is
|
||||
## different than other inputs that use the influx line protocol. Each data
|
||||
## format has its own unique set of configuration options, read more about
|
||||
## them here:
|
||||
## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md
|
||||
# data_format = "json"
|
Loading…
Add table
Add a link
Reference in a new issue