From aad5393fe40d17ab562b8abf0a062d04ba262c99 Mon Sep 17 00:00:00 2001 From: Patrik Holmqvist Date: Thu, 6 Feb 2025 13:49:55 +0100 Subject: [PATCH] Add metadata cache check for new proxy class, SC-2522 --- .../etc/puppet/modules/eid/manifests/nagios_monitor.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/global/overlay/etc/puppet/modules/eid/manifests/nagios_monitor.pp b/global/overlay/etc/puppet/modules/eid/manifests/nagios_monitor.pp index d464c420..4bd5c9ce 100644 --- a/global/overlay/etc/puppet/modules/eid/manifests/nagios_monitor.pp +++ b/global/overlay/etc/puppet/modules/eid/manifests/nagios_monitor.pp @@ -224,6 +224,12 @@ class eid::nagios_monitor { description => 'proxy eidas metadata cache age', contact_groups => ['alerts'] } + nagioscfg::service {'proxy_eidas_metadata_cache': + hostgroup_name => ['eid::proxy'], + check_command => 'check_nrpe_1arg!check_fileage_proxy_eidas_metadata_cache', + description => 'proxy eidas metadata cache age', + contact_groups => ['alerts'] + } nagioscfg::service {'check_eidas_health': hostgroup_name => ['servicemonitor'], check_command => 'check_nrpe_1arg!check_eidas_health',