Questions tagged [telegraf]

23 questions
4
votes
2 answers

Influxdb is restarting constantly since my last reboot

Since my last reboot, I am seeing the following every 1-2 minutes: Aug 02 13:53:00 monitor systemd[1]: influxdb.service: start operation timed out. Terminating. Aug 02 13:53:00 monitor systemd[1]: influxdb.service: Failed with result 'timeout'. Aug…
SlyOne
  • 363
3
votes
0 answers

How to apply grok to logs from syslog in telegraf?

In my current setup I am using Telegraf to ingest nginx logs from syslog and spit them out into influxdb. This works great. Telegraf has support for grok log parsing. As far as I can tell it can be invoked for [[inputs.file]] and for…
1
vote
0 answers

Convert json file to prometheus metrics

I have nginx json access log like this, a file that append sample like this to end of file. { "time": "2019-11-27T08:23:39+00:00", "msec": 1574843019.787, "ip": "91.133.248.69", "agent_name": "firefox", "agent_version": "70", "agent_os":…
1
vote
1 answer

How to monitor cloud system metrics through grafana

I have a system configured with telegraf + InfluxDB + Grafana in one machine. Now i need to collect server metrics for ubuntu servers which is deployed in cloud and need to plot in grafana. My question here is : Can i collect the metrics through…
KK_3353
  • 11
1
vote
1 answer

Why do the creators of this dashboard multiply bytes by 8 to get bits? Isn't it the other way around?

To monitor a server we have imported a dashboard for Grafana. This uses Telegraf and InfluxDB as collector and database. When certain graphs needed to be adjusted, I noticed that in the network speed queries, the bytes received (bytes_recv) are…
JJandke
  • 48
  • 4
1
vote
0 answers

telegraf enum plugin not injecting the correct destination field

I have the following telegraf configurations: [[inputs.http_response]] name_override="test" address="https://localhost:12345/test" response_timeout="5s" method="GET" follow_redirects=false insecure_skip_verify = true response_string_match="test is…
0
votes
1 answer

Monitor all processes in Linux with telegraf and grafana

I have a task to configure monitoring of all processes in a Linux system with Telegraf and Grafana. But there is some issue that there are many processes in a system. For gathering information about processes I have used Procstat plugin. Procstat…
user510984
0
votes
1 answer

Monitor Java Heap on a Centos Server via Telegraf/Grafana

How to Monitor Java Heap usage on centos server using Telegraf and Grafana? This monitoring is particularly for Logstash process running on the server. I tried to use JSTAT to get data, but it has lot of numbers which needs manipulation to obtain…
Darktux
  • 857
0
votes
1 answer

enabling telegraf system input plugin on OpenBSD 6.5

https://github.com/influxdata/telegraf/tree/master/plugins/inputs/system Could use some examples. I have tried adding values listed in the above page to [[inputs.system]] For example: [[inputs.system]] load5 Then I run: telegraf -config…
mr.zog
  • 981
  • 4
  • 22
  • 46
0
votes
1 answer

Telegraf not working with sysstat options like `-d` or `-n ALL`?

I am attempting to setup Telegraf on a Proxmox (Debian-based distro) to send metrics to InfluxDB. However, it seems to be complaining about sysstat syntax. I am using the sysstat plugin in Telegraf. Per the configuration file, I have a section like…
0
votes
2 answers

While attempting to build telegraf on OpenBSD 6.4, gmake said:

I have followed the instructions from this page but gmake fails. Am I missing a dependency? https://www.tumfatig.net/20180905/running-telegraf-openbsd dep ensure -vendor-only SIGSYS: bad system call PC=0x485670 m=9 sigcode=0 goroutine 305…
mr.zog
  • 981
  • 4
  • 22
  • 46
0
votes
0 answers

Strange behaviour with [inputs.prometheus] with metric_version=2 in telegraf 1.33.0+

i am facing right now a very strange behaviour in Telegraf version 1.33.0 and newer in combination with the prometheus input plugin and the influxdb v2 output plugin. Assume follwing telegraf.conf [agent] interval = '60s' collection_jitter =…
pyriand3r
  • 101
0
votes
0 answers

Multiple Prometheus Nodes collect from one Telegraf client - possible?

At the moment I have one Prometheus node which collects data from another server by Telegraf. $ telegraf.conf [[outputs.prometheus_client]] listen = "telegrafclient:9273" path = "/metrics" $ prometheus.yml scrape_configs: - job_name:…
0
votes
0 answers

? Telegraf concentrator to collect metrics from other telegrafs and expose combined scarpe by http for Prometheus to pull

My task is to install and configure Telegraf on ca.20 Windows servers in so-called “Secure Zone”., expose the metrics on each server’s http port, get them pulled by Telegraf running on machine in the “Border Zone”, and expose the combined stream on…
ARZ Lab
  • 129
  • 5
0
votes
2 answers

Send InfluxDB2 Metrics to different Buckets with Telegraf

I would like to put different metrics in different buckets. In my bucket Websites, I want to put HTTP response metrics. This is how my configuration file /etc/telegraf/telegraf.d/httpmetrics.conf looks like: [[inputs.http_response]] ## List of…
Gill-Bates
  • 773
  • 3
  • 14
  • 27
1
2