update nagios checks for http-accounts for ocp4 proxies only
Signed-off-by: Mark O Brien <markobri@redhat.com>
This commit is contained in:
parent
b57ec0f90a
commit
28db0aa10f
3 changed files with 18 additions and 5 deletions
|
@ -534,6 +534,12 @@ proxy40.fedoraproject.org
|
|||
proxy101.iad2.fedoraproject.org
|
||||
proxy110.iad2.fedoraproject.org
|
||||
|
||||
[proxies_ocp4]
|
||||
proxy01.iad2.fedoraproject.org
|
||||
proxy10.iad2.fedoraproject.org
|
||||
|
||||
|
||||
|
||||
[proxies:children]
|
||||
proxies_external
|
||||
proxies_internal
|
||||
|
|
|
@ -19,6 +19,13 @@ define hostgroup {
|
|||
|
||||
}
|
||||
|
||||
define hostgroup {
|
||||
hostgroup_name ocp_proxies
|
||||
alias OCP Web Servers
|
||||
members {% for host in groups["proxies_ocp4"]|sort %} {{ hostvars[host]["inventory_hostname_short"] }}.fedoraproject.org {% if not loop.last %}, {% endif %} {% endfor %}
|
||||
|
||||
}
|
||||
|
||||
define hostgroup {
|
||||
hostgroup_name unbound
|
||||
alias External DNS
|
||||
|
|
|
@ -60,7 +60,7 @@ define service {
|
|||
}
|
||||
|
||||
define service {
|
||||
hostgroup_name proxies
|
||||
hostgroup_name ocp_proxies
|
||||
service_description http-accounts
|
||||
check_command check_website_ssl!accounts.fedoraproject.org!/healthz/ready!OK
|
||||
use websitetemplate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue