If you administer a data center, you owe it to yourself to have all the tools necessary to keep those servers up and running. One tool you should most certainly have at the ready is a network management system that can monitor and manage many (if not all) of your devices.

Data Center Must-Reads

  • Quantum computing: Seven truths you need to know
  • How to select a data backup system
  • Data recovery do’s and don’ts for IT teams
  • Server virtualization best practices and tips on what not to do

One such tool is OpenNMS. This open source monitor features:

  • Automatic acknowledgment of self-clearing problems.
  • Provisioning.
  • Supports all Popular platforms.
  • Service Monitoring.
  • Event Management.
  • Performance Measurement.
  • Charting support.

I’m going to walk you through the process of installing OpenNMS on Ubuntu Server 18.04.

SEE: Hiring kit: Database administrator (TechRepublic Premium)

What you need

The only things you need to make this work are:

  • A running instance of Ubuntu Server 18.04.
  • A user account with sudo privileges.

That’s it. Let’s make some magic.


Before we run the installer script, make sure to update and upgrade your server with the commands:

sudo apt-get update
sudo apt-get upgrade -y

Should the kernel upgrade, you’ll need to reboot the server. Because of this, make sure to run the update and upgrade at a time when a reboot is possible.

Dependency installation

There is only one dependency to install for OpenNMS … the Java JDK. However, OpenNMS only supports Java 8. To install this, open a terminal and issue the commands:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update 
sudo apt-get install oracle-java8-installer

Next, issue the command sudo update-alternatives —config java and make sure that Java 8 is selected as the default.

Once that completes, you’re ready to continue.


Fortunately, there’s a handy installer script that can be run to take care of the complex installation of OpenNMS. The script does take a while to complete, so give yourself plenty of time. Here’s how to make this happen:

  1. Download the installer script with the command wget
  2. Install unzip with the command sudo apt-get install unzip -y.
  3. Unzip the downloaded package with the command unzip
  4. Change into the newly created directory with the command cd opennms-install-master.
  5. When prompted (Figure A), type YES.