Recommit for updates in build 196
This commit is contained in:
@@ -218,7 +218,12 @@
|
|||||||
120
|
120
|
||||||
121
|
121
|
||||||
122
|
122
|
||||||
123</pre>
|
123
|
||||||
|
124
|
||||||
|
125
|
||||||
|
126
|
||||||
|
127
|
||||||
|
128</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/client/target.pp', line 6</span>
|
<pre class="code"><span class="info file"># File 'manifests/client/target.pp', line 6</span>
|
||||||
@@ -231,6 +236,11 @@ class confdroid_nagios::client::target (
|
|||||||
ensure => $ng_pkg_ensure,
|
ensure => $ng_pkg_ensure,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# if we want to use NRPE on clients, install it
|
||||||
|
if $ng_include_nrpe == true {
|
||||||
|
require confdroid_nrpe
|
||||||
|
}
|
||||||
|
|
||||||
@@nagios_host { $fqdn:
|
@@nagios_host { $fqdn:
|
||||||
ensure => $ng_ping_ensure,
|
ensure => $ng_ping_ensure,
|
||||||
alias => $hostname,
|
alias => $hostname,
|
||||||
|
|||||||
@@ -123,8 +123,7 @@
|
|||||||
25
|
25
|
||||||
26
|
26
|
||||||
27
|
27
|
||||||
28
|
28</pre>
|
||||||
29</pre>
|
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/main/install.pp', line 6</span>
|
<pre class="code"><span class="info file"># File 'manifests/main/install.pp', line 6</span>
|
||||||
@@ -142,16 +141,15 @@ class confdroid_nagios::main::install (
|
|||||||
package { $ng_reqpackages_server:
|
package { $ng_reqpackages_server:
|
||||||
ensure => $ng_pkg_ensure,
|
ensure => $ng_pkg_ensure,
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
package { $ng_reqpackages_client:
|
package { $ng_reqpackages_client:
|
||||||
ensure => $ng_pkg_ensure,
|
ensure => $ng_pkg_ensure,
|
||||||
}
|
}
|
||||||
|
|
||||||
# if we want to use NRPE on clients, install it
|
|
||||||
if $ng_include_nrpe == true {
|
if $ng_include_nrpe == true {
|
||||||
require confdroid_nrpe
|
require confdroid_nrpe
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -217,8 +217,7 @@
|
|||||||
119
|
119
|
||||||
120
|
120
|
||||||
121
|
121
|
||||||
122
|
122</pre>
|
||||||
123</pre>
|
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/server/nagios.pp', line 6</span>
|
<pre class="code"><span class="info file"># File 'manifests/server/nagios.pp', line 6</span>
|
||||||
@@ -227,7 +226,6 @@ class confdroid_nagios::server::nagios (
|
|||||||
|
|
||||||
) inherits confdroid_nagios::params {
|
) inherits confdroid_nagios::params {
|
||||||
if $ng_nagios_server == $fqdn {
|
if $ng_nagios_server == $fqdn {
|
||||||
|
|
||||||
@@nagios_service { 'check_nagios_localhost':
|
@@nagios_service { 'check_nagios_localhost':
|
||||||
check_command => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios",
|
check_command => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios",
|
||||||
use => 'generic-service',
|
use => 'generic-service',
|
||||||
|
|||||||
Reference in New Issue
Block a user