Questions tagged [telegraf]

Telegraf is an open source, plugin-driven agent for collecting and reporting metrics written in Go with no external dependencies.

Telegraf is an open source(MIT licensed) agent for collecting and reporting metrics written for influxdata's Open Source Time Series Platform (a.k.a TICK stack).

Although build for the TICK stack it is not limited to delivering output to InfluxDB but several other common time series databases and message queues like Graphite, OpenTSDB, Kafka and MQTT.

Input plugins include SNMP, MySQL, Apache, PostgreSQL, kubernetes, docker and many more.

664 questions
4
votes
2 answers

How do I troubleshoot this error in telegraf?

I have a custom python plugin that I am using to pull data into Telegraf. It prints out line protocol output, as expected. In my Ubuntu 18.04 environment, when this plugin is run I see a single line in my logs: 2020-12-28T21:55:00Z E! [inputs.exec]…
4
votes
0 answers

Why does my bot send messages twice after a few days?

Context Telegraf.js Version: 3.38.0 Node.js Version: 12.0.0 Operating System: Ubuntu 16.04.6 LTS (Xenial Xerus) "Glitch server" Expected Behavior Hi, I'm not sure if this is a bug, but I am not finding anything and i asking you for help, I tank…
4
votes
3 answers

Best way to reload telegraf configuration when running in a container

I'm running telegraf in a container on my Synlogy NAS. Just asking out there what is the best way to reload the configuration when I make some changes in telegraf.conf. I have seen a suggestion to restart the whole container,…
Mircea Damian
  • 151
  • 1
  • 4
4
votes
1 answer

How do I run a docker compose file with modified telegraf config file?

I'm trying to run a docker compose file on MacOS to run Telegraf, Mosquitto (MQTT), Grafana and InfluxDB. I'm trying to run Telegraf with a modified config file. The ultimate aim is to store and display data being sent from an arduino muscle sensor.…
mancony
  • 88
  • 1
  • 5
4
votes
1 answer

How to send a photo stored locally using telegraf API?

I'm a beginner with this. I'm trying to develop a Telegram bot using Telegraf API. I'm stuck when the user sends a certain command (in my case: '/details ') and the bot has to reply with a specific photo stored locally inside the bot folder…
harasuke
  • 41
  • 1
  • 1
  • 3
4
votes
1 answer

Log rotation for telegraf file output

I am going through https://github.com/influxdata/telegraf/tree/master/plugins/outputs/file But there is no option to rotate the log file. This is causing huge log files to be created which have to be deleted manually. Once deleted manually,…
user2250246
  • 3,807
  • 5
  • 43
  • 71
4
votes
1 answer

False high values in Grafana causing false alerts

I configured alerting in Grafana yesterday and get from two servers alerts. It's always the same two servers which got high IO, high CPU or anything else. The thing is, they do not have such high data. In fact they're almost on idle. All servers are…
Thomas Schwärzl
  • 9,518
  • 6
  • 43
  • 69
3
votes
1 answer

Is it possible to send premium-only custom emojis with a Telegram Client?

Recently, Telegram released a new feature - Custom Emojis. They instantly became available to users, but there are no instructions on how to send them using a Telegram bot. Is it even possible within the API? And specifically on Telegraf?
123253
  • 51
  • 3
3
votes
1 answer

Telegraf agent configuration to avoid metric buffer overflow

After getting some metric buffer overflow warning messages, I am trying to understand better how the fundamental agent parameters interval, metric_batch_size, metric_buffer_limit and flush_interval impact each other. Looking the specification,…
Polo Koeltz
  • 51
  • 1
  • 8
3
votes
1 answer

Collectd in InfluxDB2.0

I want to deploy influxDB with collectd. For previous version ie 1.8 of influxDB it was supported. Do we have support for collectd in the latest version of influxdb i.e 2.0?
sayali_bhavsar
  • 141
  • 1
  • 2
  • 8
3
votes
2 answers

Alternative of ctx.updateSubTypes Telgraf 4

That end point was removed with new version of telgraf https://github.com/telegraf/telegraf/releases/tag/v4.0.0#:~:text=ctx.updateSubTypes How we can detect the message type with new API this is the old ctx retrun
Hasan Tezcan
  • 1,116
  • 1
  • 11
  • 23
3
votes
1 answer

how to run multiple telegram bots on the same port?

I have 6 bots and i want to run them on the same server, But when i run the second bot, it throws this error: address already in use :::8443 I know i only can use 4 ports(80,88,443,8443) for webhook, But i have 6 bots. Actually, I'm trying to run…
developer
  • 170
  • 2
  • 12
3
votes
1 answer

How to work with parameters in telegraf in commands

**Hey guys I want to use parameters in my bot ** For example I send /ping hello 5 ctx.reply(You want me to ping hello 5 times) In the above code /ping is the command while hello and 5 are parameters so I can access them in my…
King Maxine
  • 55
  • 1
  • 8
3
votes
1 answer

How to check plugin status in telegraf?

This is self added Q & A. I am using telegraf's Telegraf 1.14.0 version, I have configured a few input.exec for plugins in my telegraf.conf file, now wanted to check if my configuration is working fine with all configured plugins(eg-->status on…
RavinderSingh13
  • 130,504
  • 14
  • 57
  • 93
3
votes
0 answers

database "telegraf" creation failed: Post "http://influxdb:8086/query": dial tcp 172.31.0.2:8086: connect: connection refused

I installed four containers in my ec2 instance and every container is running fine. One of the containers in Telegraf and another one in influxdb. So I am trying to write the data from Telegraf to Influxdb and in Telegraf is coming from the AWS…
1 2
3
44 45