Telegraf Plugins used:
- 1 Dashboard:
- 1 Bucket:
Telegraf- 7 day retention
- 1 Telegraf config - Internal metrics collection and InfluxDB v2 output
If you have your InfluxDB credentials configured in the CLI, you can install this template with:
Telegraf monitoring dashboard
Telegraf is the open source server agent to help you collect metrics from your stacks, sensors and systems. It's a plugin-driven server agent for collecting and sending metrics and events from databases, systems, and even Internet of Things sensors. Written in Go, Telegraf compiles everything into a single binary with no external dependencies and requires a very minimal footprint.
Telegraf has more than 200+ different plugins that have already been written by verified experts in the data community that make integration possible from and to some of the most popular data sources and systems. Likewise, you can build your own plugin to meet your monitoring needs. Telegraf can also be used to parse input data formats into a wide range of metrics using tools that include but are not limited to InfluxDB Line Protocol, Graphite, Nagios, Collectd, JSON and more.
Why monitor Telegraf?
You build your monitoring stack with InfluxDB and Telegraf, so it is important that you track the health of Telegraf plugins in your architecture.
You can’t manage what you can’t measure — which is why the Telegraf Monitoring Template serves a vital purpose. By having actionable information about the health of the Telegraf collector agent in your architecture, you gain the insight needed to troubleshoot issues and perform preventive maintenance before problems impact the end-user experience. This enables more informed decision making, freeing your team to focus on core activities. Plus, the Telegraf Monitoring Template does this in a largely automated way, thus saving you time and stress as well.
How to use Telegraf Monitoring Template
Once your InfluxDB credentials have been properly configured in the CLI, you can install the Telegraf Monitoring Template using the Quick Install command. Once installed, the data for the dashboard will be populated by the included Telegraf configuration, which includes the relevant Telegraf Input. Note that you might need to customize the input configuration to better serve your needs, including by specifying a new input value. All of this will depend on how your organization is currently running Telegraf.
To find out more information about environmental variables within the Telegraf configuration, consult the following link.
Key Telegraf monitoring metrics to monitor
Some of the most important Telegraf monitoring metrics that you should proactively monitor include:
- Number of metrics collected
- Metrics collected vs written per second
- Metrics gathered per input per minute
- Write buffer size
- Memory Allocations
- Metrics written
- Input plugin errors
- Errors per input
- Errors per output
- Garbage collection