blackvoid Grafana 8 - InfluxDB 2 - Telegraf - 2021 monitoring stack

Currently reading
blackvoid Grafana 8 - InfluxDB 2 - Telegraf - 2021 monitoring stack

Grafana 8 - InfluxDB 2 - Telegraf - 2021 monitoring stack

About two years ago I wrote the same article like this one. How to run your GIT monitoring stack with Grafana, InfluxDB, and Telegraf.

Like with every platform, both Grafana and InfluxDB have been updated to give us more features, more options, and to follow user's needs and demands. The reason for this article is to stay up to date with the new features as well as see if there are some other benefits of running the new platforms.

Continue reading...
 
Nice write up! I actualy liked it a lot that you included some example queries.
Did the situatation change regarding pre-existing Grafana Dashboards based on Flux-Queries? When I was taking a look at it a couple of weeks ago, I couldn't find any.

Btw. If you use from(bucket: v.bucket) instead of from(bucket: "NAMEOFYOUBUCKET") the configured bucket name of the datasource should be used. This will allow easier usage if you decide to share your dashboards :)
 
Did the situatation change regarding pre-existing Grafana Dashboards based on Flux-Queries?
Can't say. I haven't used Flux with 1.8, so this is my first encounter with it.

This will allow easier usage if you decide to share your dashboards
Tnx for the heads up. As I haven't deep-dived into Flux, I used the queries generated by InfluxDB Explorer query builder. In some cases, I did some alterations that needed to be done by hand, but apart from that, nothing else.
 
Last edited:
@Rusty Trying to follow this and am getting results this time around (following step by step rather than jumping ahead and trying to set it all up at once).
However they appear to have made a change which breaks the guide:
Code:
https://github.com/influxdata/telegraf/issues/10050
Are you able to advise?
I've tried using:
Code:
    user:
      ${ADMIN}:${ADMINGROUP}
To pass an Admin user to the container, but that doesn't appear to work.

OK, solved it:
id -u docker
The output goes where ${ADMIN} is
stat -c '%g' /var/run/docker.sock
The output goes where ${ADMINGROUP} is
 
@Rusty Trying to follow this and am getting results this time around (following step by step rather than jumping ahead and trying to set it all up at once).
However they appear to have made a change which breaks the guide:
Code:
https://github.com/influxdata/telegraf/issues/10050
Are you able to advise?
I've tried using:
Code:
    user:
      ${ADMIN}:${ADMINGROUP}
To pass an Admin user to the container, but that doesn't appear to work.

OK, solved it:
id -u docker
The output goes where ${ADMIN} is
stat -c '%g' /var/run/docker.sock
The output goes where ${ADMINGROUP} is
Soory for the late response, and thanks for the heads up. I am still on 1.18.3 telegraf agents on all my nodes as I have no real need to update so haven't noticed this problem.
 
Late response? You're not on call ;)
I pulled the latest versions so had the fun of solving a problem for myself.
Hopefully it can help someone else.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

  • Article
Tnx for the positive comment and tnx for the warning. I was writing by hand and ofc copied later on the...
Replies
2
Views
2,897
  • Article
True, but this can be run on a RPi as well, not demanding at all.
Replies
2
Views
1,903

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Back
Top