fixed image name & removed slash in the end for a nagios check
This commit is contained in:
parent
39dbd29227
commit
7404e8996f
2 changed files with 3 additions and 3 deletions
|
@ -853,7 +853,7 @@ test-1.test.sveidas.se:
|
||||||
konsulter:
|
konsulter:
|
||||||
autoupdate:
|
autoupdate:
|
||||||
eidas_de_middleware:
|
eidas_de_middleware:
|
||||||
version: 320-sc-p11_hsm2
|
version: 320-sc_hsm2
|
||||||
hostname: qa.demw.eidas.swedenconnect.se
|
hostname: qa.demw.eidas.swedenconnect.se
|
||||||
webserver:
|
webserver:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
|
@ -451,11 +451,11 @@ class eid::nagios_monitor {
|
||||||
contact_groups => ['alerts'],
|
contact_groups => ['alerts'],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$hosts_demw = ['demw.eidas.swedenconnect.se', 'qa.demw.eidas.swedenconnect.se']
|
$hosts_demw = ['demw.eidas.swedenconnect.se', 'qa.demw.eidas.swedenconnect.se', 'test.demw.eidas.swedenconnect.se']
|
||||||
$hosts_demw.each |$host|{
|
$hosts_demw.each |$host|{
|
||||||
nagioscfg::service {"check_metadata_age_${host}":
|
nagioscfg::service {"check_metadata_age_${host}":
|
||||||
host_name => ["${host}"],
|
host_name => ["${host}"],
|
||||||
check_command => "check_metadata_age!https://${host}/eidas-middleware/Metadata/!432000!86400",
|
check_command => "check_metadata_age!https://${host}/eidas-middleware/Metadata!432000!86400",
|
||||||
description => "check metadata age for ${host}",
|
description => "check metadata age for ${host}",
|
||||||
contact_groups => ['alerts'],
|
contact_groups => ['alerts'],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue