Recommit for updates in build 89
This commit is contained in:
@@ -70,9 +70,13 @@
|
||||
</li><li>
|
||||
<p><a href="#features">Features</a></p>
|
||||
<ul><li>
|
||||
<p><a href="#configuring-user-access">configuring user access</a></p>
|
||||
<p><a href="#configuring-ui-user-access">configuring UI user access</a></p>
|
||||
</li><li>
|
||||
<p><a href="#additional-users">Additional users</a></p>
|
||||
<p><a href="#additional-ui-users">Additional UI users</a></p>
|
||||
</li><li>
|
||||
<p><a href="#adding-contacts">Adding contacts</a></p>
|
||||
</li><li>
|
||||
<p><a href="#adding-contact-groups">Adding contact groups</a></p>
|
||||
</li></ul>
|
||||
</li><li>
|
||||
<p><a href="#repo-documentation">Repo Documentation</a></p>
|
||||
@@ -119,7 +123,7 @@
|
||||
<p>if <code>ng_include_nrpe</code>is set to <code>true</code>, the confdroid_nrpe module is automatically applied on clients (<a href="https://sourcecode.confdroid.com/confdroid/confdroid_nrpe">confdroid_nrpe</a> must be in the catalogue then)</p>
|
||||
</li></ul>
|
||||
|
||||
<h3 id="label-configuring+user+access">configuring user access</h3>
|
||||
<h3 id="label-configuring+UI+user+access">configuring UI user access</h3>
|
||||
|
||||
<p>Main access to the user interface requires defining an administrative user and password via <code>ng_main_user</code> and <code>ng_main_password</code>. The password should be encrypted like this:</p>
|
||||
|
||||
@@ -135,7 +139,7 @@ Re-type new password:
|
||||
|
||||
<p>Use that value to override the default password in ENC or Hiera, if you use it.</p>
|
||||
|
||||
<h3 id="label-Additional+users">Additional users</h3>
|
||||
<h3 id="label-Additional+UI+users">Additional UI users</h3>
|
||||
|
||||
<p>The main user is automatically created. If you want to add more users, this should be done via the define confdroid_nagios::server::access. In your control repo, site.pp etc. address the access define like this:</p>
|
||||
|
||||
@@ -145,6 +149,31 @@ Re-type new password:
|
||||
}
|
||||
</code></pre>
|
||||
|
||||
<h3 id="label-Adding+contacts">Adding contacts</h3>
|
||||
|
||||
<p>In order to add contacts for the notifications, address the define <code>confdroid_nagios::nagios::objects::add_contact</code> in your config repo, site.pp etc. like this:</p>
|
||||
|
||||
<pre class="code ruby"><code class="ruby">confdroid_nagios::nagios::objects::add_contact { 'example_user':
|
||||
ng_contact_name => 'example_user',
|
||||
ng_contact_alias => 'Example User',
|
||||
ng_contact_groups => 'admins',
|
||||
ng_contact_email => 'example@example.net',
|
||||
}
|
||||
</code></pre>
|
||||
|
||||
<p>This requires the contact groups to be in place as well.</p>
|
||||
|
||||
<h3 id="label-Adding+contact+groups">Adding contact groups</h3>
|
||||
|
||||
<p>In order to add contact groups for the notifications, address the define <code>confdroid_nagios::nagios::objects::add_contactgroups</code> in your config repo, site.pp etc. like this:</p>
|
||||
|
||||
<pre class="code ruby"><code class="ruby">confdroid_nagios::nagios::objects::add_contactgroups { 'example_group':
|
||||
ng_contactgroup_name => 'example_group',
|
||||
ng_contactgroup_alias => 'Example Group',
|
||||
ng_contactgroup_register => '1',
|
||||
}
|
||||
</code></pre>
|
||||
|
||||
<h2 id="label-Repo+Documentation">Repo Documentation</h2>
|
||||
|
||||
<p>See the full Puppet documentation including parameters in <code>docs/index.html</code></p>
|
||||
|
||||
Reference in New Issue
Block a user