fixed image name & removed slash in the end for a nagios check

This commit is contained in:
Maria Haider 2024-06-08 01:14:43 +02:00
parent 39dbd29227
commit 7404e8996f
Signed by: mariah
GPG key ID: 7414A760CA747E57
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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'],
} }