Skip to end of banner
Go to start of banner

opTrend Installation Guide

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Prerequisites

  • 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 is being installed on.
  • An (evaluation) license for opTrend

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:

    # 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:

    # 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 

    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:

    # 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:

    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.
  • No labels