1. Lets install Observium prerequisites
    • apt-get install libapache2-mod-php php-cli php-mysql php-gd php-mcrypt php-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
    • Setup database connection the run the below.
    • ./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 webmaster@localhost
            DocumentRoot /opt/observium/html
            <FilesMatch \.php$>
              SetHandler application/x-httpd-php
            <Directory />
                    Options FollowSymLinks
                    AllowOverride None
            <Directory /opt/observium/html/>
                    DirectoryIndex index.php
                    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
  8. Enable PHP mcrypt mod (run each line bleow)
    • phpenmod 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 Debian 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:
    • un-comment this line: agentAddress udp:161,udp6:[::1]:161
    • un-comment this line: rocommunity secret
    • Change secret to any 'password' you want this will be used to add the device.
    • Change the 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

Setting up client ESXI 6.0 6.5 devices

  1. SSH into esxi using or as root user.
    • esxcli system snmp set -r
    • esxcli system snmp set -c YOUR_STRING
    • esxcli system snmp set -p 161
    • esxcli system snmp set -L “Sitting on the Dock of the Bay”
    • esxcli system snmp set -C noc@example.com
    • esxcli system snmp set -e yes

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