3.4 KiB
title | description | menu | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
Install Chronograf | Download and install Chronograf. |
|
This page describes how to download and install Chronograf.
Content
- TICK overview
- Download and install
- Connect to your InfluxDB instance or InfluxDB Enterprise cluster
- Connect to Kapacitor
TICK overview
Chronograf is the user interface for InfluxData's TICK stack.
Download and install
The latest Chronograf builds are available on InfluxData's Downloads page.
-
Choose the download link for your operating system.
{{% note %}} If your download includes a TAR package, save the underlying datastore
chronograf-v1.db
in directory outside of where you start Chronograf. This preserves and references your existing datastore, including configurations and dashboards, when you download future versions. {{% /note %}} -
Install Chronograf, replacing
<version#>
with the appropriate version:{{% tabs-wrapper %}} {{% tabs %}} macOS Ubuntu & Debian RedHat & CentOS {{% /tabs %}} {{% tab-content %}}
tar zxvf chronograf-<version#>_darwin_amd64.tar.gz
{{% /tab-content %}}
{{% tab-content %}}
sudo dpkg -i chronograf_<version#>_amd64.deb
{{% /tab-content %}}
{{% tab-content %}}
sudo yum localinstall chronograf-<version#>.x86_64.rpm
{{% /tab-content %}}
{{% /tabs-wrapper %}}
-
Start Chronograf:
chronograf
Connect Chronograf to your InfluxDB instance or InfluxDB Enterprise cluster
- In a browser, navigate to localhost:8888.
- Provide the following details:
-
Connection String: InfluxDB hostname or IP, and port (default port is
8086
). -
Connection Name: Connection name.
-
Username and Password: If you've enabled [InfluxDB authentication](/{{< latest "influxdb" "v1" >}}/administration/authentication_and_authorization), provide your InfluxDB username and password. Otherwise, leave blank.
{{% note %}} To ensure distinct permissions can be applied, Chronograf user accounts and credentials should be different than InfluxDB credentials. For example, you may want to set up Chronograf to run as a service account with read-only permissions to InfluxDB. For more information, see how to manage InfluxDB users in Chronograf and manage Chronograf users. {{% /note %}}
-
Telegraf Database Name: (Optional) Telegraf database name. Default name is
telegraf
.
-
- Click Add Source.
Connect Chronograf to Kapacitor
- In Chronograf, click the configuration (wrench) icon in the sidebar menu, then select Add Config in the Active Kapacitator column.
- In the Kapacitor URL field, enter the hostname or IP of the machine that Kapacitor is running on. Be sure to include Kapacitor's default port:
9092
. - Enter a name for your connection.
- Leave the Username and Password fields blank unless you've specifically enabled authorization in Kapacitor.
- Click Connect.