Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Server \ Use Observium to monitor your network and servers     - how to quickly find a file on Linux system (Linux)

- Ubuntu 14.04 install PostgreSQL 9.2 (Database)

- How to Debian Linux the default Python version switch to alternative version (Linux)

- Java Set and List in the relationship and difference (Programming)

- After installing Ubuntu 15.04, to do a few things (Linux)

- RabbitMQ Getting Started Tutorial (Linux)

- Using Python and OpenCV detecting image barcode (Programming)

- Java implementation linear table - represents the order of representation and chain (Programming)

- Linux file system management partition, format, mount - label mount (Linux)

- On FreeBSD 10.2 Bugzilla how to install and configure Apache SSL (Server)

- Ubuntu dual-card system configuration method (Server)

- Daemon under Linux (Linux)

- RAID configuration and management under linux (Server)

- Linux Operating System Security Management Experience (Linux)

- LinSSID: a graphical Wi-Fi scanner under Linux (Linux)

- How to install Linux Kernel 4.0 On CentOS 7 system (Linux)

- Six Ways to view slides can be implemented Android (Programming)

- Use source packages compiled and installed GCC5.1 in Mac OS X 10.10.3 (Linux)

- Ubuntu compiler installation R Full Record (Linux)

- C language - Traverse pci device (Programming)

  Use Observium to monitor your network and servers
  Add Date : 2017-08-31      

Having trouble monitoring your server, switch, or device? Observium can meet your needs. This is a free monitoring system, it can help you remotely monitor your server. It is a PHP-based network monitoring platform based on auto-discovery SNMP that supports a wide range of network hardware and operating systems, including Cisco, Windows, Linux, HP, NetApp and more. In this I will give in Ubuntu 12.04 step by step to set up an Introduction to the Observium server.

There are currently two different versions of the Observium.

The Observium Community Edition is a free tool under the QPL open source license, which is the best solution for smaller deployments. This version is updated every 6 months.
The second version is the Observium Professional Edition, which is based on the SVN-based publishing mechanism. Will receive a daily security update. The tool for service providers and enterprise-class deployment.
More information is available on its website.

system requirement

To install Observium, you need a newly installed server. Observium is developed on Ubuntu LTS and Debian systems, so installing Observium on Ubuntu or Debian is recommended because there may be minor issues on other platforms.

This article will guide you to install Observium on Ubuntu 12.04. For small Observium installations, 256 MB of memory and dual-core processor configurations are recommended.

Installation requirements

Before installing Observuim, you need to make sure that you install all the dependency packages.

First, use the following command to update your server:

Sudo apt-get update
Then you need to install all of the following packages needed to run Observuim.

Observium requires the following software to function correctly:

LAMP server
Net-SNMP 5.4+
RRDtool 1.3 +
Requirements for optional features:

Ipmitool - Only when you want to acquire the IPMI (Intelligent Platform Management Interface) baseboard controller on the server.
Libvirt-bin - Only if you want to use libvirt for remote VM host monitoring.

Mysql-server python-mysqldb rrdtool subversion whois mtr-tiny ipmitool graphviz imagemagick libvirt ipmitool


Create a MySQL database for Observium and its users.

Now you need to log into MySQL and create a database for Observium:

Mysql -u root -p
In the user authentication is successful, you need to follow the following command to create the database.

The database is called Observium, and you will need this information later.

Now you need to create the database administrator user.

CREATE USER observiumadmin @ localhost IDENTIFIED BY 'observiumpassword';
Next, you need to give the administrator user the appropriate permissions to manage the created database.

GRANT ALL PRIVILEGES ON observium. * TO observiumadmin @ localhost;
You need to write the permissions back to disk to activate the new MySQL user:


Download and install Observium

Now our system is ready, you can start the installation of the Observium.

The first step is to create the file directory that Observium will use:

Mkdir -p / opt / observium && cd / opt
For the purposes of this tutorial, we will use the community / open source version of Observium. Use the following command to download and unzip:

Wget http://www.observium.org/observium-community-latest.tar.gz
Tar zxvf observium-community-latest.tar.gz
Now go to the Observium directory.

Cd observium
Copy the default configuration file 'config.php.default' to 'config.php' and populate the configuration file with the database configuration options:

Cp config.php.default config.php
Nano config.php
/ Database configuration
$ Config [ 'db_host'] = 'localhost';
$ Config [ 'db_user'] = 'observiumadmin';
$ Config [ 'db_pass'] = 'observiumpassword';
$ Config [ 'db_name'] = 'observium';
Now set the default database schema for the MySQL database:

Php includes / update / update.php
Now you need to create a file directory to store the rrd file, and modify its permissions so that apache can write to the file.

Mkdir rrd
Chown apache: apache rrd
In order to troubleshoot problems, you need to create a log file.

Mkdir -p / var / log / observium
Chown apache: apache / var / log / observium
Now you need to create a virtual host configuration for Observium.

< VirtualHost *: 80>
DocumentRoot / opt / observium / html /
ServerName observium.domain.com
CustomLog / var / log / observium / access_log combined
ErrorLog / var / log / observium / error_log
< Directory "/ opt / observium / html /">
AllowOverride All
Options FollowSymLinks MultiViews
< / Directory>
< / VirtualHost>
Next you need to make your Apache server rewrite (rewrite) function into effect.

In order for 'mod_rewrite' to take effect, enter the following command:

Sudo a2enmod rewrite
This module will take effect after the next Apache service restart.

Sudo service apache2 restart

Configure the Observium

Before logging into the Web interface, you need to create an administrator account for the Observium (Level 10).

# Cd / opt / observium
# ./adduser.php admin adminpassword 10
User admin added successfully.
The next step is to set up a cron task for discovery and discovery tasks, create a new file '/etc/cron.d/observium' and add the following to it.

33 * / 6 * * * root /opt/observium/discovery.php -h all >> / dev / null2> & 1
* / 5 * * * * root /opt/observium/discovery.php -h new >> / dev / null2> & 1
* / 5 * * * * root /opt/observium/poller-wrapper.py 1 >> / dev / null2> & 1
Overload the cron process to add new tasks.

# /etc/init.d/cron reload
Well, you have completed the installation of the Observium server pull! Use your browser to login to http: // < Server IP>, then go ahead.
- Use FirewallD build dynamic firewall (Linux)
- Java environment to build a number of issues (Linux)
- Two alert log ORA Errors (Database)
- Experience CoreCLR stack unwinding characteristics of initial implementation on Linux / Mac (Linux)
- Java developers question (Programming)
- Linux firewall Iptables study notes (Linux)
- To install the Contiki development toolchain on Ubuntu (Linux)
- Android Studio interface-related settings (Linux)
- Math objects easily overlooked but very convenient method --JavaScript (Programming)
- CentOS 7 Add yum source (Linux)
- Large computer network security policy Experience (Linux)
- Ubuntu in Vim editor display processing method Chinese garbled (Linux)
- Nginx request processing (Server)
- ARP Linux-related operations (Linux)
- Tab set to four spaces in Vim (Linux)
- Android recyclerview cardview (Programming)
- How to configure security management services under Linux (Linux)
- Ubuntu Server 14.04 installation Web server (Linux + Apache + MySQL + PHP) (Server)
- Linux Security and Optimization (Linux)
- C / C ++ language usage summary of const (Programming)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.