Versions Compared

Key

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

...

The default entries look like this:

Code Block
themeEmacs
 'nmis1' => {
  'name' => 'nmis1', # what to name this server in the GUI
  'config' => 'Config.nmis', 
  'protocol' => 'http', # only HTTP is supported at this time
  'port' => '3000', # this should be 3000, the port that omkd runs on
  'host' => 'nmis1.domain.com', # the name/ip address omkd will use to connect to the server
  'portal_protocol' => 'http', # the next entries define how links in the master will appear
  'portal_port' => '80',
  'portal_host' => 'nmis1.alternate.com',
  'cgi_url_base' => '/cgi-nmis8',
  'url_base' => '/nmis8',
  'user' => 'nmismst', # the user omkd will connect to this server with
  'passwd' => 'C00kb00k' # the password omkd will connect to this server with
}

Edit the entry to look like this, in this example the hostname of the slave is "vali":

Code Block
themeEmacs
 'localhost' => {
   'name' => 'localhost',
   'config' => 'Config.nmis',
   'protocol' => 'httpshttp', 
   'host' => 'localhost',   
   'port' => '3000',
   'portal_host' => 'vali.opmantek.com',
   'portal_port' => '443',
   'portal_protocol' => 'https',
   'cgi_url_base' => '/cgi-nmis8',
   'url_base' => '/nmis8',
   'user' => 'nmis',
   'passwd' => 'nm1888'
 },
 'vali' => {
   'community' => 'can_be_empty',
   'name' => 'vali',
   'config' => 'Config.nmis',
   'protocol' => 'http',
   'port' => '3000',
   'host' => 'vali',
   'portal_protocol' => 'http',
   'portal_port' => '80',
   'portal_host' => 'vali',
   'cgi_url_base' => '/cgi-nmis8',
   'url_base' => '/nmis8',
   'user' => 'nmismst',
   'passwd' => 'C00kb00k' 
 }

...