Questions tagged [telegraf]

19 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
  • 1
  • 7
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…
Lennart Rolland
  • 173
  • 1
  • 8
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":…
sweb
  • 451
  • 1
  • 9
  • 27
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
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…
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
  • 827
  • 5
  • 20
  • 36
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
  • 902
  • 3
  • 16
  • 36
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…
victorhooi
  • 515
  • 3
  • 11
  • 20
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
  • 902
  • 3
  • 16
  • 36
0
votes
1 answer

"A service is listening on all interfaces" - explanation needed?

We got a security report, and one of the points was that a service is listening on all interfaces. I am not a security guy and I find it hard to understand what needs to be done and how to do it. The "service" is telegraf agent running in a docker…
gai-jin
  • 113
  • 5
0
votes
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
  • 3
  • 1
0
votes
1 answer

syslog-ng: how to configure sending RFC5424 messages with octet-counting framing

Please don't bother reading this question. syslog-ng is already set up to send RFC5424 messages with octet-counting framing by default. I was confused by the behaviour of another component. This question is invalid. I have a syslog-ng OSE config…
davidA
  • 353
  • 2
  • 11
0
votes
1 answer

syslog-ng / telegraf : EOF occurred when idle - incompatible?

This is a follow-on question from this previous question, created because I found out more information and it's cleaner to pose this as a new question. I'm using syslog-ng OSE v3.31.2 to receive RFC3164 syslog messages over UDP port 514 from a bunch…
davidA
  • 353
  • 2
  • 11
0
votes
2 answers

syslog-ng: How to reduce high latency when forwarding logs to a syslog tcp consumer?

UPDATE 2: I've answered this via my new question at the link below. The root cause is behaviour by telegraf where by default it disconnects the TCP connection 5 seconds after the last received message. This may be by design, however I have an issue…
davidA
  • 353
  • 2
  • 11
1
2