Skip to end of banner
Go to start of banner

opReports Installation

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 »

Installing opReports is very straight forward.  Especially if NMIS8 is already installed.

Installation Prerequisites

  • The individual performing this installation has some Linux experience.
  • NMIS8 is installed on the same server where opReports will be installed
  • NMIS8 is installed in /usr/local/nmis8
  • OpReports will be installed into /usr/local/opmantek
  • Root access is available (not always needed but much easier)

Installation Steps

  • Copy the opReports tarball to the server (a tarball is a GZIP'd tar file, e.g. opReports-2012-05-09-1315.tar.gz)
    1. You may need to use SCP or FTP to get the file onto the server.
  • The file will now likely be in the users home directory.
  • If the installation directory does not already exist
  • Change into the directory where the tarball was copied
  • Untar the file
unalias cp
cd
tar xvf opReports-<version>.tar.gz
cd opmantek/
mkdir /usr/local/opmantek
cp -r * /usr/local/opmantek/
mkdir /usr/local/opmantek/var
mkdir /usr/local/opmantek/var/reports
mkdir /usr/local/opmantek/logs
touch /usr/local/opmantek/logs/opReports.log
/usr/local/opmantek/bin/opupdateconfig.pl /usr/local/opmantek/install/opReports.nmis /usr/local/opmantek/conf/opReports.nmis
  • Update the crontab to run the default reports every day for the last 1 day and every week for the last week.  Below is the crontab entries required.
  • To edit the crontab, use the command "crontab -e"
######################################################
# Opmantek Config
######################################################
# Run opReports Batch 
0 0 * * * /usr/local/opmantek/bin/opReports-daily.sh
0 0 * * Sun /usr/local/opmantek/bin/opReports-weekly.sh

 

Patching opReports

Often patches will be released for opReports, the following are commands to install

  • No labels