monitor SP metadata validity in connector
Ref: SC-1521
This commit is contained in:
parent
26f6fae943
commit
d4fd53a186
1 changed files with 9 additions and 0 deletions
|
@ -1470,6 +1470,15 @@ class nagios_monitor {
|
||||||
contact_groups => ['alerts'],
|
contact_groups => ['alerts'],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$hosts_connector = ['connector.eidas.swedenconnect.se', 'qa.connector.eidas.swedenconnect.se', 'test.connector.eidas.swedenconnect.se']
|
||||||
|
$hosts_connector.each |$host|{
|
||||||
|
nagioscfg::service {"check_metadata_age_${host}":
|
||||||
|
host_name => ["${host}"],
|
||||||
|
check_command => "check_metadata_age!https://${host}/idp/metadata/sp/!432000!86400",
|
||||||
|
description => "check metadata age for ${host}",
|
||||||
|
contact_groups => ['alerts'],
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class redis_cluster_node {
|
class redis_cluster_node {
|
||||||
|
|
Loading…
Add table
Reference in a new issue