modified nagios check

This commit is contained in:
Maria Haider 2020-06-02 15:38:51 +02:00
parent 9be74fbf46
commit 9dd65e89d9
Signed by: mariah
GPG key ID: 7414A760CA747E57

View file

@ -925,7 +925,7 @@ class nagios_monitor {
$web_admin_pw = safe_hiera('nagios_nagiosadmin_password');
$web_admin_user = 'nagiosadmin';
package { 'libxml2-utils': ensure => installed}
package { 'xsltproc': ensure => installed}
class { 'webserver': }
class { 'nagioscfg':
@ -1130,13 +1130,13 @@ class nagios_monitor {
}
nagioscfg::service {'check_country_eIDAS_QA':
host_name => ['qa.md.eidas.swedenconnect.se'],
check_command => 'check_country_count!qa.md.eidas.swedenconnect.se!23!2!3',
check_command => 'check_country_count!qa.md.eidas.swedenconnect.se!UK LU IT ES HR DE EE BE IS XB CY PL SK XC LT NO DK CZ SE GR XA MT SI!1!3',
description => 'check number of countries in eIDAS QA',
contact_groups => ['alerts'],
}
nagioscfg::service {'check_country_eIDAS':
host_name => ['md.eidas.swedenconnect.se'],
check_command => 'check_country_count!md.eidas.swedenconnect.se!8!1!2',
check_command => 'check_country_count!md.eidas.swedenconnect.se!UK LU IT ES HR DE EE BE!1!3',
description => 'check number of countries in eIDAS',
contact_groups => ['alerts'],
}