Merge branch 'master' of gitlab.puppetsoft.com:12ww1160/cd_nrpe into HEAD

This commit is contained in:
Jenkins Server
2017-07-30 22:29:23 +02:00
17 changed files with 83 additions and 43 deletions

View File

@@ -8,6 +8,16 @@ Changelog of Git Changelog.
<h2> No issue </h2> <h2> No issue </h2>
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/eb321fc56246dca">eb321fc56246dca</a> Arne Teuke <i>2017-07-30 18:25:18</i>
<p>
<h3>changed default illegal characters</h3>
</p>
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/6f93ac1b07efbf0">6f93ac1b07efbf0</a> Jenkins Server <i>2017-07-30 18:25:15</i>
<p>
<h3>recommit for updates in build 59</h3>
</p>
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/f39c1e36b56e589">f39c1e36b56e589</a> Arne Teuke <i>2017-07-30 18:06:33</i> <a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/f39c1e36b56e589">f39c1e36b56e589</a> Arne Teuke <i>2017-07-30 18:06:33</i>
<p> <p>
<h3>changed default illegal characters</h3> <h3>changed default illegal characters</h3>

View File

@@ -176,7 +176,7 @@
</div> </div>
<div id="footer"> <div id="footer">
Generated on Sun Jul 30 20:25:10 2017 by Generated on Sun Jul 30 20:45:50 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0). 0.9.9 (ruby-2.0.0).
</div> </div>

View File

@@ -61,7 +61,7 @@
<p>|Repo Name| version | Build <p>|Repo Name| version | Build
Status| Status|
|---|---|---|---| |---|---|---|---|
|<code>cd_nrpe</code>| 0.0.0.2 | <a |<code>cd_nrpe</code>| 0.0.1.0 | <a
href="https://jenkins.confdroid.com/buildStatus/icon?job=cd_nrpe">{Build href="https://jenkins.confdroid.com/buildStatus/icon?job=cd_nrpe">{Build
Status</a>/]|</p> Status</a>/]|</p>
@@ -91,6 +91,8 @@ production!!! __**</code></p>
href="https://gitlab.puppetsoft.com/12WW1160/cd_nrpe/blob/master/REPOSTRUCTURE.md">Repo href="https://gitlab.puppetsoft.com/12WW1160/cd_nrpe/blob/master/REPOSTRUCTURE.md">Repo
Structure</a></p> Structure</a></p>
</li><li> </li><li>
<p><a href="#repo-documentation">Repo Documention</a></p>
</li><li>
<p><a href="#dependencies">Dependencies</a></p> <p><a href="#dependencies">Dependencies</a></p>
</li><li> </li><li>
<p><a href="#deployment">Deployment</a></p> <p><a href="#deployment">Deployment</a></p>
@@ -147,6 +149,10 @@ rule exceptions (optional)</p>
<p>Repostructure has moved to REPOSTRUCTURE.md in repo.</p> <p>Repostructure has moved to REPOSTRUCTURE.md in repo.</p>
<h3 id="label-Repo+Documentation">Repo Documentation</h3>
<p>The full puppet html documentation is available in docs/index.html</p>
<h3 id="label-Dependencies">Dependencies</h3> <h3 id="label-Dependencies">Dependencies</h3>
<p>All dependencies must be included in the catalogue.</p> <p>All dependencies must be included in the catalogue.</p>
@@ -201,6 +207,11 @@ at next puppet run. Services will be restarted where neccessary. If you
want to override parameters, the <a href="#through-foreman">module must be want to override parameters, the <a href="#through-foreman">module must be
specifically declared to hosts when using ENC</a>.</p> specifically declared to hosts when using ENC</a>.</p>
<p>The <a href="https://confdroid.com/2017/07/cd_nrpe-parameters/">full list
of Parameters</a> is available <a
href="https://confdroid.com/2017/07/cd_nrpe-parameters/">here</a> and in
the docs folder in the software repo.</p>
<h3 id="label-Mandatory+Parameters">Mandatory Parameters</h3> <h3 id="label-Mandatory+Parameters">Mandatory Parameters</h3>
<p>There are currently no mandatory parameters, i.e. the module will function <p>There are currently no mandatory parameters, i.e. the module will function
@@ -244,19 +255,21 @@ instructions creates a new line.</p>
<p>Defining commands is as simple as <p>Defining commands is as simple as
that: that:
&lt;code&gt; &lt;code&gt;
`cd_nrpe::commands::definitions` { cd_nrpe::commands::definitions { &#39;check_users&#39;:
&#39;check_users&#39;:
`ne_check_cmd` =&gt; ne_check_cmd =&gt; &#39;check_users&#39;,
&#39;check_users&#39;, ne_cmd_argstring
`ne_cmd_argstring` =&gt; &#39;-w $ARG1$ -c =&gt; &#39;-w $ARG1$ -c $ARG2$&#39;,
$ARG2$&#39;,
} }
&lt;/code&gt; &lt;/code&gt;
It is very recommendable to define such It is very
commands within Puppet modules controlling services, so any node running recommendable to define such commands directly within Puppet modules or
the particular service will automatically get the required check commands profiles, so any node running the particular service controlled by the
defined as well, while nodes not running the service also do not contain module will automatically get the required check commands defined as well,
the command check.</p> while nodes not running the service also do not contain the command check.
The same then is true for Nagios checks, so you would have both the NRPE
command definition and the Nagios check contained in Puppet modules or
profiles to have it in once location.</p>
<h3 id="label-SELINUX">SELINUX</h3> <h3 id="label-SELINUX">SELINUX</h3>
@@ -286,7 +299,9 @@ both through <code>$ne_allow_sudo</code> and
</li><li> </li><li>
<p><code>CHECK_NRPE: Receive header underflow - only 0 bytes received (4 <p><code>CHECK_NRPE: Receive header underflow - only 0 bytes received (4
expected): This is down to the new illegal meta characters feature expected): This is down to the new illegal meta characters feature
via</code>nasty_metachars`.</p> via</code>nasty_metachars`, i.e. if you included an additional character
which actuall be part of a check, or if a custom check contains a default
illegal character.</p>
</li></ul> </li></ul>
<h3 id="label-Support">Support</h3> <h3 id="label-Support">Support</h3>
@@ -342,7 +357,7 @@ environments.</p>
</div></div> </div></div>
<div id="footer"> <div id="footer">
Generated on Sun Jul 30 20:25:11 2017 by Generated on Sun Jul 30 20:45:52 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0). 0.9.9 (ruby-2.0.0).
</div> </div>

