Compare commits

17 Commits

Author SHA1 Message Date
Jenkins
a86d771abc Merge branch 'jenkins-build-244' into 'master'
Auto-merge for build 244

See merge request puppet/confdroid_nagios!9
2026-09-08 13:40:03 +02:00
Jenkins Server
e8d714b01a Recommit for updates in build 244 2026-09-08 13:09:26 +02:00
Jenkins Server
4091b41e46 Merge remote-tracking branch 'origin/master' into jenkins-build-244 2026-09-08 13:09:26 +02:00
475f7d096f OP#672 add service target for puppet_server 2026-09-08 13:06:52 +02:00
Jenkins
17a05df50e Merge branch 'jenkins-build-243' into 'master'
Auto-merge for build 243

See merge request puppet/confdroid_nagios!8
2026-09-08 09:36:52 +00:00
Jenkins Server
75b2b96baa Recommit for updates in build 243 2026-09-08 11:36:45 +02:00
Jenkins Server
0bf44dc0d2 Merge remote-tracking branch 'origin/master' into jenkins-build-243 2026-09-08 11:36:45 +02:00
2ba6a788b5 OP#672 add service target for puppet_server 2026-09-08 11:34:25 +02:00
Jenkins
c8dafcd98a Merge branch 'jenkins-build-242' into 'master'
Auto-merge for build 242

See merge request puppet/confdroid_nagios!7
2026-09-07 14:34:19 +00:00
Jenkins Server
e56945b959 Recommit for updates in build 242 2026-09-07 16:34:13 +02:00
Jenkins Server
cb4a10a00a Merge remote-tracking branch 'origin/master' into jenkins-build-242 2026-09-07 16:34:13 +02:00
5325accc03 OP#672 add check_puppet command 2026-09-07 16:31:49 +02:00
Jenkins
b991426eb5 Merge branch 'jenkins-build-241' into 'master'
Auto-merge for build 241

See merge request puppet/confdroid_nagios!6
2026-09-07 13:48:12 +00:00
Jenkins Server
6b8c6e3635 Recommit for updates in build 241 2026-09-07 15:48:01 +02:00
Jenkins Server
2ae8a29521 Merge remote-tracking branch 'origin/master' into jenkins-build-241 2026-09-07 15:48:01 +02:00
d15e97f718 OP#672 add check_haproxy command 2026-09-07 15:46:07 +02:00
Jenkins
aeac168318 Merge branch 'jenkins-build-240' into 'master'
Auto-merge for build 240

See merge request puppet/confdroid_nagios!5
2026-09-07 12:22:51 +00:00
2 changed files with 91 additions and 1 deletions

View File

@@ -334,7 +334,37 @@ 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
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272</pre>
</td>
<td>
<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 =&gt; &#39;0640&#39;,
target =&gt; $ng_target_command,
}
@@nagios_command { &#39;check_haproxy&#39;:
ensure =&gt; present,
command_name =&gt; &#39;check_haproxy&#39;,
command_line =&gt; &#39;$USER1$/check_procs -c $ARG1$ -C $ARG2$&#39;,
owner =&gt; $ng_user,
group =&gt; $ng_user,
mode =&gt; &#39;0640&#39;,
target =&gt; $ng_target_command,
}
@@nagios_command { &#39;check_puppet&#39;:
ensure =&gt; present,
command_name =&gt; &#39;check_puppet&#39;,
command_line =&gt; &#39;$USER1$/check_procs -c $ARG1$ -C $ARG2$&#39;,
owner =&gt; $ng_user,
group =&gt; $ng_user,
mode =&gt; &#39;0640&#39;,
target =&gt; $ng_target_command,
}
@@nagios_command { &#39;check_puppet_server&#39;:
ensure =&gt; present,
command_name =&gt; &#39;check_puppet_server&#39;,
command_line =&gt; &#39;$USER1$/check_procs -c $ARG1$ -a $ARG2$&#39;,
owner =&gt; $ng_user,
group =&gt; $ng_user,
mode =&gt; &#39;0640&#39;,
target =&gt; $ng_target_command,
}
}
}</pre>
</td>

View File

@@ -238,5 +238,35 @@ 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,
}
@@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,
}
}
}