Compare commits

5 Commits

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

See merge request puppet/confdroid_nagios!12
2026-10-04 13:16:22 +02:00
Jenkins Server
c30df387da Recommit for updates in build 247 2026-10-04 13:10:12 +02:00
Jenkins Server
12d6cdf97c Merge remote-tracking branch 'origin/master' into jenkins-build-247 2026-10-04 13:10:12 +02:00
89617b8045 OP#830 add check_chronyd command 2026-10-04 13:08:18 +02:00
Jenkins
3ced5e85eb Merge branch 'jenkins-build-246' into 'master'
Auto-merge for build 246

See merge request puppet/confdroid_nagios!11
2026-09-27 12:08:02 +00:00
2 changed files with 31 additions and 1 deletions

View File

@@ -374,7 +374,17 @@ and populates /etc/nagios/conf.d/nagios_commands.cfg.
279 279
280 280
281 281
282</pre> 282
283
284
285
286
287
288
289
290
291
292</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>
@@ -652,6 +662,16 @@ class confdroid_nagios::nagios::objects::commands (
mode =&gt; &#39;0640&#39;, mode =&gt; &#39;0640&#39;,
target =&gt; $ng_target_command, target =&gt; $ng_target_command,
} }
@@nagios_command { &#39;check_chronyd&#39;:
ensure =&gt; present,
command_name =&gt; &#39;check_chronyd&#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,
}
} }
}</pre> }</pre>
</td> </td>

View File

@@ -278,5 +278,15 @@ class confdroid_nagios::nagios::objects::commands (
mode => '0640', mode => '0640',
target => $ng_target_command, target => $ng_target_command,
} }
@@nagios_command { 'check_chronyd':
ensure => present,
command_name => 'check_chronyd',
command_line => '$USER1$/check_procs -c $ARG1$ -C $ARG2$',
owner => $ng_user,
group => $ng_user,
mode => '0640',
target => $ng_target_command,
}
} }
} }