View File

@@ -61,7 +61,7 @@
<p>|Repo Name| version | Build <p>|Repo Name| version | Build
Status| Status|
|---|---|---|---| |---|---|---|---|
|<code>cd_nrpe</code>| 0.0.0.2 | <a |<code>cd_nrpe</code>| 0.0.1.0 | <a
href="https://jenkins.confdroid.com/buildStatus/icon?job=cd_nrpe">{Build href="https://jenkins.confdroid.com/buildStatus/icon?job=cd_nrpe">{Build
Status</a>/]|</p> Status</a>/]|</p>
@@ -91,6 +91,8 @@ production!!! __**</code></p>
href="https://gitlab.puppetsoft.com/12WW1160/cd_nrpe/blob/master/REPOSTRUCTURE.md">Repo href="https://gitlab.puppetsoft.com/12WW1160/cd_nrpe/blob/master/REPOSTRUCTURE.md">Repo
Structure</a></p> Structure</a></p>
</li><li> </li><li>
<p><a href="#repo-documentation">Repo Documention</a></p>
</li><li>
<p><a href="#dependencies">Dependencies</a></p> <p><a href="#dependencies">Dependencies</a></p>
</li><li> </li><li>
<p><a href="#deployment">Deployment</a></p> <p><a href="#deployment">Deployment</a></p>
@@ -147,6 +149,10 @@ rule exceptions (optional)</p>
<p>Repostructure has moved to REPOSTRUCTURE.md in repo.</p> <p>Repostructure has moved to REPOSTRUCTURE.md in repo.</p>
<h3 id="label-Repo+Documentation">Repo Documentation</h3>
<p>The full puppet html documentation is available in docs/index.html</p>
<h3 id="label-Dependencies">Dependencies</h3> <h3 id="label-Dependencies">Dependencies</h3>
<p>All dependencies must be included in the catalogue.</p> <p>All dependencies must be included in the catalogue.</p>
@@ -201,6 +207,11 @@ at next puppet run. Services will be restarted where neccessary. If you
want to override parameters, the <a href="#through-foreman">module must be want to override parameters, the <a href="#through-foreman">module must be
specifically declared to hosts when using ENC</a>.</p> specifically declared to hosts when using ENC</a>.</p>
<p>The <a href="https://confdroid.com/2017/07/cd_nrpe-parameters/">full list
of Parameters</a> is available <a
href="https://confdroid.com/2017/07/cd_nrpe-parameters/">here</a> and in
the docs folder in the software repo.</p>
<h3 id="label-Mandatory+Parameters">Mandatory Parameters</h3> <h3 id="label-Mandatory+Parameters">Mandatory Parameters</h3>
<p>There are currently no mandatory parameters, i.e. the module will function <p>There are currently no mandatory parameters, i.e. the module will function
@@ -244,19 +255,21 @@ instructions creates a new line.</p>
<p>Defining commands is as simple as <p>Defining commands is as simple as
that: that:
&lt;code&gt; &lt;code&gt;
`cd_nrpe::commands::definitions` { cd_nrpe::commands::definitions { &#39;check_users&#39;:
&#39;check_users&#39;:
`ne_check_cmd` =&gt; ne_check_cmd =&gt; &#39;check_users&#39;,
&#39;check_users&#39;, ne_cmd_argstring
`ne_cmd_argstring` =&gt; &#39;-w $ARG1$ -c =&gt; &#39;-w $ARG1$ -c $ARG2$&#39;,
$ARG2$&#39;,
} }
&lt;/code&gt; &lt;/code&gt;
It is very recommendable to define such It is very
commands within Puppet modules controlling services, so any node running recommendable to define such commands directly within Puppet modules or
the particular service will automatically get the required check commands profiles, so any node running the particular service controlled by the
defined as well, while nodes not running the service also do not contain module will automatically get the required check commands defined as well,
the command check.</p> while nodes not running the service also do not contain the command check.
The same then is true for Nagios checks, so you would have both the NRPE
command definition and the Nagios check contained in Puppet modules or
profiles to have it in once location.</p>
<h3 id="label-SELINUX">SELINUX</h3> <h3 id="label-SELINUX">SELINUX</h3>
@@ -286,7 +299,9 @@ both through <code>$ne_allow_sudo</code> and
</li><li> </li><li>
<p><code>CHECK_NRPE: Receive header underflow - only 0 bytes received (4 <p><code>CHECK_NRPE: Receive header underflow - only 0 bytes received (4
expected): This is down to the new illegal meta characters feature expected): This is down to the new illegal meta characters feature
via</code>nasty_metachars`.</p> via</code>nasty_metachars`, i.e. if you included an additional character
which actuall be part of a check, or if a custom check contains a default
illegal character.</p>
</li></ul> </li></ul>
<h3 id="label-Support">Support</h3> <h3 id="label-Support">Support</h3>
@@ -342,7 +357,7 @@ environments.</p>
</div></div> </div></div>
<div id="footer"> <div id="footer">
Generated on Sun Jul 30 20:25:10 2017 by Generated on Sun Jul 30 20:45:51 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0). 0.9.9 (ruby-2.0.0).
</div> </div>

