From 3206fc051780090ce66e16eb1e807db2ee4694c4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Le=20Ninivin?= Date: Tue, 17 Jun 2014 10:21:15 +0200 Subject: [PATCH] apache-frontend: Now monitor a re6St url (may be defined as a parameter) --- software/apache-frontend/instance-apache-frontend.cfg | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/software/apache-frontend/instance-apache-frontend.cfg b/software/apache-frontend/instance-apache-frontend.cfg index f3f8e9c..3eb4ce2 100644 --- a/software/apache-frontend/instance-apache-frontend.cfg +++ b/software/apache-frontend/instance-apache-frontend.cfg @@ -52,6 +52,7 @@ parts = monitor-backup-log-access monitor-ats-cache-stats-wrapper monitor-apache-configuration-verification + monitor-verify-re6st-connectivity extends = ${monitor-template:output} @@ -629,3 +630,13 @@ mode = 0700 command = echo "
$($${apache-configuration:frontend-configuration-verification})
" extra-context = key content :command + +[monitor-verify-re6st-connectivity] +recipe = slapos.cookbook:check_url_available +path = $${monitor-directory:monitor-custom-scripts}/re6st-connectivity +url = $${public:re6st-verification-url} +dash_path = ${dash:location}/bin/dash +curl_path = ${curl:location}/bin/curl + +[public] +re6st-verification-url = http://[2001:67c:1254:4::1]/index.html -- 2.1.4