Grafana Configuration
Step 1: Open firewall
On the same host where you installed InfluxDB, you need to allow incoming traffic to certain ports. See section InfluxDB Configuration, Step 1: Open firewall. If you have already completed InfluxDB configuration, you have already completed this step.
Step 2: Start Grafana service
1. Start Grafana by running the following command:
systemctl start grafana-server.service
This will start the grafana-server process as the grafana user, which is created during package installation. The default Grafana port is 3000, and default user and group is “admin.”
Note that using HTTP is not recommended; instead, use Nginx in front of Grafana. For more information, see notes in section InfluxDB Configuration, Step 1: Open firewall.
2. To configure the Grafana server to start at boot time, run the following command:
systemctl enable grafana-server.service
Step 3: Configure Grafana
- In the Grafana web UI: Configuration > Plugins, install the required plugin: grafana-clock-panel
- In the Grafana web UI: Configuration > Data Sources, set up datasource.
Add a new InfluxDB datasource with the following values:
- Name - Can be custom, decided by user
- URL - Set http://localhost:8086
- Database - The name of the database you send metrics to; must match the database name from Telegraf and InfluxDB

Adding an InfluxDB datasource
- Name - Can be custom, decided by user
- Import dashboards. Bright Pattern dashboards are publicly available on Grafana’s website.
- Go to grafana.com/grafana/dashboards.
- In Filter by > Search with this list, search for brightpattern and you will see the following dashboards:
- BrightPattern - Agents
- BrightPattern - CPU, Memory
- BrightPattern - Dialer
- BrightPattern - Emails
- BrightPattern - MongoDB
- BrightPattern - MySQL
- BrightPattern - Overview
- BrightPattern - Router
- BrightPattern - Scenario Engine
- BrightPattern - Scheduler
- BrightPattern - SIP Processor
- BrightPattern - System

Search for "brightpattern" to get the dashboards
- BrightPattern - Agents
- Click each dashboard and click Copy ID to ClipBoard to get the dashboard ID.

Click "Copy ID to ClipBoard" to get the dashboard ID - Log in to Grafana Cloud and go to your Hosted Grafana Instance. Then import the dashboard by clicking + tab > Create > Import.

Importing the dashboard - In field Grafana.com Dashboard, paste the dashboard ID you just copied, and click Import.

Paste the dashboard ID to import the dashboard
- Go to grafana.com/grafana/dashboards.
See grafana.com/docs for more information about using Grafana.
This completes installation and configuration of Telegraf, InfluxDB, and Grafana.