Compare commits

...

4 Commits

Author SHA1 Message Date
Jenkins Server
79899c86ee Merge build 42 into master 2026-09-24 16:46:06 +02:00
Jenkins Server
9b3960cb28 Recommit for updates in build 42 2026-09-24 16:46:05 +02:00
Jenkins Server
53c785c25d Merge remote-tracking branch 'origin/master' into jenkins-build-42 2026-09-24 16:45:11 +02:00
65f6189906 OP#672 add sshd nagios check 2026-09-24 16:44:53 +02:00
5 changed files with 11 additions and 6 deletions

View File

@@ -29,6 +29,7 @@
- manage required files and directories including selinux context
- manage service
- (optional) manage firewall
- (optional) manage nagios monitoring for `sshd`
## Adding custom configurations

View File

@@ -104,6 +104,8 @@
<p>manage service</p>
</li><li>
<p>(optional) manage firewall</p>
</li><li>
<p>(optional) manage nagios monitoring for <code>sshd</code></p>
</li></ul>
<h2 id="label-Adding+custom+configurations">Adding custom configurations</h2>

View File

@@ -104,6 +104,8 @@
<p>manage service</p>
</li><li>
<p>(optional) manage firewall</p>
</li><li>
<p>(optional) manage nagios monitoring for <code>sshd</code></p>
</li></ul>
<h2 id="label-Adding+custom+configurations">Adding custom configurations</h2>

View File

@@ -125,12 +125,12 @@
class confdroid_ssh::monitoring::target (
) inherits confdroid_ssh::params {
if $ssh_manage_nagios == true {
@@nagios_service { &quot;check_ssh_${fqdn}&quot;:
check_command =&gt; &quot;check_nrpe!check_ssh!${ssh_procs_allowed}!sshd&quot;,
@@nagios_service { &quot;check_sshd_${fqdn}&quot;:
check_command =&gt; &quot;check_nrpe!check_sshd!${ssh_procs_allowed}!sshd&quot;,
use =&gt; &#39;generic-service&#39;,
host_name =&gt; $fqdn,
notification_period =&gt; &#39;24x7&#39;,
service_description =&gt; &quot;${fqdn}_check_ssh&quot;,
service_description =&gt; &quot;${fqdn}_check_sshd&quot;,
target =&gt; $ssh_target_service,
owner =&gt; &#39;nagios&#39;,
group =&gt; &#39;nagios&#39;,

View File

@@ -6,12 +6,12 @@
class confdroid_ssh::monitoring::target (
) inherits confdroid_ssh::params {
if $ssh_manage_nagios == true {
@@nagios_service { "check_ssh_${fqdn}":
check_command => "check_nrpe!check_ssh!${ssh_procs_allowed}!sshd",
@@nagios_service { "check_sshd_${fqdn}":
check_command => "check_nrpe!check_sshd!${ssh_procs_allowed}!sshd",
use => 'generic-service',
host_name => $fqdn,
notification_period => '24x7',
service_description => "${fqdn}_check_ssh",
service_description => "${fqdn}_check_sshd",
target => $ssh_target_service,
owner => 'nagios',
group => 'nagios',