Recommit for updates in build 33
This commit is contained in:
@@ -175,7 +175,8 @@
|
|||||||
71
|
71
|
||||||
72
|
72
|
||||||
73
|
73
|
||||||
74</pre>
|
74
|
||||||
|
75</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/commands/definition_rules.pp', line 12</span>
|
<pre class="code"><span class="info file"># File 'manifests/commands/definition_rules.pp', line 12</span>
|
||||||
@@ -238,8 +239,9 @@ class confdroid_nrpe::commands::definition_rules (
|
|||||||
}
|
}
|
||||||
|
|
||||||
confdroid_nrpe::commands::definitions { 'check_fail2ban':
|
confdroid_nrpe::commands::definitions { 'check_fail2ban':
|
||||||
|
ne_check_name => 'check_fail2ban',
|
||||||
ne_check_cmd => 'check_procs',
|
ne_check_cmd => 'check_procs',
|
||||||
ne_cmd_argstring => '-c $ARG1$ -C $ARG2$',
|
ne_cmd_argstring => '-c $ARG1$ -a $ARG2$',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ from other modules.
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>confdroid_nrpe::commands::definitions.pp Module name: confdroid_nrpe Author: 12ww1160 (12ww1160@ConfDroid.com)</p>
|
<p>confdroid_nrpe::commands::definitions.pp Module name: confdroid_nrpe Author: 12ww1160 (12ww1160@ConfDroid.com) different checks.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -147,15 +147,33 @@ from other modules.
|
|||||||
<span class='name'>ne_cmd_comment</span>
|
<span class='name'>ne_cmd_comment</span>
|
||||||
|
|
||||||
|
|
||||||
<span class='type'>(<tt>String</tt>)</span>
|
<span class='type'>(<tt>Optional[String]</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
<em class="default">(defaults to: <tt>''</tt>)</em>
|
<em class="default">(defaults to: <tt>undef</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Specify an optional comment for your command definition</p>
|
<p>Specify an optional comment for your command definition</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ne_check_name</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'check_procs'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Specify an optional name for the check, if you want to use a different name than the check_command. This is useful if you want to use the same check_command with different arguments, e.g. check_procs with different argument strings for</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
@@ -171,11 +189,6 @@ from other modules.
|
|||||||
<pre class="lines">
|
<pre class="lines">
|
||||||
|
|
||||||
|
|
||||||
16
|
|
||||||
17
|
|
||||||
18
|
|
||||||
19
|
|
||||||
20
|
|
||||||
21
|
21
|
||||||
22
|
22
|
||||||
23
|
23
|
||||||
@@ -189,17 +202,24 @@ from other modules.
|
|||||||
31
|
31
|
||||||
32
|
32
|
||||||
33
|
33
|
||||||
34</pre>
|
34
|
||||||
|
35
|
||||||
|
36
|
||||||
|
37
|
||||||
|
38
|
||||||
|
39
|
||||||
|
40</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/commands/definitions.pp', line 16</span>
|
<pre class="code"><span class="info file"># File 'manifests/commands/definitions.pp', line 21</span>
|
||||||
|
|
||||||
define confdroid_nrpe::commands::definitions (
|
define confdroid_nrpe::commands::definitions (
|
||||||
|
|
||||||
|
String $ne_check_name = 'check_procs',
|
||||||
Optional[String] $ne_check_cmd = undef,
|
Optional[String] $ne_check_cmd = undef,
|
||||||
String $ne_cmd_path = '/usr/lib64/nagios/plugins/',
|
String $ne_cmd_path = '/usr/lib64/nagios/plugins/',
|
||||||
Optional[String] $ne_cmd_argstring = undef,
|
Optional[String] $ne_cmd_argstring = undef,
|
||||||
String $ne_cmd_comment = '',
|
Optional[String] $ne_cmd_comment = undef,
|
||||||
|
|
||||||
) {
|
) {
|
||||||
$ne_cmd_file = $confdroid_nrpe::params::ne_cmd_file
|
$ne_cmd_file = $confdroid_nrpe::params::ne_cmd_file
|
||||||
|
|||||||
Reference in New Issue
Block a user