1. Lets install Observium prerequisites
    • apt-get 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
  2. Now lets install Observium
    • Create a directory for Observium - mkdir -p /opt/observium && cd /opt
  3. Download Observium Community Edition
  4. Edit The config for your mysql database
    • cd observium
    • cp config.php.default config.php
    • nano config.php
    • Change the following to suit your config
  5. Setup mysql database
    • ./discovery.php -u
  6. Setup the log location.
    • cd observium *
    • mkdir logs
    • mkdir rrd
    • chown www-data:www-data rrd
  7. Edit the Apache2 config - nano /etc/apache2/sites-available/000-default.conf
    • Remove everything in the config file & replace with the following.
          <VirtualHost *:80>
            ServerAdmin [email protected]
            DocumentRoot /opt/observium/html
            <FilesMatch \.php$>
              SetHandler application/x-httpd-php
            </FilesMatch>
            <Directory />
                    Options FollowSymLinks
                    AllowOverride None
            </Directory>
            <Directory /opt/observium/html/>
                    DirectoryIndex index.php
                    Options Indexes FollowSymLinks MultiViews
                    AllowOverride All
                    Require all granted
            </Directory>
            ErrorLog  ${APACHE_LOG_DIR}/error.log
            LogLevel warn
            CustomLog  ${APACHE_LOG_DIR}/access.log combined
            ServerSignature On
          </VirtualHost>
  8. Enable PHP mcrypt mod (run each line bleow)
    • php5enmod mcrypt
    • a2dismod mpm_event
    • a2enmod mpm_prefork
    • a2enmod php7.0
  9. Enable mod rewrite
    • a2enmod rewrite
    • apache2ctl restart
  10. Add a new admin user
    • ./adduser.php <username> <password> 10
  11. Add a new device/devices to be monitored
    • ./add_device.php <hostname> <community> v2c
  12. Discover and Pull–
    • ./discovery.php -h all
    • ./poller.php -h all

Setting up client devices

  1. Lets install snmpd client.
    • apt-get update
    • apt-get install snmpd
  2. Lets make some changes to nano /etc/snmp/snmpd.conf
    • Comment out this line: agentAddress udp:127.0.0.1:161
    • un-comment this line: agentAddress udp:161,udp6:[::1]:161
    • un-comment this line: rocommunity secret 10.0.0.0/16
    • Change secret to any 'password' you want this will be used to add the device.
    • Change the 10.0.0.0/16 to your monitoring network ip.
    • Change the following to identify the location of the vm/server sysLocation Sitting on the Dock of the Bay
    • Change the following to identify the admin email of the vm/server sysContact Me me@example.org
  3. Restart the SNMPD service
    • /etc/init.d/snmpd restart

- Source: http://www.observium.org/docs/install_debian/