Compare commits
5 Commits
968ed97a1a
...
1a98fcd265
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1a98fcd265 | ||
|
|
6b8c6e3635 | ||
|
|
2ae8a29521 | ||
| d15e97f718 | |||
|
|
aeac168318 |
@@ -334,7 +334,17 @@ and populates /etc/nagios/conf.d/nagios_commands.cfg.
|
||||
239
|
||||
240
|
||||
241
|
||||
242</pre>
|
||||
242
|
||||
243
|
||||
244
|
||||
245
|
||||
246
|
||||
247
|
||||
248
|
||||
249
|
||||
250
|
||||
251
|
||||
252</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/commands.pp', line 8</span>
|
||||
@@ -572,6 +582,16 @@ class confdroid_nagios::nagios::objects::commands (
|
||||
mode => '0640',
|
||||
target => $ng_target_command,
|
||||
}
|
||||
|
||||
@@nagios_command { 'check_haproxy':
|
||||
ensure => present,
|
||||
command_name => 'check_haproxy',
|
||||
command_line => '$USER1$/check_procs -c $ARG1$ -C $ARG2$',
|
||||
owner => $ng_user,
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
target => $ng_target_command,
|
||||
}
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
|
||||
@@ -238,5 +238,15 @@ class confdroid_nagios::nagios::objects::commands (
|
||||
mode => '0640',
|
||||
target => $ng_target_command,
|
||||
}
|
||||
|
||||
@@nagios_command { 'check_haproxy':
|
||||
ensure => present,
|
||||
command_name => 'check_haproxy',
|
||||
command_line => '$USER1$/check_procs -c $ARG1$ -C $ARG2$',
|
||||
owner => $ng_user,
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
target => $ng_target_command,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user