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
21
votes
2 answers

Telegraf : How to add a "input plugin"?

I am a beginner with Telegraf, and I would like to install an "input plugin". I have the configuration and the .go file but I do not know what to do with it, even after searching on Google. Thank you in advance !
Alan Courciere
  • 211
  • 1
  • 2
  • 6
17
votes
1 answer

What grants are needed for the SQL Server Telegraf plugin in Azure SQL Database

I'm using the Telegraf input plugin for SQL Server (https://github.com/influxdata/telegraf/tree/master/plugins/inputs/sqlserver) to gather metrics and report to InfluxDB. It works well for SQL Server, but though it supports Azure SQL Database the…
ewramner
  • 5,810
  • 2
  • 17
  • 33
16
votes
2 answers

Telegram Bot with Telegraf.js - Send messages to chat

I want to create a Telegram Bot with Node.js and I am using Telegraf for it. I know I can answer to messages like this: app.hears('hi', (ctx) => ctx.reply('Hey there!')) But how can I send a message without getting a message before? I want to read…
Nono
  • 1,073
  • 4
  • 23
  • 46
11
votes
2 answers

How do I debug Telegraf?

I'm trying to get Telegraf to work with InfluxDB and I've just hit a wall. I've added the following block to my Telegraf configuration file: [[inputs.win_perf_counters.object]] # Process metrics, in this case for IIS only ObjectName = "Process" …
mrplainswalker
  • 701
  • 4
  • 8
  • 26
11
votes
4 answers

Send markdown text with telegram bot (telegraf), nodejs

How to send markdown text by telegram bot using telegraf library on nodejs?
hitt
  • 381
  • 1
  • 3
  • 14
11
votes
1 answer

Why do we need telegraf when using statsd

I see the combination statsd + telegraf + influxdb used all the time. Statsd collects, aggregates and forwards metrics Telegraf aggregates and forwards metrics Why not use just the statsd (without telegraf) to aggregate and forward metrics? What…
andree
  • 3,084
  • 9
  • 34
  • 42
9
votes
3 answers

how can I add menu button in telegram bot

how can I add Menu button in telegram bot using telegraf menu button like this
Miloud Mokkedem
  • 432
  • 1
  • 5
  • 14
9
votes
4 answers

How to monitor the size of a directory via Telegraf

We need to monitor the size of a directory (for example the data directory of InfluxDB) to set up alerts in Grafana. As mentioned here: How to configure telegraf to send a folder-size to influxDB , there is no built-in plugin for this. We don't mind…
Tw Bert
  • 3,659
  • 20
  • 28
8
votes
1 answer

How do scenes and stages work in telegraf

I've searched telegram bot api for "scenes" and "stages" that are part of telegraf. Here is an example. It seems they are implementations of telegraf and not the API. If this is the case how does telegraf implement those?
Aven Desta
  • 2,114
  • 12
  • 27
8
votes
1 answer

Stage.enter doesn't start the wizard

I created an application which display a survey wizard to the user. When the user launch the /start command, I call the AddProject: const Telegraf = require('telegraf'); const bot = new Telegraf(process.env.BOT_TOKEN); const session =…
sfarzoso
  • 1,356
  • 2
  • 24
  • 65
7
votes
1 answer

Creating INVOICE in Telegram bot return's error

I try to integrate payments to my telegram bot. I usen telegraf library for working. So I create an invoice const invoice = { provider_token: payment_tocken, start_parameter: 'online_conslutation', title: 'Онлайн консультация…
nabiullinas
  • 1,185
  • 4
  • 20
  • 41
7
votes
1 answer

interval vs flush_interval in telegraf

I have a following telegraf configuration [agent] interval = "5s" round_interval = true metric_batch_size = 1000 metric_buffer_limit = 10000 collection_jitter = "0s" flush_interval = "5s" flush_jitter = "0s" precision = "" debug =…
flashburn
  • 4,180
  • 7
  • 54
  • 109
6
votes
2 answers

Sending metrics from telegraf to prometheus

I'm running prometheus and telegraf on the same host. I'm using a few inputs plugins: inputs.cpu inputs.ntpq I've configured to the prometheus_client output plugin to send data to prometheus Here's my config: [[outputs.prometheus_client]] …
Alex Brodov
  • 3,365
  • 18
  • 43
  • 66
6
votes
1 answer

How to set the time precision of the telegraf statsd (influxdb)?

I'm using telegraf with influxdb, and in the telegraf I'm using the statsd_input plugin. The statsd_input.conf: [[inputs.statsd]] ## Address and port to host UDP listener on service_address = ":8126" ## The following configuration options…
Yuval Pruss
  • 8,716
  • 15
  • 42
  • 67
5
votes
2 answers

List directory /var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied)

So far I installed my additional needed stuff directly in Docker, as a "post argument". /bin/sh -c 'apt update && apt install -y smartmontools && apt install -y lm-sensors && apt install -y nvme-cli && apt install -y ipmitool && telegraf' This does…
Da Doo Ron
  • 51
  • 1
  • 2
1
2 3
44 45