From 8b3f02c228b2e84632d1b4508011c694ecb9fca2 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Mon, 21 May 2018 02:29:47 +0000 Subject: [PATCH] Use a way less heavy endpoint to determine frontend up-ness Signed-off-by: Patrick Uiterwijk --- roles/haproxy/templates/haproxy.cfg | 2 +- roles/nagios_server/templates/nagios/services/websites.cfg.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 4d2cc29fb6..d32ba34ed5 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -566,7 +566,7 @@ backend mbs-backend balance hdr(appserver) server mbs-frontend01 mbs-frontend01:80 check inter 20s rise 2 fall 3 server mbs-frontend02 mbs-frontend02:80 check inter 20s rise 2 fall 3 - option httpchk GET /module-build-service/1/module-builds/ + option httpchk GET /module-build-service/1/component-builds/ frontend os-master-frontend bind 0.0.0.0:10064 diff --git a/roles/nagios_server/templates/nagios/services/websites.cfg.j2 b/roles/nagios_server/templates/nagios/services/websites.cfg.j2 index da59eb26fb..0a434afadb 100644 --- a/roles/nagios_server/templates/nagios/services/websites.cfg.j2 +++ b/roles/nagios_server/templates/nagios/services/websites.cfg.j2 @@ -84,7 +84,7 @@ define service { define service { hostgroup_name proxies service_description http-mbs - check_command check_website_ssl!mbs.fedoraproject.org!/module-build-service/1/module-builds/!items + check_command check_website_ssl!mbs.fedoraproject.org!/module-build-service/1/component-builds/!items max_check_attempts 8 use websitetemplate }