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
23
plugins/inputs/multifile/sample.conf
Normal file
23
plugins/inputs/multifile/sample.conf
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Aggregates the contents of multiple files into a single point
|
||||
[[inputs.multifile]]
|
||||
## Base directory where telegraf will look for files.
|
||||
## Omit this option to use absolute paths.
|
||||
base_dir = "/sys/bus/i2c/devices/1-0076/iio:device0"
|
||||
|
||||
## If true discard all data when a single file can't be read.
|
||||
## Else, Telegraf omits the field generated from this file.
|
||||
# fail_early = true
|
||||
|
||||
## Files to parse each interval.
|
||||
[[inputs.multifile.file]]
|
||||
file = "in_pressure_input"
|
||||
dest = "pressure"
|
||||
conversion = "float"
|
||||
[[inputs.multifile.file]]
|
||||
file = "in_temp_input"
|
||||
dest = "temperature"
|
||||
conversion = "float(3)"
|
||||
[[inputs.multifile.file]]
|
||||
file = "in_humidityrelative_input"
|
||||
dest = "humidityrelative"
|
||||
conversion = "float(3)"
|
Loading…
Add table
Add a link
Reference in a new issue