...
Warning |
---|
Exercise caution while editing /usr/local/omk/conf/opCommon.nmis; if a syntax error is induced all OMK applications will cease to function. |
See the section below for more details on edCheck out How to make configuration changes to opCommon.nmis and other files for some more details on best practices for modifying the configuration file.
OMK Settings
Authentication
...
Code Block | ||
---|---|---|
| ||
'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 | ||
---|---|---|
| ||
'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 | ||
---|---|---|
| ||
'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.
...