Root access is available.
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/ |
/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 |
Setup the cron jobs to run data collections, create a file /etc/cron.d/optrend
# opTrend "collect" */5 * * * * root sleep 60;/usr/local/omk/bin/optrend.exe act=collect; 0 0 * * 0 root /usr/local/omk/bin/optrend.exe act=update |
http://<yourserverip>/omk/opTrend"
; you will have to enter your license first, then you will see opTrend main dashboard.