Hello, the Telegraf Plugin used is Telegraf 1.19.1
The config is:
[[inputs.http]]
## One or more URLs from which to read formatted metrics
# "http://localhost/metrics"
urls = [
"http://my webserver ip"
]
## HTTP method
# method = "GET"
## Optional file with bearer token
## headers = {"X-special-Header" = "Special-Value"}
## Fiel content is added as an authorization header
## header token = "/path/to/file"
[[inputs.exec]]
## commands array
commands = ["cat /proc/sys/kernel/random/entropy_avail"]
## override the default metric name of "exec"
name_override = "entropy_available"
## Data format consume
## Each daa format has its own unique set of configuration options, read
## more about them here:
## https://github.com/influxdata/telegraf/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md
data_format = "value"#
data_type = "string" #required
The configuration of your inputs.http plugin expects the data from the webserver in InfluxDB Line Protocol input data format, which is not the case.
You can either adjust the data format of the webserver or the Telegraf configuration of the input data format.
Possible Telegraf input data formats see here: