These instructions assume that Grafana is NOT already installed on the target system. If you have an existing instance of Grafana you would like to use, refer to Installing via plugin.

Install stable

Create a new apt source file (eg: /etc/apt/sources.list.d/opennms.list), and add the following 2 lines:

Package repository configuration for Debian-based systems
deb stable main
deb-src stable main

Import the packages' authentication key with the following command:

GPG key import for Debian-based systems
wget -O - | sudo apt-key add -

Install the packages:

sudo apt-get update
sudo apt-get install opennms-helm

Start the server (init.d service)

You can start Grafana by running:

sudo service grafana-server start

This will start the grafana-server process as the grafana user, which is created during package installation. The default HTTP port is 3000, and default user and group is admin.

To configure the Grafana server to start at boot time:

sudo /sbin/chkconfig --add grafana-server

Start the server (via systemd)

sudo systemctl daemon-reload
sudo systemctl start grafana-server
sudo systemctl status grafana-server

Enable the systemd service to start at boot

sudo systemctl enable grafana-server.service

Next Steps

See Getting Started for help in setting up your first dashboard.