...
The default entries look like this:
Please read the COMMENTS for each entry CAREFULLY
Code Block | ||
---|---|---|
| ||
'key' => { ### this must match the server_name in Config.nmis on the slave 'name' => 'key', # whatThe toname nameof this server in it's Config.nmis file it also what is displayed 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' UNLESS CHANGED IT IS 8042 'host' => 'nmis1example.domain.com', # name/ip address omkd will use the hostname used by the opHA process to connect to the server. and Mustretreve benode FQDNand orsummary IPdata, hostname.localit mightwill workmatch the 'user' => 'nmismstnmis_host field in Config.nmis. It must be FQDN or IP and should match the one in Config.nmis, 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', omkd will connect to this server with 'passwd' => 'C00kb00k' # password omkd will connect to this server with 'portal_host' => 'example.domain.com', ## This is the FQDN used to make links to the slave it will match the 'host' entry above UNLESS you are using a proxy service to reach the slave in which case it is the FQDN used to refer to the slave through the proxy. 'portal_port' => '80', 'portal_protocol' => 'http', 'cgi_url_base' => '/cgi-nmis8' } |
...
Code Block | ||
---|---|---|
| ||
'localhost' => {
'name' => 'localhost',
'config' => 'Config.nmis',
'protocol' => 'http',
'host' => '127.0.0.1',
'port' => '8042',
'user' => 'nmis',
'passwd' => 'nm1888'
},
'vali' => {
'name' => 'vali',
'config' => 'Config.nmis',
'protocol' => 'http',
'port' => '8042',
'host' => 'vali.opmantek.com',
'user' => 'nmismst',
'passwd' => 'C00kb00k',
'portal_host' => 'vali.opmantek.com',
'portal_port' => '80',
'portal_protocol' => 'http',
'cgi_url_base' => '/cgi-nmis8'
} |
...