Recommit for updates in build 33

This commit is contained in:
Jenkins Server
2026-03-11 16:50:07 +01:00
parent 03ab33b51d
commit 7d85743f78
2 changed files with 35 additions and 13 deletions

View File

@@ -175,7 +175,8 @@
71
72
73
74</pre>
74
75</pre>
</td>
<td>
<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 { &#39;check_fail2ban&#39;:
ne_check_name =&gt; &#39;check_fail2ban&#39;,
ne_check_cmd =&gt; &#39;check_procs&#39;,
ne_cmd_argstring =&gt; &#39;-c $ARG1$ -C $ARG2$&#39;,
ne_cmd_argstring =&gt; &#39;-c $ARG1$ -a $ARG2$&#39;,
}
}
}</pre>

View File

@@ -77,7 +77,7 @@ from other modules.
<div class="docstring">
<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>
@@ -147,15 +147,33 @@ from other modules.
<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>&#39;&#39;</tt>)</em>
<em class="default">(defaults to: <tt>undef</tt>)</em>
&mdash;
<div class='inline'>
<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>&#39;check_procs&#39;</tt>)</em>
&mdash;
<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>
</li>
@@ -171,11 +189,6 @@ from other modules.
<pre class="lines">
16
17
18
19
20
21
22
23
@@ -189,17 +202,24 @@ from other modules.
31
32
33
34</pre>
34
35
36
37
38
39
40</pre>
</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 (
String $ne_check_name = &#39;check_procs&#39;,
Optional[String] $ne_check_cmd = undef,
String $ne_cmd_path = &#39;/usr/lib64/nagios/plugins/&#39;,
Optional[String] $ne_cmd_argstring = undef,
String $ne_cmd_comment = &#39;&#39;,
Optional[String] $ne_cmd_comment = undef,
) {
$ne_cmd_file = $confdroid_nrpe::params::ne_cmd_file