View File

@@ -140,7 +140,7 @@ class cd_nrpe {
</div> </div>
<div id="footer"> <div id="footer">
Generated on Sun Jul 30 20:25:11 2017 by Generated on Sun Jul 30 20:45:52 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0). 0.9.9 (ruby-2.0.0).
</div> </div>

View File

@@ -267,7 +267,7 @@ class cd_nrpe::commands::definition_rules (
</div> </div>
<div id="footer"> <div id="footer">
Generated on Sun Jul 30 20:25:13 2017 by Generated on Sun Jul 30 20:45:53 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0). 0.9.9 (ruby-2.0.0).
</div> </div>

View File

@@ -165,7 +165,7 @@ class cd_nrpe::firewall::iptables (
</div> </div>
<div id="footer"> <div id="footer">
Generated on Sun Jul 30 20:25:13 2017 by Generated on Sun Jul 30 20:45:53 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0). 0.9.9 (ruby-2.0.0).
</div> </div>

View File

@@ -154,7 +154,7 @@ class cd_nrpe::main::config (
</div> </div>
<div id="footer"> <div id="footer">
Generated on Sun Jul 30 20:25:12 2017 by Generated on Sun Jul 30 20:45:53 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0). 0.9.9 (ruby-2.0.0).
</div> </div>

