Recommit for updates in build 95
This commit is contained in:
@@ -123,6 +123,11 @@
|
|||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<span class='object_link'><a href="puppet_classes/confdroid_nagios_3A_3Aparams.html" title="puppet_classes::confdroid_nagios::params (puppet_class)">confdroid_nagios::params</a></span>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<span class='object_link'><a href="puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html" title="puppet_classes::confdroid_nagios::server::access_rules (puppet_class)">confdroid_nagios::server::access_rules</a></span>
|
<span class='object_link'><a href="puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html" title="puppet_classes::confdroid_nagios::server::access_rules (puppet_class)">confdroid_nagios::server::access_rules</a></span>
|
||||||
|
|
||||||
|
|||||||
@@ -69,6 +69,14 @@
|
|||||||
<p><a href="#warning">WARNING</a></p>
|
<p><a href="#warning">WARNING</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#features">Features</a></p>
|
<p><a href="#features">Features</a></p>
|
||||||
|
</li><li>
|
||||||
|
<p><a href="#repo-documentation">Repo Documentation</a></p>
|
||||||
|
</li><li>
|
||||||
|
<p><a href="#dependencies">Dependencies</a></p>
|
||||||
|
</li><li>
|
||||||
|
<p><a href="#deployment">Deployment</a></p>
|
||||||
|
</li><li>
|
||||||
|
<p><a href="#configuration">Configuration</a></p>
|
||||||
<ul><li>
|
<ul><li>
|
||||||
<p><a href="#configuring-ui-user-access">configuring UI user access</a></p>
|
<p><a href="#configuring-ui-user-access">configuring UI user access</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
@@ -81,12 +89,6 @@
|
|||||||
<p><a href="#adding-host-groups">Adding host groups</a></p>
|
<p><a href="#adding-host-groups">Adding host groups</a></p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#repo-documentation">Repo Documentation</a></p>
|
|
||||||
</li><li>
|
|
||||||
<p><a href="#dependencies">Dependencies</a></p>
|
|
||||||
</li><li>
|
|
||||||
<p><a href="#deployment">Deployment</a></p>
|
|
||||||
</li><li>
|
|
||||||
<p><a href="#puppetdb">PuppetDB</a></p>
|
<p><a href="#puppetdb">PuppetDB</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#selinux">SELINUX</a></p>
|
<p><a href="#selinux">SELINUX</a></p>
|
||||||
@@ -125,6 +127,44 @@
|
|||||||
<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>
|
<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>
|
</li></ul>
|
||||||
|
|
||||||
|
<h2 id="label-Repo+Documentation">Repo Documentation</h2>
|
||||||
|
|
||||||
|
<p>See the full Puppet documentation including parameters in <code>docs/index.html</code></p>
|
||||||
|
|
||||||
|
<h2 id="label-Dependencies">Dependencies</h2>
|
||||||
|
|
||||||
|
<p>All dependencies must be included in the catalogue.</p>
|
||||||
|
<ul><li>
|
||||||
|
<p><code>puppetlabs-firewall</code></p>
|
||||||
|
</li><li>
|
||||||
|
<p><code>puppetlabs-stdlib</code></p>
|
||||||
|
</li><li>
|
||||||
|
<p><code>puppetlabs-concat</code></p>
|
||||||
|
</li><li>
|
||||||
|
<p><code>puppetlabs-nagios_core</code></p>
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
<h2 id="label-Deployment">Deployment</h2>
|
||||||
|
<ul><li>
|
||||||
|
<p>native Puppet deployment</p>
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
<p>via site.pp or nodes.pp</p>
|
||||||
|
|
||||||
|
<pre class="code ruby"><code class="ruby">node 'example.example.net' {
|
||||||
|
include confdroid_nagios
|
||||||
|
}
|
||||||
|
</code></pre>
|
||||||
|
<ul><li>
|
||||||
|
<p>through Foreman:</p>
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
<p>In order to apply parameters through Foreman, *<strong><em>confdroid_nagios::params</em></strong>- must be added to the host or host group in question.</p>
|
||||||
|
|
||||||
|
<p>See <a href="https://confdroid.com/2017/05/deploying-our-puppet-modules/">more details about class deployment on confdroid.com</a>.</p>
|
||||||
|
|
||||||
|
<h2 id="label-Configuration">Configuration</h2>
|
||||||
|
|
||||||
<h3 id="label-configuring+UI+user+access">configuring UI 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>
|
<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>
|
||||||
@@ -188,42 +228,6 @@ Re-type new password:
|
|||||||
|
|
||||||
<p>Hosts will be populated through the target.pp dynamically.</p>
|
<p>Hosts will be populated through the target.pp dynamically.</p>
|
||||||
|
|
||||||
<h2 id="label-Repo+Documentation">Repo Documentation</h2>
|
|
||||||
|
|
||||||
<p>See the full Puppet documentation including parameters in <code>docs/index.html</code></p>
|
|
||||||
|
|
||||||
<h2 id="label-Dependencies">Dependencies</h2>
|
|
||||||
|
|
||||||
<p>All dependencies must be included in the catalogue.</p>
|
|
||||||
<ul><li>
|
|
||||||
<p><code>puppetlabs-firewall</code></p>
|
|
||||||
</li><li>
|
|
||||||
<p><code>puppetlabs-stdlib</code></p>
|
|
||||||
</li><li>
|
|
||||||
<p><code>puppetlabs-concat</code></p>
|
|
||||||
</li><li>
|
|
||||||
<p><code>puppetlabs-nagios_core</code></p>
|
|
||||||
</li></ul>
|
|
||||||
|
|
||||||
<h2 id="label-Deployment">Deployment</h2>
|
|
||||||
<ul><li>
|
|
||||||
<p>native Puppet deployment</p>
|
|
||||||
</li></ul>
|
|
||||||
|
|
||||||
<p>via site.pp or nodes.pp</p>
|
|
||||||
|
|
||||||
<pre class="code ruby"><code class="ruby">node 'example.example.net' {
|
|
||||||
include confdroid_nagios
|
|
||||||
}
|
|
||||||
</code></pre>
|
|
||||||
<ul><li>
|
|
||||||
<p>through Foreman:</p>
|
|
||||||
</li></ul>
|
|
||||||
|
|
||||||
<p>In order to apply parameters through Foreman, *<strong><em>confdroid_nagios::params</em></strong>- must be added to the host or host group in question.</p>
|
|
||||||
|
|
||||||
<p>See <a href="https://confdroid.com/2017/05/deploying-our-puppet-modules/">more details about class deployment on confdroid.com</a>.</p>
|
|
||||||
|
|
||||||
<h2 id="label-PuppetDB">PuppetDB</h2>
|
<h2 id="label-PuppetDB">PuppetDB</h2>
|
||||||
|
|
||||||
<p>A working instance of PuppetDB connected to the Puppet master is required for this to work. Installation and configuration of PuppetDB is out of scope for this module, however <a href="https://gitlab.confdroid.com/puppet/cd_puppetdb">cd_puppetdb</a> is available to automate this task for you as well within a few minutes.</p>
|
<p>A working instance of PuppetDB connected to the Puppet master is required for this to work. Installation and configuration of PuppetDB is out of scope for this module, however <a href="https://gitlab.confdroid.com/puppet/cd_puppetdb">cd_puppetdb</a> is available to automate this task for you as well within a few minutes.</p>
|
||||||
|
|||||||
@@ -69,6 +69,14 @@
|
|||||||
<p><a href="#warning">WARNING</a></p>
|
<p><a href="#warning">WARNING</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#features">Features</a></p>
|
<p><a href="#features">Features</a></p>
|
||||||
|
</li><li>
|
||||||
|
<p><a href="#repo-documentation">Repo Documentation</a></p>
|
||||||
|
</li><li>
|
||||||
|
<p><a href="#dependencies">Dependencies</a></p>
|
||||||
|
</li><li>
|
||||||
|
<p><a href="#deployment">Deployment</a></p>
|
||||||
|
</li><li>
|
||||||
|
<p><a href="#configuration">Configuration</a></p>
|
||||||
<ul><li>
|
<ul><li>
|
||||||
<p><a href="#configuring-ui-user-access">configuring UI user access</a></p>
|
<p><a href="#configuring-ui-user-access">configuring UI user access</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
@@ -81,12 +89,6 @@
|
|||||||
<p><a href="#adding-host-groups">Adding host groups</a></p>
|
<p><a href="#adding-host-groups">Adding host groups</a></p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#repo-documentation">Repo Documentation</a></p>
|
|
||||||
</li><li>
|
|
||||||
<p><a href="#dependencies">Dependencies</a></p>
|
|
||||||
</li><li>
|
|
||||||
<p><a href="#deployment">Deployment</a></p>
|
|
||||||
</li><li>
|
|
||||||
<p><a href="#puppetdb">PuppetDB</a></p>
|
<p><a href="#puppetdb">PuppetDB</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#selinux">SELINUX</a></p>
|
<p><a href="#selinux">SELINUX</a></p>
|
||||||
@@ -125,6 +127,44 @@
|
|||||||
<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>
|
<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>
|
</li></ul>
|
||||||
|
|
||||||
|
<h2 id="label-Repo+Documentation">Repo Documentation</h2>
|
||||||
|
|
||||||
|
<p>See the full Puppet documentation including parameters in <code>docs/index.html</code></p>
|
||||||
|
|
||||||
|
<h2 id="label-Dependencies">Dependencies</h2>
|
||||||
|
|
||||||
|
<p>All dependencies must be included in the catalogue.</p>
|
||||||
|
<ul><li>
|
||||||
|
<p><code>puppetlabs-firewall</code></p>
|
||||||
|
</li><li>
|
||||||
|
<p><code>puppetlabs-stdlib</code></p>
|
||||||
|
</li><li>
|
||||||
|
<p><code>puppetlabs-concat</code></p>
|
||||||
|
</li><li>
|
||||||
|
<p><code>puppetlabs-nagios_core</code></p>
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
<h2 id="label-Deployment">Deployment</h2>
|
||||||
|
<ul><li>
|
||||||
|
<p>native Puppet deployment</p>
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
<p>via site.pp or nodes.pp</p>
|
||||||
|
|
||||||
|
<pre class="code ruby"><code class="ruby">node 'example.example.net' {
|
||||||
|
include confdroid_nagios
|
||||||
|
}
|
||||||
|
</code></pre>
|
||||||
|
<ul><li>
|
||||||
|
<p>through Foreman:</p>
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
|
<p>In order to apply parameters through Foreman, *<strong><em>confdroid_nagios::params</em></strong>- must be added to the host or host group in question.</p>
|
||||||
|
|
||||||
|
<p>See <a href="https://confdroid.com/2017/05/deploying-our-puppet-modules/">more details about class deployment on confdroid.com</a>.</p>
|
||||||
|
|
||||||
|
<h2 id="label-Configuration">Configuration</h2>
|
||||||
|
|
||||||
<h3 id="label-configuring+UI+user+access">configuring UI 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>
|
<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>
|
||||||
@@ -188,42 +228,6 @@ Re-type new password:
|
|||||||
|
|
||||||
<p>Hosts will be populated through the target.pp dynamically.</p>
|
<p>Hosts will be populated through the target.pp dynamically.</p>
|
||||||
|
|
||||||
<h2 id="label-Repo+Documentation">Repo Documentation</h2>
|
|
||||||
|
|
||||||
<p>See the full Puppet documentation including parameters in <code>docs/index.html</code></p>
|
|
||||||
|
|
||||||
<h2 id="label-Dependencies">Dependencies</h2>
|
|
||||||
|
|
||||||
<p>All dependencies must be included in the catalogue.</p>
|
|
||||||
<ul><li>
|
|
||||||
<p><code>puppetlabs-firewall</code></p>
|
|
||||||
</li><li>
|
|
||||||
<p><code>puppetlabs-stdlib</code></p>
|
|
||||||
</li><li>
|
|
||||||
<p><code>puppetlabs-concat</code></p>
|
|
||||||
</li><li>
|
|
||||||
<p><code>puppetlabs-nagios_core</code></p>
|
|
||||||
</li></ul>
|
|
||||||
|
|
||||||
<h2 id="label-Deployment">Deployment</h2>
|
|
||||||
<ul><li>
|
|
||||||
<p>native Puppet deployment</p>
|
|
||||||
</li></ul>
|
|
||||||
|
|
||||||
<p>via site.pp or nodes.pp</p>
|
|
||||||
|
|
||||||
<pre class="code ruby"><code class="ruby">node 'example.example.net' {
|
|
||||||
include confdroid_nagios
|
|
||||||
}
|
|
||||||
</code></pre>
|
|
||||||
<ul><li>
|
|
||||||
<p>through Foreman:</p>
|
|
||||||
</li></ul>
|
|
||||||
|
|
||||||
<p>In order to apply parameters through Foreman, *<strong><em>confdroid_nagios::params</em></strong>- must be added to the host or host group in question.</p>
|
|
||||||
|
|
||||||
<p>See <a href="https://confdroid.com/2017/05/deploying-our-puppet-modules/">more details about class deployment on confdroid.com</a>.</p>
|
|
||||||
|
|
||||||
<h2 id="label-PuppetDB">PuppetDB</h2>
|
<h2 id="label-PuppetDB">PuppetDB</h2>
|
||||||
|
|
||||||
<p>A working instance of PuppetDB connected to the Puppet master is required for this to work. Installation and configuration of PuppetDB is out of scope for this module, however <a href="https://gitlab.confdroid.com/puppet/cd_puppetdb">cd_puppetdb</a> is available to automate this task for you as well within a few minutes.</p>
|
<p>A working instance of PuppetDB connected to the Puppet master is required for this to work. Installation and configuration of PuppetDB is out of scope for this module, however <a href="https://gitlab.confdroid.com/puppet/cd_puppetdb">cd_puppetdb</a> is available to automate this task for you as well within a few minutes.</p>
|
||||||
|
|||||||
@@ -117,28 +117,35 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
<li id="object_puppet_classes::confdroid_nagios::server::access_rules" class="even">
|
<li id="object_puppet_classes::confdroid_nagios::params" class="even">
|
||||||
|
<div class="item">
|
||||||
|
<span class='object_link'><a href="puppet_classes/confdroid_nagios_3A_3Aparams.html" title="puppet_classes::confdroid_nagios::params (puppet_class)">confdroid_nagios::params</a></span>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
<li id="object_puppet_classes::confdroid_nagios::server::access_rules" class="odd">
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<span class='object_link'><a href="puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html" title="puppet_classes::confdroid_nagios::server::access_rules (puppet_class)">confdroid_nagios::server::access_rules</a></span>
|
<span class='object_link'><a href="puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html" title="puppet_classes::confdroid_nagios::server::access_rules (puppet_class)">confdroid_nagios::server::access_rules</a></span>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
<li id="object_puppet_classes::confdroid_nagios::server::files" class="odd">
|
<li id="object_puppet_classes::confdroid_nagios::server::files" class="even">
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<span class='object_link'><a href="puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html" title="puppet_classes::confdroid_nagios::server::files (puppet_class)">confdroid_nagios::server::files</a></span>
|
<span class='object_link'><a href="puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html" title="puppet_classes::confdroid_nagios::server::files (puppet_class)">confdroid_nagios::server::files</a></span>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
<li id="object_puppet_classes::confdroid_nagios::server::nagios" class="even">
|
<li id="object_puppet_classes::confdroid_nagios::server::nagios" class="odd">
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<span class='object_link'><a href="puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html" title="puppet_classes::confdroid_nagios::server::nagios (puppet_class)">confdroid_nagios::server::nagios</a></span>
|
<span class='object_link'><a href="puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html" title="puppet_classes::confdroid_nagios::server::nagios (puppet_class)">confdroid_nagios::server::nagios</a></span>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
<li id="object_puppet_classes::confdroid_nagios::server::service" class="odd">
|
<li id="object_puppet_classes::confdroid_nagios::server::service" class="even">
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<span class='object_link'><a href="puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html" title="puppet_classes::confdroid_nagios::server::service (puppet_class)">confdroid_nagios::server::service</a></span>
|
<span class='object_link'><a href="puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html" title="puppet_classes::confdroid_nagios::server::service (puppet_class)">confdroid_nagios::server::service</a></span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Inherits:</dt>
|
<dt>Inherits:</dt>
|
||||||
<dd>confdroid_nagios::params</dd>
|
<dd><span class='object_link'><a href="confdroid_nagios_3A_3Aparams.html" title="puppet_classes::confdroid_nagios::params (puppet_class)">confdroid_nagios::params</a></span></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Inherits:</dt>
|
<dt>Inherits:</dt>
|
||||||
<dd>confdroid_nagios::params</dd>
|
<dd><span class='object_link'><a href="confdroid_nagios_3A_3Aparams.html" title="puppet_classes::confdroid_nagios::params (puppet_class)">confdroid_nagios::params</a></span></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Inherits:</dt>
|
<dt>Inherits:</dt>
|
||||||
<dd>confdroid_nagios::params</dd>
|
<dd><span class='object_link'><a href="confdroid_nagios_3A_3Aparams.html" title="puppet_classes::confdroid_nagios::params (puppet_class)">confdroid_nagios::params</a></span></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Inherits:</dt>
|
<dt>Inherits:</dt>
|
||||||
<dd>confdroid_nagios::params</dd>
|
<dd><span class='object_link'><a href="confdroid_nagios_3A_3Aparams.html" title="puppet_classes::confdroid_nagios::params (puppet_class)">confdroid_nagios::params</a></span></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Inherits:</dt>
|
<dt>Inherits:</dt>
|
||||||
<dd>confdroid_nagios::params</dd>
|
<dd><span class='object_link'><a href="confdroid_nagios_3A_3Aparams.html" title="puppet_classes::confdroid_nagios::params (puppet_class)">confdroid_nagios::params</a></span></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Inherits:</dt>
|
<dt>Inherits:</dt>
|
||||||
<dd>confdroid_nagios::params</dd>
|
<dd><span class='object_link'><a href="confdroid_nagios_3A_3Aparams.html" title="puppet_classes::confdroid_nagios::params (puppet_class)">confdroid_nagios::params</a></span></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Inherits:</dt>
|
<dt>Inherits:</dt>
|
||||||
<dd>confdroid_nagios::params</dd>
|
<dd><span class='object_link'><a href="confdroid_nagios_3A_3Aparams.html" title="puppet_classes::confdroid_nagios::params (puppet_class)">confdroid_nagios::params</a></span></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Inherits:</dt>
|
<dt>Inherits:</dt>
|
||||||
<dd>confdroid_nagios::params</dd>
|
<dd><span class='object_link'><a href="confdroid_nagios_3A_3Aparams.html" title="puppet_classes::confdroid_nagios::params (puppet_class)">confdroid_nagios::params</a></span></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Inherits:</dt>
|
<dt>Inherits:</dt>
|
||||||
<dd>confdroid_nagios::params</dd>
|
<dd><span class='object_link'><a href="confdroid_nagios_3A_3Aparams.html" title="puppet_classes::confdroid_nagios::params (puppet_class)">confdroid_nagios::params</a></span></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Inherits:</dt>
|
<dt>Inherits:</dt>
|
||||||
<dd>confdroid_nagios::params</dd>
|
<dd><span class='object_link'><a href="confdroid_nagios_3A_3Aparams.html" title="puppet_classes::confdroid_nagios::params (puppet_class)">confdroid_nagios::params</a></span></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -91,6 +91,8 @@
|
|||||||
|
|
||||||
<span class='object_link'><a href="confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact_rules.html" title="puppet_classes::confdroid_nagios::nagios::objects::add_contact_rules (puppet_class)">confdroid_nagios::nagios::objects::add_contact_rules</a></span><br/>
|
<span class='object_link'><a href="confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact_rules.html" title="puppet_classes::confdroid_nagios::nagios::objects::add_contact_rules (puppet_class)">confdroid_nagios::nagios::objects::add_contact_rules</a></span><br/>
|
||||||
|
|
||||||
|
<span class='object_link'><a href="confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_hostgroup_rules.html" title="puppet_classes::confdroid_nagios::nagios::objects::add_hostgroup_rules (puppet_class)">confdroid_nagios::nagios::objects::add_hostgroup_rules</a></span><br/>
|
||||||
|
|
||||||
<span class='object_link'><a href="confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contactgroups_rules.html" title="puppet_classes::confdroid_nagios::nagios::objects::add_contactgroups_rules (puppet_class)">confdroid_nagios::nagios::objects::add_contactgroups_rules</a></span><br/>
|
<span class='object_link'><a href="confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contactgroups_rules.html" title="puppet_classes::confdroid_nagios::nagios::objects::add_contactgroups_rules (puppet_class)">confdroid_nagios::nagios::objects::add_contactgroups_rules</a></span><br/>
|
||||||
|
|
||||||
</dd>
|
</dd>
|
||||||
@@ -149,7 +151,7 @@ inherited by all classes except defines.
|
|||||||
<span class='type'>(<tt>Array</tt>)</span>
|
<span class='type'>(<tt>Array</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
<em class="default">(defaults to: <tt>['nagios','nagios-devel']</tt>)</em>
|
<em class="default">(defaults to: <tt>[$ng_users,'nagios-devel']</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
—
|
—
|
||||||
@@ -239,12 +241,12 @@ inherited by all classes except defines.
|
|||||||
<span class='type'>(<tt>String</tt>)</span>
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
<em class="default">(defaults to: <tt>'nagios'</tt>)</em>
|
<em class="default">(defaults to: <tt>$ng_users</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>The username for the Nagios web interface. Default is ‘nagios’.</p>
|
<p>The username for the Nagios web interface. Default is $ng_users.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
@@ -257,12 +259,12 @@ inherited by all classes except defines.
|
|||||||
<span class='type'>(<tt>String</tt>)</span>
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
<em class="default">(defaults to: <tt>'nagios'</tt>)</em>
|
<em class="default">(defaults to: <tt>$ng_users</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>The encrypted password for the Nagios web interface. Default is ‘nagios’. Must be properly encrypted using the htpasswd utility.</p>
|
<p>The encrypted password for the Nagios web interface. Default is $ng_users. Must be properly encrypted using the htpasswd utility.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
@@ -575,12 +577,14 @@ inherited by all classes except defines.
|
|||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|
||||||
<span class='name'>ng_procs_tot_ensure</span>
|
<span class='name'>ng_procs_tot_ens</span>
|
||||||
|
|
||||||
|
|
||||||
<span class='type'>(<tt>String</tt>)</span>
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'present'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
@@ -717,7 +721,43 @@ inherited by all classes except defines.
|
|||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|
||||||
<span class='name'>ng_procs_tot_ens</span>
|
<span class='name'>ng_contactgroup_name</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'admins'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>The name of the default contact group. Default is ‘admins’.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_contactgroup_alias</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'Nagios Administrators'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>The alias of the default contact group. Default is ‘Nagios Administrators’.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_contactgroup_ensure</span>
|
||||||
|
|
||||||
|
|
||||||
<span class='type'>(<tt>String</tt>)</span>
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
@@ -726,6 +766,137 @@ inherited by all classes except defines.
|
|||||||
<em class="default">(defaults to: <tt>'present'</tt>)</em>
|
<em class="default">(defaults to: <tt>'present'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>The ensure value for the default contact group. Default is ‘present’.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_contact_name</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'nagiosadmin'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>The name of the default contact. Default is ‘nagiosadmin’.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_contact_alias</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'Nagios Admin'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>The alias of the default contact. Default is ‘Nagios Admin’.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_contact_groups</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'admins'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>The contact groups for the default contact. Default is ‘admins’.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_contact_email</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'nagiosadmin@example.net'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>The email address for the default contact. Default is ‘nagiosadmin@example.net’.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_hostgroup_name</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'linux-servers'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>The name of the default host group. Default is ‘linux-servers’.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_hostgroup_alias</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'Linux Servers'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>The alias of the default host group. Default is ‘Linux Servers’.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_hostgroup_ensure</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'present'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>The ensure value for the default host group Default is ‘present’.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
@@ -739,26 +910,6 @@ inherited by all classes except defines.
|
|||||||
<pre class="lines">
|
<pre class="lines">
|
||||||
|
|
||||||
|
|
||||||
77
|
|
||||||
78
|
|
||||||
79
|
|
||||||
80
|
|
||||||
81
|
|
||||||
82
|
|
||||||
83
|
|
||||||
84
|
|
||||||
85
|
|
||||||
86
|
|
||||||
87
|
|
||||||
88
|
|
||||||
89
|
|
||||||
90
|
|
||||||
91
|
|
||||||
92
|
|
||||||
93
|
|
||||||
94
|
|
||||||
95
|
|
||||||
96
|
|
||||||
97
|
97
|
||||||
98
|
98
|
||||||
99
|
99
|
||||||
@@ -884,21 +1035,73 @@ inherited by all classes except defines.
|
|||||||
219
|
219
|
||||||
220
|
220
|
||||||
221
|
221
|
||||||
222</pre>
|
222
|
||||||
|
223
|
||||||
|
224
|
||||||
|
225
|
||||||
|
226
|
||||||
|
227
|
||||||
|
228
|
||||||
|
229
|
||||||
|
230
|
||||||
|
231
|
||||||
|
232
|
||||||
|
233
|
||||||
|
234
|
||||||
|
235
|
||||||
|
236
|
||||||
|
237
|
||||||
|
238
|
||||||
|
239
|
||||||
|
240
|
||||||
|
241
|
||||||
|
242
|
||||||
|
243
|
||||||
|
244
|
||||||
|
245
|
||||||
|
246
|
||||||
|
247
|
||||||
|
248
|
||||||
|
249
|
||||||
|
250
|
||||||
|
251
|
||||||
|
252
|
||||||
|
253
|
||||||
|
254
|
||||||
|
255
|
||||||
|
256
|
||||||
|
257
|
||||||
|
258</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 77</span>
|
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 97</span>
|
||||||
|
|
||||||
class confdroid_nagios::params (
|
class confdroid_nagios::params (
|
||||||
|
|
||||||
# main
|
# main
|
||||||
String $ng_nagios_server = 'nagios.example.net',
|
String $ng_nagios_server = 'nagios.example.net',
|
||||||
Array $ng_reqpackages_server = ['nagios','nagios-devel'],
|
Array $ng_reqpackages_server = [$ng_users,'nagios-devel'],
|
||||||
Array $ng_reqpackages_client = ['net-snmp-utils','nagios-plugins','nagios-plugins-all','nagios-plugins-nrpe','nagios-common'],
|
Array $ng_reqpackages_client = ['net-snmp-utils','nagios-plugins','nagios-plugins-all','nagios-plugins-nrpe','nagios-common'],
|
||||||
String $ng_pkg_ensure = 'present',
|
String $ng_pkg_ensure = 'present',
|
||||||
Boolean $ng_include_nrpe = true,
|
Boolean $ng_include_nrpe = true,
|
||||||
String $ng_main_user = 'nagios',
|
String $ng_main_user = $ng_users,
|
||||||
String $ng_main_password = 'nagios',
|
String $ng_main_password = $ng_users,
|
||||||
|
|
||||||
|
# contact groups
|
||||||
|
String $ng_contactgroup_name = 'admins',
|
||||||
|
String $ng_contactgroup_alias = 'Nagios Administrators',
|
||||||
|
String $ng_contactgroup_ensure = 'present',
|
||||||
|
|
||||||
|
# contacts
|
||||||
|
String $ng_contact_name = 'nagiosadmin',
|
||||||
|
String $ng_contact_alias = 'Nagios Admin',
|
||||||
|
String $ng_contact_groups = 'admins',
|
||||||
|
String $ng_contact_email = 'nagiosadmin@example.net',
|
||||||
|
|
||||||
|
# hostgroups
|
||||||
|
String $ng_hostgroup_name = 'linux-servers',
|
||||||
|
String $ng_hostgroup_alias = 'Linux Servers',
|
||||||
|
String $ng_hostgroup_ensure = 'present',
|
||||||
|
|
||||||
# nagios.cfg
|
# nagios.cfg
|
||||||
String $ng_log_file = '/var/log/nagios/nagios.log',
|
String $ng_log_file = '/var/log/nagios/nagios.log',
|
||||||
@@ -949,7 +1152,7 @@ class confdroid_nagios::params (
|
|||||||
$os_release = $facts['os']['release']['major']
|
$os_release = $facts['os']['release']['major']
|
||||||
|
|
||||||
# service
|
# service
|
||||||
$ng_nagios_service = 'nagios'
|
$ng_nagios_service = $ng_users
|
||||||
|
|
||||||
# directories
|
# directories
|
||||||
$ng_main_dir = '/etc/nagios'
|
$ng_main_dir = '/etc/nagios'
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Inherits:</dt>
|
<dt>Inherits:</dt>
|
||||||
<dd>confdroid_nagios::params</dd>
|
<dd><span class='object_link'><a href="confdroid_nagios_3A_3Aparams.html" title="puppet_classes::confdroid_nagios::params (puppet_class)">confdroid_nagios::params</a></span></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Inherits:</dt>
|
<dt>Inherits:</dt>
|
||||||
<dd>confdroid_nagios::params</dd>
|
<dd><span class='object_link'><a href="confdroid_nagios_3A_3Aparams.html" title="puppet_classes::confdroid_nagios::params (puppet_class)">confdroid_nagios::params</a></span></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Inherits:</dt>
|
<dt>Inherits:</dt>
|
||||||
<dd>confdroid_nagios::params</dd>
|
<dd><span class='object_link'><a href="confdroid_nagios_3A_3Aparams.html" title="puppet_classes::confdroid_nagios::params (puppet_class)">confdroid_nagios::params</a></span></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Inherits:</dt>
|
<dt>Inherits:</dt>
|
||||||
<dd>confdroid_nagios::params</dd>
|
<dd><span class='object_link'><a href="confdroid_nagios_3A_3Aparams.html" title="puppet_classes::confdroid_nagios::params (puppet_class)">confdroid_nagios::params</a></span></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user