Questions tagged [telegraf-inputs-plugin]

96 questions
1
vote
1 answer

Telegraf - inputs.procstat procstat Plugin - Using command line pattern or username

Using: Telegraf v1.0.1 or later Telegraf procstat plugin's documentation: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/procstat Under Documentation, it says: The procstat plugin can be used to monitor system resource usage by…
AKS
  • 16,482
  • 43
  • 166
  • 258
1
vote
1 answer

Telegraf - inputs.procstat pgrep plugin issue

Telegraf v1.0.1 I'm not able to see telegraf[._] (tree) metric anymore after I enabled [[inputs.procstat]] plugin. Telegraf is installed successfully. Process is running. I'm pretty much using the normal settings for inputs plugins and output…
AKS
  • 16,482
  • 43
  • 166
  • 258
0
votes
0 answers

Telegraf config to read JSON response from MQTT datalogger

I have a MODBUS to MQTT datalooger with 2 variables configured. (it will added more variables in the future) The payload of the MQTT message is like this: { "date":"2023-08-25T15:59:40.0Z", "id":"AAAAAA020000000002301443", "vars":[ …
0
votes
0 answers

Telegraf input:prometheus version=2 throwing err-mimir-sample-duplicate-timestamp error with Histogram aggregator data

Telegraf.conf : [[outputs.prometheus_client]] listen = ":9237" path = "/metrics" export_timestamp = true [[inputs.prometheus]] urls = [ "http://:8082/metrics" ] metric_version = 2 [inputs.prometheus.tags] …
0
votes
0 answers

Telegraf stops sending data to prometheus while using tail

I have tail input set in telegraf configuration which checks flask.log file with grok pattern. Flask uses custom python script to get alerts from alertmanager's api and send it somewhere further. At the end of the flask.log, there is always a line…
0
votes
0 answers

How does the cnos-telegraf input plug-in solve the url with parameters?

I have a problem when I use cnos-telegraf for data writing. Usually, the URL parameter value of the input-http plugin is constant, but my URL has a start time parameter, how to solve it? I think this kind of URL with time parameters is a common…
learn_more
  • 145
  • 10
0
votes
0 answers

How to add current hostname as a global tag in InfluxDB's Telegraf?

Telegraf can be configured to add global tags to all measurements. They can reference environment variables, but I couldn't find if or how they can reference agent defaults, which configures and provides hostname to plugins. I imagine something…
Petr
  • 62,528
  • 13
  • 153
  • 317
0
votes
0 answers

Telegraf filter out bad data

I have some devices that have, let's say poor SNMP implementation and sometimes it returns junk data instead of the proper data. I am looking for a way to ignore the junk data before it goes into my InfluxDB instance. It's really a matter of a…
JW52761
  • 78
  • 10
0
votes
1 answer

Apache Kafka consumer consumes messages with "partition" option, but not with "group" option

I am running a plain Apache Kafka server (version 3.4.1) which I would like to connect to a Telegraf consumer. The Telegraf [[inputs.kafka_consumer]] plugin has the option to consume by Kafka "group". When staring Telegraf, I get an error…
0
votes
1 answer

Telegraf config for shelly3em/status

I am collecting power consumption data using a shelly 3EM. I don't like the MQTT approach, as this disables the cloud data feature. Thus, I want to connect to the shelly "status" endpoint using telegraph [[inputs.html]] plugin. The json from…
WolfiG
  • 1,059
  • 14
  • 31
0
votes
0 answers

Send data from single inputs.exec to multiple outputs.kafka in telegraf

I have data coming to telegraf and it has multiple fields. I want to be able to have one inputs.exec plugin and multiple outputs.kafka plugin to send each field to respective kafka topics. My data is in this format: { "field1": [ { …
Groot
  • 1
0
votes
0 answers

Telegraf Docker Inputs On Windows Server Error

For the record, I'm new to telegraf. I'm trying to collect docker metrics data using telegraf input plugin on windows server, but I got following error : 2023-04-18T02:35:45Z E! [inputs.docker] Error in plugin: protocol not available My Config file…
0
votes
0 answers

Confusing and false 100% usage result from Telegraf's inputs.disk plugin

I am getting some very confusing results from the Telegraf Disk Input Plugin. It's telling me that a disk that's 19% used is at 100%. This experiment works fine on my laptop (Ubuntu) but on the server (Ubuntu) it's giving me erroneous data. I have…
mmachenry
  • 1,773
  • 3
  • 22
  • 38
0
votes
0 answers

telegraf + postgres: how to get error reports to show source?

I use telegraf to query a postgres server. I am setup with about a dozen *.conf files in the config directory - each one for a single query + params. Everything works with regards to the config; however sometimes the queries error and I have a hard…
Alexi Theodore
  • 1,177
  • 10
  • 16
0
votes
0 answers

AKS Telegraf with Eventhub plugin not working

I currently using Telegraf "eventhub_consumer" input plug-in to read events from EventHub that has 12 partitions. If I have generic Telegrah conf file where if i don't specify partition ids with one POD, it processes hardly 500 messages for each…
KNDM
  • 47
  • 7