new redict checks

This commit is contained in:
Maria Haider 2025-04-22 16:55:00 +02:00
parent 5d397b9b1d
commit 6bb27b76d7
Signed by: mariah
GPG key ID: 6EF520A1829E8B1D

View file

@ -433,6 +433,27 @@ class eid::nagios_monitor {
description => 'check test countires in Production',
contact_groups => ['alerts'],
}
nagioscfg::command {'check_infra_cert_redict':
command_line => "/usr/lib/nagios/plugins/check_ssl_cert -H '\$HOSTNAME\$' -w '\$ARG1\$' -p '\$ARG2\$' --rootcert-file /etc/ssl/certs/infra.crt --ignore-sct"
}
nagioscfg::service {'check_redict_port_6379':
host_name => ['eid::connector'],
check_command => 'check_infra_cert_redict!24!6379',
description => 'Infra cert on port 6379',
contact_groups => ['alerts']
}
nagioscfg::service {'check_redict_port_6380':
host_name => ['eid::connector'],
check_command => 'check_infra_cert_redict!24!6380',
description => 'Infra cert on port 6380',
contact_groups => ['alerts']
}
nagioscfg::service {'check_redict_port_6381':
host_name => ['eid::connector'],
check_command => 'check_infra_cert_redict!24!6381',
description => 'Infra cert on port 6381',
contact_groups => ['alerts']
}
nagioscfg::command {'check_metadata_age':
command_line => "/usr/lib/nagios/plugins/check_eidas_metadata_age.sh '\$ARG1\$' '\$ARG2\$' '\$ARG3\$'"
}