You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Purpose

There are several user configuration attributes within NMIS8 that administrators should consider changing to better suit their environment.

Related Wiki Space:

https://community.opmantek.com/x/BgAF

Settings

Authentication

The authentication section allows for many customizations such as login banner, keys, authentication servers, etc.  Here's an example of how to use an AD server for external authentication:  https://community.opmantek.com/x/WgC2

  'authentication' => {
    'auth_lockout_after' => 0,
    'auth_debug' => '',
    'auth_debug_remote_addr' => '',
    'auth_method_1' => 'htpasswd',
    'auth_method_2' => '',
    'auth_method_3' => '',
    'auth_default_privilege' => '',
    'auth_default_groups' => '',
    'auth_htpasswd_file' => '<nmis_conf>/users.dat',
    'auth_htpasswd_encrypt' => 'crypt',
    'auth_radius_secret' => '',
    'auth_user_name_regex' => '[\w \-\.\@\`\']+',
    'auth_web_key' => 'Please Change Me!',
    'auth_sso_domain' => '', # must be .yourdomain.tld, including the leading .
    'auth_radius_server' => '',
    'auth_expire' => '+30min',
    'auth_login_title' => 'NMIS8 login',
    'auth_login_motd' => 'Authentication required: Please log in with your appropriate username and password in order to gain access to this system',
    'auth_banner_title' => 'NMIS8',
    'auth_buttons_visible' => 'true',
    'auth_ldaps_server' => '',
    'auth_ldap_server' => '192.168.1.5',
    'auth_ldap_context' => 'ou=people,dc=opmantek,dc=com',
    'auth_ldap_attr' => '',
    'auth_ms_ldaps_server' => '',
    'auth_ms_ldap_server' => '192.168.1.5',
    'auth_ms_ldap_dn_acc' => 'nmis',
    'auth_ms_ldap_dn_psw' => 'XXXXXXXXX',
    'auth_ms_ldap_base' => 'dc=corp,dc=opmantek,dc=com',
    'auth_ms_ldap_attr' => 'sAMAccountName',
    'auth_ms_ldap_debug' => 'false',
    'auth_cw_server' => '',
    'auth_cw_company_id' => '',
    'auth_cw_public_key' => '',
    'auth_cw_private_key' => '',
  },

Email

NMIS can send email based on alerts.  Edit the email attributes below to suit your organization.

  'email' => {
    'mail_server' => '127.0.0.1',
    'mail_server_ipproto' => undef,
    'mail_combine' => 'true',
    'mail_domain' => 'yourdomain.com',
    'mail_from' => 'nmis@yourdomain.com',
    'mail_from_reports' => 'nmis-reports@yourdomain.com',
    'mail_use_tls' => 'false',
    'mail_server_port' => '25',
    'mail_user' => 'your mail username',
    'mail_password' => ''
  },

System

The System section has many attributes.  We recommend reading through them as it will provide some insight into what level of customization is available.  At a minimum set the server_name accordingly.

  'system' => {
    'server_name' => 'localhost',
  • No labels