Joal has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/280921

Change subject: Update scap deployment configuration for aqs
......................................................................

Update scap deployment configuration for aqs

Add lock file to prevent concurrent scap deploys
Add checks.yaml file making use of the same checks used in icinga (monitored 
endpoint)

Change-Id: I214a440119b5454b9595228b6441da4cf28efb1d
---
A scap/checks.yaml
M scap/scap.cfg
2 files changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/analytics/aqs/deploy 
refs/changes/21/280921/1

diff --git a/scap/checks.yaml b/scap/checks.yaml
new file mode 100644
index 0000000..96e8b20
--- /dev/null
+++ b/scap/checks.yaml
@@ -0,0 +1,5 @@
+checks:
+  endpoints:
+    type: nrpe
+    stage: promote
+    command: check_endpoints_aqs
\ No newline at end of file
diff --git a/scap/scap.cfg b/scap/scap.cfg
index b89ff6f..7b1c8e3 100644
--- a/scap/scap.cfg
+++ b/scap/scap.cfg
@@ -22,6 +22,9 @@
 service_name: aqs
 service_port: 7232
 
+# Lock file to prevent multiple concurrent deploys
+lock_file: /tmp/scap.aqs.lock
+
 [wmflabs]
 git_server: deployment-bastion.deployment-prep.eqiad.wmflabs
 

-- 
To view, visit https://gerrit.wikimedia.org/r/280921
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I214a440119b5454b9595228b6441da4cf28efb1d
Gerrit-PatchSet: 1
Gerrit-Project: analytics/aqs/deploy
Gerrit-Branch: master
Gerrit-Owner: Joal <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to