Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add notes for Slave names

...

The Servers nmis file is located at /usr/local/nmis8/conf/Servers.nmis, you will need to add a section for each server the daemon will be connecting to.  The NMIS GUI can help you create these entries, to use it load up NMIS on the server you are configuring, and select "System->System Configuration->Servers" from the menu.


Important Notes: the name cannot contain / or . and must match what is in the key (which is the first line opening each settings bracket 'key' => {

Also Note: if the name refers to an NMIS Slave server, it should match the setting in 'server_name' mentioned above.

 

The default entries look like this:

Code Block
themeEmacs
'nmis1key' => {
  'name' => 'nmis1key', # what to name this server in the GUI, MUST match key in line above
  'config' => 'Config.nmis', 
  'protocol' => 'http', # only HTTP is supported at this time
  'port' => '8042', # this should be the port that omkd runs on, set in opCommon, 'omkd_listen_port'
  'host' => 'nmis1.domain.com', # name/ip address omkd will use to connect to the server.  Must be FQDN or IP, hostname.local might work
  'user' => 'nmismst', # user omkd will connect to this server with
  'passwd' => 'C00kb00k' # password omkd will connect to this server with
  'portal_host' => 'vali.opmantek.com',
  'portal_port' => '80',
  'portal_protocol' => 'http',
  'cgi_url_base' => '/cgi-nmis8'  
}

...