From 81e0f3986fa99adcbf83d52286fde054aaa9f853 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Wed, 20 May 2015 15:20:42 +0000 Subject: [PATCH] Add nagios internal monitoring for mm2 publiclist and fix mm2 static alias Signed-off-by: Patrick Uiterwijk --- roles/mirrormanager/frontend2/templates/mirrormanager.conf | 2 +- roles/nagios_server/files/nagios/services/websites.cfg | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/roles/mirrormanager/frontend2/templates/mirrormanager.conf b/roles/mirrormanager/frontend2/templates/mirrormanager.conf index ce6b0820d9..6f12c24091 100644 --- a/roles/mirrormanager/frontend2/templates/mirrormanager.conf +++ b/roles/mirrormanager/frontend2/templates/mirrormanager.conf @@ -1,6 +1,6 @@ # Apache configuration file for mirrormanager2 -Alias /mirrormanager2/static /usr/lib/python2.7/site-packages/mirrormanager2/static/fedora/ +Alias /mirrormanager/static /usr/lib/python2.7/site-packages/mirrormanager2/static/fedora/ WSGIDaemonProcess mirrormanager user=apache maximum-requests=1000 display-name=mirrormanager processes=2 threads=1 WSGISocketPrefix run/wsgi diff --git a/roles/nagios_server/files/nagios/services/websites.cfg b/roles/nagios_server/files/nagios/services/websites.cfg index 67f49e9152..1beda3329e 100644 --- a/roles/nagios_server/files/nagios/services/websites.cfg +++ b/roles/nagios_server/files/nagios/services/websites.cfg @@ -43,6 +43,13 @@ define service { event_handler restart_httpd } +define service { + host_name mm-frontend01,mm-frontend01.stg + service_description mm-publiclist-internal + check_command check_website!localhost!/mirrormanager/ + use internalwebsitetemplate +} + define service { host_name proxy01-wildcard, proxy02-wildcard, proxy03-fpo, proxy04-fpo, proxy06-fpo, proxy07-wildcard, proxy08-wildcard, proxy09-wildcard, proxy05-fpo, proxy10-fpo, proxy11-fpo service_description start.fedoraproject.org