Provided by: InfluxData
This InfluxDB Template can be used to monitor your already running InfluxDB 1.x instance. It provides a quick way to get started on InfluxDB 2.0 if you are an existing InfluxDB user.
In the InfluxDB UI, go to Settings->Templates and enter this URL: https://raw.githubusercontent.com/influxdata/community-templates/master/monitoring_influxdb_1.x/influxdb1.x.yml
If you have your InfluxDB credentials configured in the CLI, you can install this template with:
influx apply -u https://raw.githubusercontent.com/influxdata/community-templates/master/monitoring_influxdb_1.x/influxdb1.x.yml
- 1 Bucket:
Telegraf, 7d retention - 3 Labels:
InfluxDB1.x,Solution,Telegraf - 1 Telegraf Configuration:
InfluxDB_1.x.conf - 3 Checks:
Disk Usage Check,Host Deadman, andMemory Usage Check - 2 Dashboards:
InfluxDB 1.xandTelegraf - 3 Variables:
bucket,influxdb_host, andtelegraf_host
General instructions on using InfluxDB Templates can be found in the use a template document.
The data for the dashboard is populated by the included Telegraf configuration. The Telegraf Configuration requires the following environment variables
INFLUX_TOKEN- The token with the permissions to read Telegraf configs and write data to thetelegrafbucket. You can just use your operator token to get started.INFLUX_ORG- The name of your OrganizationINFLUX_HOST- The URL of your InfluxDB host (this can your localhost, a remote instance, or InfluxDB Cloud)
You MUST set these environment variables before running Telegraf using something similar to the following commands
- This can be found on the
Load Data>Tokenspage in your browser:export INFLUX_TOKEN=TOKEN - Your Organization name can be found on the Settings page in your browser:
export INFLUX_ORG=my_org
You can start Telegraf using the instructions from the Telegraf > Setup Instructions link in the UI.
You can easily update the Telegraf configurations to point to a specific InfluxDB 1.x location by setting the options in the InfluxDB Input or the InfluxDB 2.0 Output.
- Author: Russ Savage
- Email: russ@influxdata.com
- Github: @russorat
- Influx Slack: @russ
