monitor certs on public hosts
This commit is contained in:
parent
495c02c6e8
commit
6a3f239824
1 changed files with 9 additions and 6 deletions
|
@ -787,12 +787,15 @@ class nagios_monitor {
|
||||||
nagioscfg::command {'check_ssl_cert_3':
|
nagioscfg::command {'check_ssl_cert_3':
|
||||||
command_line => "/usr/lib/nagios/plugins/check_ssl_cert -A -H '\$HOSTADDRESS\$' -c '\$ARG2\$' -w '\$ARG1\$' -p '\$ARG3\$'"
|
command_line => "/usr/lib/nagios/plugins/check_ssl_cert -A -H '\$HOSTADDRESS\$' -c '\$ARG2\$' -w '\$ARG1\$' -p '\$ARG3\$'"
|
||||||
}
|
}
|
||||||
#nagioscfg::service {'check_ssl_cert':
|
$public_hosts = ['swedenconnect.se','md.swedenconnect.se','md.eidas.swedenconnect.se','qa.connector.eidas.swedenconnect.se',
|
||||||
# hostgroup_name => ['swamid_static_signer','swamid_pyff_signer','ds_legacy','swamid_sp_test','webfrontend','entropyserver','https_server'],
|
'qa.proxy.eidas.swedenconnect.se']
|
||||||
# check_command => 'check_ssl_cert_3!30!14!443',
|
nagioscfg::host {$public_hosts: }
|
||||||
# description => 'check https certificate validity on port 443',
|
nagioscfg::service {'check_public_ssl_cert':
|
||||||
# contact_groups => ['alerts']
|
host_list => $public_hosts,
|
||||||
#}
|
check_command => 'check_ssl_cert_3!30!14!443',
|
||||||
|
description => 'check https certificate validity on port 443',
|
||||||
|
contact_groups => ['alerts']
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class redis_cluster_node {
|
class redis_cluster_node {
|
||||||
|
|
Loading…
Add table
Reference in a new issue