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':
|
||||
command_line => "/usr/lib/nagios/plugins/check_ssl_cert -A -H '\$HOSTADDRESS\$' -c '\$ARG2\$' -w '\$ARG1\$' -p '\$ARG3\$'"
|
||||
}
|
||||
#nagioscfg::service {'check_ssl_cert':
|
||||
# hostgroup_name => ['swamid_static_signer','swamid_pyff_signer','ds_legacy','swamid_sp_test','webfrontend','entropyserver','https_server'],
|
||||
# check_command => 'check_ssl_cert_3!30!14!443',
|
||||
# description => 'check https certificate validity on port 443',
|
||||
# contact_groups => ['alerts']
|
||||
#}
|
||||
$public_hosts = ['swedenconnect.se','md.swedenconnect.se','md.eidas.swedenconnect.se','qa.connector.eidas.swedenconnect.se',
|
||||
'qa.proxy.eidas.swedenconnect.se']
|
||||
nagioscfg::host {$public_hosts: }
|
||||
nagioscfg::service {'check_public_ssl_cert':
|
||||
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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue