Versions Compared

Key

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

...

Code Block
# copy newer configuration files (check that you don't have local changes to these files before running) 
cp /usr/local/nmis8/install/Tables.nmis /usr/local/nmis8/conf 
cp /usr/local/nmis8/install/Table-*.nmis /usr/local/nmis8/conf 
cp /usr/local/nmis8/install/Logs.nmis /usr/local/nmis8/conf 
cp /usr/local/nmis8/install/Users.nmis /usr/local/nmis8/conf
cp /usr/local/nmis8/install/Services.nmis /usr/local/nmis8/conf
cp /usr/local/nmis8/install/License.nmis /usr/local/nmis8/conf
cp /usr/local/nmis8/install/Modules.nmis /usr/local/nmis8/conf
cp /usr/local/nmis8/install/Escalations.nmis /usr/local/nmis8/conf
cp /usr/local/nmis8/install/Portal.nmis /usr/local/nmis8/conf
cp /usr/local/nmis8/install/logrotate.conf /usr/local/nmis8/conf
cp /usr/local/nmis8/install/users.dat /usr/local/nmis8/conf

Update System Configuration

We recommend updating the authentication system from apache to htpasswd (so NMIS does authentication instead of Apache). 3 steps need to be taken to change this.

  1. Change Config.nmis to tell NMIS to use htpasswd 

    Code Block
    %hash = (
    --SNIP-- 
     'authentication' => {
     --SNIP--
       'auth_method_1' => 'htpasswd',  # <= change this FROM apache TO htpasswd
  2. Backup old apache configGenerate new apache configuration (if you have customised yours edit it and remove the auth portions instead of generating a new one) 

    Code Block
    #backup old config
    cd /etc/httpd/conf.d/
    cp 00nmis.conf 00nmis.conf.pre-8.3.18G.bak
  3. Create new config to replace old config and restart apache 

    Code Block
    /usr/local/nmis/bin/nmis.pl type=apache > /etc/httpd/conf.d/00nmis.conf
    service httpd restart

Fix Data Type on mib2ip Counters

...