Versions Compared

Key

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

...

Code Block
title/usr/local/omk/conf/opCommon.nmis
   'nmis' => {
    '<nmis_dir>' => '/usr/local/nmis8',
    '<nmis_logs>' => '/usr/local/nmis8/logs',
    'nmisConf' => 'Config',
    'nmis_cgi_url_base' => '/cgi-nmis8',
    'nmis_dir' => '/usr/local/nmis8',
    'nmis_host_base' => 'http://localhost',
    'nmis_icon_small' => '<omk_url_base>/icons/nmis_sml.png',
    'nmis_max_filtered_table_cache_size' => 100,
    'nmis_sensitive_property' => [
      'community',
      'privkey',
      'privpassword',
      'authkey',
      'authpassword',
      'wmiusername',
      'wmipassword',
      'username'
    ],
    'prefer_local_nmis' => 'false'
  },

OMK Daemon

omkd is the web server daemon for OMK applications.  There are several attributes that can be changed in this section but be sure to change the 'omkd_secrets' attribute.

Code Block
title/usr/local/omk/conf/opCommon.nmis
'omkd' => {
  'omkd_secrets' => [
    'CHANGE_ME_u3207bhcjq1vcpv43e4b'
    ],
  'omkd_workers' => 5,
  'omkd_url_base' => 'http://yourserver.yourdomain',
 },

In Abi2 Products, opCharts-4.X etc 'omkd_url_base' must be set to the FQDN of the current server for a Primary Poller environment.


opEvents

opEvents has many configuration attributes that may be helpful.  The following are a few that we suggest reviewing.

...

Code Block
title/usr/local/omk/conf/opCommon.nmis
 'opcharts_url_base' => "http://yourserver.yourdomain/",

In case this option is set, opCharts will also need opcharts_hostname to be set in order to generate the registry data. 

Even if they are blank, opcharts_url_base and opcharts_hostname should be defined in the configuration. 

opConfig

opConfig has many configuration attributes that may be helpful.  The following are a few that we suggest reviewing.

...