Recommit for updates in build 89

This commit is contained in:
Jenkins Server
2026-03-01 15:14:01 +01:00
parent 1dd1644b64
commit 4cd2b6a679
9 changed files with 867 additions and 21 deletions

View File

@@ -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 { &#39;example_user&#39;:
ng_contact_name =&gt; &#39;example_user&#39;,
ng_contact_alias =&gt; &#39;Example User&#39;,
ng_contact_groups =&gt; &#39;admins&#39;,
ng_contact_email =&gt; &#39;example@example.net&#39;,
}
</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 { &#39;example_group&#39;:
ng_contactgroup_name =&gt; &#39;example_group&#39;,
ng_contactgroup_alias =&gt; &#39;Example Group&#39;,
ng_contactgroup_register =&gt; &#39;1&#39;,
}
</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>