only monitor ssh on jumphosts

This commit is contained in:
Leif Johansson 2018-07-25 16:11:30 +02:00
parent 16f38f30d9
commit 8cf0bd29b2
2 changed files with 5 additions and 1 deletions

View file

@ -14,11 +14,13 @@ jmp.komreg.net:
sunet_iaas_cloud:
autoupdate:
sunet::auditd:
jumphosts:
'^jump-.+\.komreg\.net$':
konsulter:
metadatamgrs:
autoupdate:
jumphosts:
kvmfe-tug-3.komreg.net:
eid::kvmhost:

View file

@ -14,6 +14,8 @@ class autoupdate {
class { 'sunet::updater': cron => true, cosmos_automatic_reboot => true }
}
class jumphosts {}
class infra_ca_rp {
sunet::ici_ca::rp { 'infra': }
}
@ -683,7 +685,7 @@ class nagios_monitor {
contact_groups => ['alerts']
}
nagioscfg::service {'service_ssh':
hostgroup_name => ['all'],
hostgroup_name => ['jumphost'],
description => 'SSH',
check_command => 'check_ssh_4_hostname',
contact_groups => ['alerts']