Try new name on check, SC-2522

This commit is contained in:
Patrik Holmqvist 2025-02-06 13:54:40 +01:00
parent aad5393fe4
commit 1d5359e299
Signed by: pahol
GPG key ID: 5D5B0D4E93F77273
2 changed files with 2 additions and 2 deletions

View file

@ -224,7 +224,7 @@ class eid::nagios_monitor {
description => 'proxy eidas metadata cache age', description => 'proxy eidas metadata cache age',
contact_groups => ['alerts'] contact_groups => ['alerts']
} }
nagioscfg::service {'proxy_eidas_metadata_cache': nagioscfg::service {'proxy_eidas_metadata_cache_age':
hostgroup_name => ['eid::proxy'], hostgroup_name => ['eid::proxy'],
check_command => 'check_nrpe_1arg!check_fileage_proxy_eidas_metadata_cache', check_command => 'check_nrpe_1arg!check_fileage_proxy_eidas_metadata_cache',
description => 'proxy eidas metadata cache age', description => 'proxy eidas metadata cache age',

View file

@ -72,7 +72,7 @@ class eid::proxy (
group => 'root', group => 'root',
} }
sunet::nagios::nrpe_check_fileage {'proxy_eidas_metadata_cache': sunet::nagios::nrpe_check_fileage {'proxy_eidas_metadata_cache_age':
filename => "${proxy_directory}/se/ps-mdcache/metadata-cache.xml", filename => "${proxy_directory}/se/ps-mdcache/metadata-cache.xml",
warning_age => '600', warning_age => '600',
critical_age => '172800' critical_age => '172800'