Install on Debian/Ubuntu

These instructions assume that you do not have Grafana installed on the target system. If you have an existing instance of Grafana you would like to use, refer to Install via plugin.

Install stable

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

Package repository configuration for Debian-based systems
deb https://debian.opennms.org stable main
deb-src https://debian.opennms.org stable main

Import the packages' authentication key with the following command:

GPG key import for Debian-based systems
wget -O - https://debian.opennms.org/OPENNMS-GPG-KEY | sudo apt-key add -

Install the packages:

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

Start the server (init.d service)

Start Grafana:

sudo service grafana-server start

This starts the grafana-server process as the grafana user, which is created during package installation.

  • Default HTTP port: 3000

  • Default user and password: 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

To enable the systemd service to start at boot:

sudo systemctl enable grafana-server.service