Recommit for updates in build 15
This commit is contained in:
@@ -128,7 +128,7 @@ class confdroid_alloy::monitoring::target (
|
|||||||
) inherits confdroid_alloy::params {
|
) inherits confdroid_alloy::params {
|
||||||
if $ay_manage_nagios == true {
|
if $ay_manage_nagios == true {
|
||||||
@@nagios_service { "check_alloy_${fqdn}":
|
@@nagios_service { "check_alloy_${fqdn}":
|
||||||
check_command => "check_nrpe!check_alloy!${fn_procs_allowed}!alloy-server",
|
check_command => "check_nrpe!check_alloy!${ay_procs_allowed}!alloy",
|
||||||
use => 'generic-service',
|
use => 'generic-service',
|
||||||
host_name => $fqdn,
|
host_name => $fqdn,
|
||||||
notification_period => '24x7',
|
notification_period => '24x7',
|
||||||
|
|||||||
@@ -412,6 +412,24 @@
|
|||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>the contacts for nagios service exports</p>
|
<p>the contacts for nagios service exports</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ay_procs_allowed</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'1:1'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>the allowed number of processes for nagios service exports</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
@@ -427,7 +445,6 @@
|
|||||||
<pre class="lines">
|
<pre class="lines">
|
||||||
|
|
||||||
|
|
||||||
25
|
|
||||||
26
|
26
|
||||||
27
|
27
|
||||||
28
|
28
|
||||||
@@ -468,10 +485,12 @@
|
|||||||
63
|
63
|
||||||
64
|
64
|
||||||
65
|
65
|
||||||
66</pre>
|
66
|
||||||
|
67
|
||||||
|
68</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 25</span>
|
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 26</span>
|
||||||
|
|
||||||
class confdroid_alloy::params (
|
class confdroid_alloy::params (
|
||||||
|
|
||||||
@@ -498,6 +517,7 @@ class confdroid_alloy::params (
|
|||||||
Boolean $ay_manage_nagios = false,
|
Boolean $ay_manage_nagios = false,
|
||||||
String $ay_target_service = '/etc/nagios/conf.d/alloy_service.cfg',
|
String $ay_target_service = '/etc/nagios/conf.d/alloy_service.cfg',
|
||||||
Array $ay_target_contacts = ['nagiosadmin'],
|
Array $ay_target_contacts = ['nagiosadmin'],
|
||||||
|
String $ay_procs_allowed = '1:1'
|
||||||
|
|
||||||
) {
|
) {
|
||||||
# defaults
|
# defaults
|
||||||
|
|||||||
Reference in New Issue
Block a user