Recommit for updates in build 206
This commit is contained in:
@@ -314,7 +314,17 @@ and populates /etc/nagios/conf.d/nagios_commands.cfg.
|
|||||||
219
|
219
|
||||||
220
|
220
|
||||||
221
|
221
|
||||||
222</pre>
|
222
|
||||||
|
223
|
||||||
|
224
|
||||||
|
225
|
||||||
|
226
|
||||||
|
227
|
||||||
|
228
|
||||||
|
229
|
||||||
|
230
|
||||||
|
231
|
||||||
|
232</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/commands.pp', line 8</span>
|
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/commands.pp', line 8</span>
|
||||||
@@ -532,6 +542,16 @@ class confdroid_nagios::nagios::objects::commands (
|
|||||||
mode => '0640',
|
mode => '0640',
|
||||||
target => $ng_target_command,
|
target => $ng_target_command,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@nagios_command { 'check_fail2ban':
|
||||||
|
ensure => present,
|
||||||
|
command_name => 'check_fail2ban',
|
||||||
|
command_line => '$USER1$/check_procs -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$',
|
||||||
|
owner => $ng_user,
|
||||||
|
group => $ng_user,
|
||||||
|
mode => '0640',
|
||||||
|
target => $ng_target_command,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user