Compare commits
17 Commits
968ed97a1a
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a86d771abc | ||
|
|
e8d714b01a | ||
|
|
4091b41e46 | ||
| 475f7d096f | |||
|
|
17a05df50e | ||
|
|
75b2b96baa | ||
|
|
0bf44dc0d2 | ||
| 2ba6a788b5 | |||
|
|
c8dafcd98a | ||
|
|
e56945b959 | ||
|
|
cb4a10a00a | ||
| 5325accc03 | |||
|
|
b991426eb5 | ||
|
|
6b8c6e3635 | ||
|
|
2ae8a29521 | ||
| d15e97f718 | |||
|
|
aeac168318 |
@@ -334,7 +334,37 @@ and populates /etc/nagios/conf.d/nagios_commands.cfg.
|
|||||||
239
|
239
|
||||||
240
|
240
|
||||||
241
|
241
|
||||||
242</pre>
|
242
|
||||||
|
243
|
||||||
|
244
|
||||||
|
245
|
||||||
|
246
|
||||||
|
247
|
||||||
|
248
|
||||||
|
249
|
||||||
|
250
|
||||||
|
251
|
||||||
|
252
|
||||||
|
253
|
||||||
|
254
|
||||||
|
255
|
||||||
|
256
|
||||||
|
257
|
||||||
|
258
|
||||||
|
259
|
||||||
|
260
|
||||||
|
261
|
||||||
|
262
|
||||||
|
263
|
||||||
|
264
|
||||||
|
265
|
||||||
|
266
|
||||||
|
267
|
||||||
|
268
|
||||||
|
269
|
||||||
|
270
|
||||||
|
271
|
||||||
|
272</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>
|
||||||
@@ -572,6 +602,36 @@ class confdroid_nagios::nagios::objects::commands (
|
|||||||
mode => '0640',
|
mode => '0640',
|
||||||
target => $ng_target_command,
|
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,
|
||||||
|
}
|
||||||
|
|
||||||
|
@@nagios_command { 'check_puppet':
|
||||||
|
ensure => present,
|
||||||
|
command_name => 'check_puppet',
|
||||||
|
command_line => '$USER1$/check_procs -c $ARG1$ -C $ARG2$',
|
||||||
|
owner => $ng_user,
|
||||||
|
group => $ng_user,
|
||||||
|
mode => '0640',
|
||||||
|
target => $ng_target_command,
|
||||||
|
}
|
||||||
|
|
||||||
|
@@nagios_command { 'check_puppet_server':
|
||||||
|
ensure => present,
|
||||||
|
command_name => 'check_puppet_server',
|
||||||
|
command_line => '$USER1$/check_procs -c $ARG1$ -a $ARG2$',
|
||||||
|
owner => $ng_user,
|
||||||
|
group => $ng_user,
|
||||||
|
mode => '0640',
|
||||||
|
target => $ng_target_command,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -238,5 +238,35 @@ class confdroid_nagios::nagios::objects::commands (
|
|||||||
mode => '0640',
|
mode => '0640',
|
||||||
target => $ng_target_command,
|
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,
|
||||||
|
}
|
||||||
|
|
||||||
|
@@nagios_command { 'check_puppet':
|
||||||
|
ensure => present,
|
||||||
|
command_name => 'check_puppet',
|
||||||
|
command_line => '$USER1$/check_procs -c $ARG1$ -C $ARG2$',
|
||||||
|
owner => $ng_user,
|
||||||
|
group => $ng_user,
|
||||||
|
mode => '0640',
|
||||||
|
target => $ng_target_command,
|
||||||
|
}
|
||||||
|
|
||||||
|
@@nagios_command { 'check_puppet_server':
|
||||||
|
ensure => present,
|
||||||
|
command_name => 'check_puppet_server',
|
||||||
|
command_line => '$USER1$/check_procs -c $ARG1$ -a $ARG2$',
|
||||||
|
owner => $ng_user,
|
||||||
|
group => $ng_user,
|
||||||
|
mode => '0640',
|
||||||
|
target => $ng_target_command,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user