Categories: TutorialsUbuntu

How to Install Observium in Ubuntu

Today we will be installing Observium.
Observium is a Network Management and Monitoring System that collects data from multiple devices using SNMP and allows you to monitor all of the networks devices via an easy to use interface. It is PHP-based and uses a MySQL database to store data.

Table of Contents

Toggle

Note

This guide works with Ubuntu 13.10 to 15.04 and Debian 7.

Install

Connect to your server via SSH

ssh [email protected]

Install Dependencies

sudo apt-get -y install libapache2-mod-php5 php5-cli php5-mysql php5-gd php5-mcrypt php5-json php-pear snmp fping mysql-server mysql-client python-mysqldb rrdtool subversion whois mtr-tiny ipmitool graphviz imagemagick

Enter the Mysql password for the root user. Note: For security make this one different than your server’s password, and try not to use this user in any application that requires a database to store and pull data from.

Sponsored

Download and Extract Observium

sudo mkdir -p /opt/observium
cd /opt
sudo wget http://www.observium.org/observium-community-latest.tar.gz
sudo tar zxvf observium-community-latest.tar.gz

Configuration

create the MYSQL database and user

Sponsored

Enter your MySQL password that you gave the root user from before

mysql -u root -p

Once in MySQL enter the following commands to create the database, the user and to allow the user access to the database.

CREATE DATABASE observium DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

Make sure to change the Observium database password with your own, you will need this in the next step.

GRANT ALL PRIVILEGES ON observium.* TO 'observium'@'localhost' IDENTIFIED BY 'observium db password';
exit

Changing the config file

cd observium
sudo cp config.php.default config.php

Change the setting on the config.php to reflect your systems settings

sudo nano config.php

Set the username and password on the observium config file and an email address for alerts to get sent to.

Ubuntu Server Admin

Recent Posts

Cut data center energy costs with bare metal automation

Data centers are popping up everywhere. With the rapid growth of AI, cloud services, streaming…

20 hours ago

Build the future of *craft: announcing Starcraft Bounties!

Our commitment to building a thriving open source community is stronger than ever. We believe…

20 hours ago

NodeJS 18 LTS EOL extended from April 2025 to May 2032 on Ubuntu

The clock was ticking: Node.js 18’s upstream End of Life (EOL) The OpenJS Foundation is…

20 hours ago

Native integration now available for Pure Storage and Canonical LXD

June 25th, 2025 – Canonical, the company behind Ubuntu, and Pure Storage, the IT pioneer…

2 days ago

Revolutionizing Web Page Creation: How Structured Content is Slashing Design and Development Time

Co-authored with Julie Muzina A year ago, during our Madrid Engineering Sprint, we challenged ourselves…

3 days ago

Ubuntu Weekly Newsletter Issue 897

Welcome to the Ubuntu Weekly Newsletter, Issue 897 for the week of June 15 –…

4 days ago