Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The individual performing this installation has a bit of Linux experience.
  • Root access is available.

  • A working copy of NMIS (starting from an NMIS VM is a good idea, if you prefer to install it yourself see the NMIS 8 Installation Guide) on the same server that opEvents opTrend is being installed on.
  • An (evaluation) license for opTrend
NOTE: opTrend is currently in alpha.  It will not work run from the same folder as other omk daemon applications.  To manage this move it into it's own application directory (eg. /usr/local/opTrend), change the opCommon.nmis setting  '<omk_base>' => '/usr/local/omk' as well as  'omkd_listen_port' => 8042.  If proxy support is need the port number in the proxy config file will need to be changed.  The name of the daemon init file will also need a new name (as omk will be used).

Installation Steps

  • Download opTrend from the Opmantek website.
    Copy the opTrend tarball to the server in question, using scp or sftp or similar. Make a record of where you put the tarball (likely root's home directory).
  • Become root and unpack the tarball:

    Code Block
    # as root
    cd /usr/local
    # if the tarball was saved in a different location, adjust the ~ in the following command 
    tar xzf ~/opTrend-Linux-x86_64-1.0.0.tgz
    cd /usr/local/omk 
    cp install/opCommon.nmis conf/
    cp -r install/trend conf
    cp install/users.dat conf/
  • opTrend is now unpacked into /usr/local/omk, and the default configuration files are in /usr/local/omk/conf, ready for your initial config adjustments.
  • Integrate opTrend with the web server
    become root and run the following commands:

    Code Block
    # as root
    # non-debian:
    cp /usr/local/omk/conf/04omk-proxy.conf /etc/httpd/conf.d/
    apachectl restart
    # debian/ubuntu:
    cp /usr/local/omk/conf/04omk-proxy.conf /etc/apache2/conf.d/
    /etc/init.d/apache2 restart

    Note: If this step is not taken, then the opTrend web GUI will only be available on port 8042 and you'll need to adjust your web browser accordingly.

  • Adjust NMIS Access list to include opTrend 

    Code Block
    cd /usr/local/omk/
    perl ./install/optrend_setup.pl setup=all
  • Make the opTrend service daemons start automatically with the system
    become root, then run the  following commands:

    Code Block
    # as root
    cd /usr/local/omk/install
    cp omkd.init.d /etc/init.d/omkd
    # non-debian:
    chkconfig omkd on
    # debian/ubuntu:
    update-rc.d omkd defaults
  • Start the opTrend service daemons
    become root, then run the following commands:

    Code Block
    service omkd start 
  • Test opTrend
    open up a web browser, and point it to "http://<yourserverip>/omk/opTrend"; you will have to enter your license first, then you will see opTrend main dashboard.