View File

@@ -205,7 +205,7 @@ class cd_nrpe::main::dirs (
</div> </div>
<div id="footer"> <div id="footer">
Generated on Sun Jul 30 20:25:12 2017 by Generated on Sun Jul 30 20:45:53 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0). 0.9.9 (ruby-2.0.0).
</div> </div>

View File

@@ -247,7 +247,7 @@ class cd_nrpe::main::files (
</div> </div>
<div id="footer"> <div id="footer">
Generated on Sun Jul 30 20:25:12 2017 by Generated on Sun Jul 30 20:45:53 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0). 0.9.9 (ruby-2.0.0).
</div> </div>

View File

@@ -160,7 +160,7 @@ class cd_nrpe::main::install (
</div> </div>
<div id="footer"> <div id="footer">
Generated on Sun Jul 30 20:25:12 2017 by Generated on Sun Jul 30 20:45:53 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0). 0.9.9 (ruby-2.0.0).
</div> </div>

View File

@@ -191,7 +191,7 @@ class cd_nrpe::main::service (
</div> </div>
<div id="footer"> <div id="footer">
Generated on Sun Jul 30 20:25:12 2017 by Generated on Sun Jul 30 20:45:53 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0). 0.9.9 (ruby-2.0.0).
</div> </div>

View File

@@ -193,7 +193,7 @@ class cd_nrpe::main::user (
</div> </div>
<div id="footer"> <div id="footer">
Generated on Sun Jul 30 20:25:12 2017 by Generated on Sun Jul 30 20:45:53 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0). 0.9.9 (ruby-2.0.0).
</div> </div>

View File

@@ -1067,7 +1067,7 @@ $ne_sudo_rule_erb = &#39;cd_nrpe/sudo_rule.erb&#39;
</div> </div>
<div id="footer"> <div id="footer">
Generated on Sun Jul 30 20:25:12 2017 by Generated on Sun Jul 30 20:45:53 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0). 0.9.9 (ruby-2.0.0).
</div> </div>

View File

@@ -170,7 +170,7 @@ class cd_nrpe::selinux::config (
</div> </div>
<div id="footer"> <div id="footer">
Generated on Sun Jul 30 20:25:13 2017 by Generated on Sun Jul 30 20:45:53 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0). 0.9.9 (ruby-2.0.0).
</div> </div>

View File

@@ -171,7 +171,7 @@ the custom location
<div class='inline'> <div class='inline'>
<p>Specify the string of valid argument for the command <p>Specify the string of valid argument for the command
, i.e. -w $ARG1$ -c , i.e. -w $ARG1$ -c
$ARG2$. See the arguments in th eman pages for the $ARG2$. See the arguments in the man pages for the
checks.</p> checks.</p>
</div> </div>
@@ -259,7 +259,7 @@ $ne_manage_cmds = $::cd_nrpe::params::ne_manage_cmds
</div> </div>
<div id="footer"> <div id="footer">
Generated on Sun Jul 30 20:25:13 2017 by Generated on Sun Jul 30 20:45:53 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0). 0.9.9 (ruby-2.0.0).
</div> </div>

View File

@@ -90,7 +90,7 @@
</div> </div>
<div id="footer"> <div id="footer">
Generated on Sun Jul 30 20:25:11 2017 by Generated on Sun Jul 30 20:45:52 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.0.0). 0.9.9 (ruby-2.0.0).
</div> </div>