recommit for updates in build 43
This commit is contained in:
10
CHANGELOG.md
10
CHANGELOG.md
@@ -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/5c0374245dc1e72">5c0374245dc1e72</a> Arne Teuke <i>2017-07-30 11:50:55</i>
|
||||||
|
<p>
|
||||||
|
<h3>added test command</h3>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/7782b870bf31b9d">7782b870bf31b9d</a> Jenkins Server <i>2017-07-30 11:50:48</i>
|
||||||
|
<p>
|
||||||
|
<h3>recommit for updates in build 42</h3>
|
||||||
|
|
||||||
|
</p>
|
||||||
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/7a767e39dc3aa27">7a767e39dc3aa27</a> Arne Teuke <i>2017-07-30 11:42:09</i>
|
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/7a767e39dc3aa27">7a767e39dc3aa27</a> Arne Teuke <i>2017-07-30 11:42:09</i>
|
||||||
<p>
|
<p>
|
||||||
<h3>fixed typo, added including clause to definitions</h3>
|
<h3>fixed typo, added including clause to definitions</h3>
|
||||||
|
|||||||
@@ -171,7 +171,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Sun Jul 30 13:50:43 2017 by
|
Generated on Sun Jul 30 14:07:44 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>
|
||||||
|
|||||||
@@ -218,7 +218,29 @@ rules. Defaults to <code>true</code>.</p>
|
|||||||
<h3 id="label-Managing+Check+Commands">Managing Check Commands</h3>
|
<h3 id="label-Managing+Check+Commands">Managing Check Commands</h3>
|
||||||
|
|
||||||
<p>In order to connect a Nagios monitoring server to clients through NRPE, you
|
<p>In order to connect a Nagios monitoring server to clients through NRPE, you
|
||||||
must define commands and the desired argument strings on the clients.</p>
|
must define commands and the desired argument strings on the clients. The
|
||||||
|
default NRPE installation comes with a few examples of such commands, which
|
||||||
|
are also included in this module. However, every environment is very
|
||||||
|
different in their requirements and Nagios via Puppet is all about the
|
||||||
|
ability to dynamicically set command arguments based on default variables /
|
||||||
|
overrides. For that reason no hard-coded commands are included, but instead
|
||||||
|
all commands are set via argument strings, where possible.</p>
|
||||||
|
|
||||||
|
<p>Defining commands is as simple as
|
||||||
|
that:
|
||||||
|
<code>
|
||||||
|
`cd_nrpe::commands::definitions` {
|
||||||
|
'check_users':
|
||||||
|
`ne_check_cmd` =>
|
||||||
|
'check_users',
|
||||||
|
`ne_cmd_argstring` => '-w $ARG1$ -c
|
||||||
|
$ARG2$',
|
||||||
|
}
|
||||||
|
</code>
|
||||||
|
It is very recommendable to define such
|
||||||
|
commands within Puppet modules controlling services, so any node running
|
||||||
|
the particular service will automatically get the required check commands
|
||||||
|
defined as well.</p>
|
||||||
|
|
||||||
<h3 id="label-SELINUX">SELINUX</h3>
|
<h3 id="label-SELINUX">SELINUX</h3>
|
||||||
|
|
||||||
@@ -280,7 +302,7 @@ environments.</p>
|
|||||||
</div></div>
|
</div></div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Sun Jul 30 13:50:44 2017 by
|
Generated on Sun Jul 30 14:07:45 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>
|
||||||
|
|||||||
@@ -218,7 +218,29 @@ rules. Defaults to <code>true</code>.</p>
|
|||||||
<h3 id="label-Managing+Check+Commands">Managing Check Commands</h3>
|
<h3 id="label-Managing+Check+Commands">Managing Check Commands</h3>
|
||||||
|
|
||||||
<p>In order to connect a Nagios monitoring server to clients through NRPE, you
|
<p>In order to connect a Nagios monitoring server to clients through NRPE, you
|
||||||
must define commands and the desired argument strings on the clients.</p>
|
must define commands and the desired argument strings on the clients. The
|
||||||
|
default NRPE installation comes with a few examples of such commands, which
|
||||||
|
are also included in this module. However, every environment is very
|
||||||
|
different in their requirements and Nagios via Puppet is all about the
|
||||||
|
ability to dynamicically set command arguments based on default variables /
|
||||||
|
overrides. For that reason no hard-coded commands are included, but instead
|
||||||
|
all commands are set via argument strings, where possible.</p>
|
||||||
|
|
||||||
|
<p>Defining commands is as simple as
|
||||||
|
that:
|
||||||
|
<code>
|
||||||
|
`cd_nrpe::commands::definitions` {
|
||||||
|
'check_users':
|
||||||
|
`ne_check_cmd` =>
|
||||||
|
'check_users',
|
||||||
|
`ne_cmd_argstring` => '-w $ARG1$ -c
|
||||||
|
$ARG2$',
|
||||||
|
}
|
||||||
|
</code>
|
||||||
|
It is very recommendable to define such
|
||||||
|
commands within Puppet modules controlling services, so any node running
|
||||||
|
the particular service will automatically get the required check commands
|
||||||
|
defined as well.</p>
|
||||||
|
|
||||||
<h3 id="label-SELINUX">SELINUX</h3>
|
<h3 id="label-SELINUX">SELINUX</h3>
|
||||||
|
|
||||||
@@ -280,7 +302,7 @@ environments.</p>
|
|||||||
</div></div>
|
</div></div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Sun Jul 30 13:50:44 2017 by
|
Generated on Sun Jul 30 14:07:45 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>
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ class cd_nrpe {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Sun Jul 30 13:50:44 2017 by
|
Generated on Sun Jul 30 14:07:45 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>
|
||||||
|
|||||||
@@ -177,7 +177,25 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
|||||||
63
|
63
|
||||||
64
|
64
|
||||||
65
|
65
|
||||||
66</pre>
|
66
|
||||||
|
67
|
||||||
|
68
|
||||||
|
69
|
||||||
|
70
|
||||||
|
71
|
||||||
|
72
|
||||||
|
73
|
||||||
|
74
|
||||||
|
75
|
||||||
|
76
|
||||||
|
77
|
||||||
|
78
|
||||||
|
79
|
||||||
|
80
|
||||||
|
81
|
||||||
|
82
|
||||||
|
83
|
||||||
|
84</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/commands/definition_rules.pp', line 28</span>
|
<pre class="code"><span class="info file"># File 'manifests/commands/definition_rules.pp', line 28</span>
|
||||||
@@ -218,7 +236,25 @@ class cd_nrpe::commands::definition_rules (
|
|||||||
ne_cmd_argstring => '-w $ARG1$ -c $ARG2$',
|
ne_cmd_argstring => '-w $ARG1$ -c $ARG2$',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cd_nrpe::commands::definitions { 'check_load':
|
||||||
|
ne_check_cmd => 'check_load',
|
||||||
|
ne_cmd_argstring => '-w $ARG1$ -c $ARG2$',
|
||||||
|
}
|
||||||
|
|
||||||
|
cd_nrpe::commands::definitions { 'check_disk':
|
||||||
|
ne_check_cmd => 'check_disk',
|
||||||
|
ne_cmd_argstring => '-w $ARG1$ -c $ARG2$ -p $ARG3$',
|
||||||
|
}
|
||||||
|
|
||||||
|
cd_nrpe::commands::definitions { 'check_procs':
|
||||||
|
ne_check_cmd => 'check_procs',
|
||||||
|
ne_cmd_argstring => '-w $ARG1$ -c $ARG2$ -s $ARG3$',
|
||||||
|
}
|
||||||
|
|
||||||
|
cd_nrpe::commands::definitions { 'check_swap':
|
||||||
|
ne_check_cmd => 'check_swap',
|
||||||
|
ne_cmd_argstring => '-w $ARG1$ -c $ARG2$',
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
@@ -228,7 +264,7 @@ class cd_nrpe::commands::definition_rules (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Sun Jul 30 13:50:46 2017 by
|
Generated on Sun Jul 30 14:07:47 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>
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ class cd_nrpe::firewall::iptables (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Sun Jul 30 13:50:45 2017 by
|
Generated on Sun Jul 30 14:07:47 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>
|
||||||
|
|||||||
@@ -154,7 +154,7 @@ class cd_nrpe::main::config (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Sun Jul 30 13:50:45 2017 by
|
Generated on Sun Jul 30 14:07:46 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>
|
||||||
|
|||||||
@@ -205,7 +205,7 @@ class cd_nrpe::main::dirs (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Sun Jul 30 13:50:45 2017 by
|
Generated on Sun Jul 30 14:07:46 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>
|
||||||
|
|||||||
@@ -217,7 +217,7 @@ class cd_nrpe::main::files (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Sun Jul 30 13:50:45 2017 by
|
Generated on Sun Jul 30 14:07:46 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>
|
||||||
|
|||||||
@@ -160,7 +160,7 @@ class cd_nrpe::main::install (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Sun Jul 30 13:50:45 2017 by
|
Generated on Sun Jul 30 14:07:46 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>
|
||||||
|
|||||||
@@ -183,7 +183,7 @@ class cd_nrpe::main::service (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Sun Jul 30 13:50:45 2017 by
|
Generated on Sun Jul 30 14:07:46 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>
|
||||||
|
|||||||
@@ -193,7 +193,7 @@ class cd_nrpe::main::user (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Sun Jul 30 13:50:45 2017 by
|
Generated on Sun Jul 30 14:07:46 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>
|
||||||
|
|||||||
@@ -1059,7 +1059,7 @@ $ne_cmd_rule_erb = 'cd_nrpe/cmd_rule.erb'
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Sun Jul 30 13:50:45 2017 by
|
Generated on Sun Jul 30 14:07:46 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>
|
||||||
|
|||||||
@@ -238,7 +238,7 @@ $ne_manage_cmds = $::cd_nrpe::params::ne_manage_cmds
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Sun Jul 30 13:50:46 2017 by
|
Generated on Sun Jul 30 14:07:47 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>
|
||||||
|
|||||||
@@ -90,7 +90,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Sun Jul 30 13:50:44 2017 by
|
Generated on Sun Jul 30 14:07:45 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>
|
||||||
|
|||||||
Reference in New Issue
Block a user