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 cf3acd33..7399d0a4 100644 --- a/global/overlay/etc/puppet/modules/eid/manifests/nagios_monitor.pp +++ b/global/overlay/etc/puppet/modules/eid/manifests/nagios_monitor.pp @@ -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\$'" }