ManagedCloud Servers

High performance handled and monitored by us 24/7/365. A complete solution to provide you with our in house expertise 24/7 tailored to your specific needs. We'll setup a bespoke server for your site using the latest tehnologies so you can get the most out of your hardware and get your website loading quickly and reliably. Find out more..

cPanelCloud Servers

Recommended - High performance cloud servers with no technical knowledge required. If you're hosting multiple websites already and you're looking to consolidate, or if you're looking to isolate yourself from the shared hosting environment but you don't have the time or knoweldge to manage a server, then the Managed cPanel Servers are for you. Find out more..

UnmanagedCloud Servers

Our unmanaged range gives you complete control at rock bottom prices and our cloud platform boasts super fast multipath 40Gb/s network, the latest Intel Xeon V3 CPUs and enterprise grade redundant SSDs. If you're a sysadmin look no further, we offer some of the best specification to price ratio servers available. Find out more..

Want your very own server? Get our 1GB memory, Xeon V4, 20GB SSD VPS for £10.00 / month.

View Plans

How to Install Observium on Ubuntu 16.04

Observium is an open source autodiscovering network monitoring tool based on SNMP.

It is written in PHP and uses SNMP to collect data from connected system that allows you to monitor all of the networks devices via an easy to use interface.

Observium provides support for a wide range of network hardware and operating systems such as, Windows, Linux, NetApp, Cisco, FreeBSD, Dell, Netscaler and much more.


  • A server running Ubuntu 16.04.
  • A normal user with sudo privileges setup on your server.

Update the System

Before installing any packages, it is recommended to update your system with the latest stable version. You can do this with the following command:

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

Once your system is up to date, you can proceed to install the Apache web server.

Install Apache Web Server

First, you will need to install Apache web server on your system. You can easily install it by running the following command:

sudo apt-get install apache2 -y

Once apache is installed, start the Apache web server and enable it to start on boot with the following command:

sudo systemctl start apache2 sudo systemctl enable apache2

Install PHP

You can install PHP and other required modules with the following command:

sudo apt-get install wget unzip php7.0 php7.0-mysql php7.0-gd php7.0-curl libapache2-mod-php7.0 php7.0-mcrypt php7.0-pear python-mysqldb rrdtool subversion whois mtr-tiny ipmitool graphviz imagemagick snmp fping -y

Once all the packages are installed, you can proceed to install MariaDB server.

Install and Configure MariaDb Server

You will need to install MariaDB server to store data. You can install it with the following command:

sudo apt-get install mariadb-server -y

Start MariaDB and enable it to automatically start at boot time.

sudo systemctl start mysql sudo systemctl enable mysql

By default, MariaDB is not secured, so you will need to secure it first. You can secure it by running the mysql_secure_installation script.

sudo mysql_secure_installation

Answer all the questions as shown below:

Set root password? [Y/n] n
Remove anonymous users? [Y/n] y
Disallow root login remotely? [Y/n] y
Remove test database and access to it? [Y/n] y
Reload privilege tables now? [Y/n] y

Once MariaDB is secured, log in to the MySQL shell and create a database for observium:

mysql -u root -p

Enter your root password when prompt, then create a database for Observium. It is recommended to set secure password:

MariaDB [(none)]>CREATE DATABASE observiumdb;
Query OK, 1 row affected (0.00 sec)

Next, create a username and password for Observium with the following command:

MariaDB [(none)]>CREATE USER 'user'@'localhost' IDENTIFIED BY 'password';
Query OK, 1 row affected (0.00 sec)

Next, grant privileges to the Observium database with the following command:

MariaDB [(none)]>GRANT ALL PRIVILEGES ON observiumdb.* TO 'user'@'localhost';
Query OK, 1 row affected (0.00 sec)

Next, you will need to run the FLUSH PRIVILEGES command so that the privileges table will be reloaded by MariaDB and we can use new credentials:

Query OK, 1 row affected (0.00 sec)

Next, exit from the MariaDB console with the following command:

MariaDB [(none)]>\q

Once you are done, you can proceed to the next step.

Install Observium

First, you will need to downlaod the latest version of the Observium. You can download it with the following command


Once the download is completed, extract the downloaded file with the following command:

tar -xvzf observium-community-latest.tar.gz

Next, move the extracted directory to the Apache web root directory:

sudo mv observium /var/www/html/

Next, change the directory to observium and copy the default configuration file config.php.default toconfig.php` with the following command:

cd /var/www/html/observium sudo cp config.php.default config.php

Next, edit the config.php file and make some changes:

sudo nano config.php

Change the following lines:

// Database config ---  This MUST be configured
$config['db_extension'] = 'mysqli';
$config['db_host']      = 'localhost';
$config['db_user']      = 'user';
$config['db_pass']      = 'password';
$config['db_name']      = 'observiumdb';

Save and close the file when you are finished, then setup the default schema for the MySQL Database with the following command:

sudo ./discovery.php -u

You should see the following output:

  ___   _                              _
 / _ \ | |__   ___   ___  _ __ __   __(_) _   _  _ __ ___
| | | || '_ \ / __| / _ \| '__|\ \ / /| || | | || '_ ` _ \
| |_| || |_) |\__ \|  __/| |    \ V / | || |_| || | | | | |
 \___/ |_.__/ |___/ \___||_|     \_/  |_| \__,_||_| |_| |_|
                   Observium Community Edition

Install initial database schema ... done. -- Database is up to date.

Next, create the directory to store RRDs and logs and set the proper ownership:

sudo mkdir rrd logs sudo chown www-data:www-data rrd logs

Configure Apache for Observium

First, create the virtual host configuration file for Observium. You can do this by creating observium.conf file inside /etc/apache2/sites-available directory:

sudo nano /etc/apache2/sites-available/observium.conf

Add the following lines:

<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/observium/html
<Directory />
Options FollowSymLinks
AllowOverride None
<Directory /var/www/html/observium/html/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
ErrorLog  ${APACHE_LOG_DIR}/error.log
LogLevel warn
CustomLog  ${APACHE_LOG_DIR}/access.log combined
ServerSignature On

Save and close the file. Then enable rewrite and PHP mcrypt module with the following command:

sudo a2enmod rewrite sudo php5enmod mcrypt

Finally, restart Apache web server so that the changes take place:

sudo systemctl restart apache2

Next, create your first admin user with the following command:

cd /var/www/html/observium sudo ./adduser.php admin password 10

You should see the following output:

Observium CE
Add User

User admin added successfully.

Access Observium

Once Observium is configured properly, open your web browser and type the URL, you will be redirected to the Observium login page as shown in below image:

Here, provide your login credentials and click on the login button, you should see the Observium dashboad as below:

Congratulations! You have successfully installed Observium on your Ubuntu 16.04 server.

Want your very own server? Get our 1GB memory, Xeon V4, 20GB SSD VPS for £10.00 / month.

View Plans