Commit 8c3f1181 authored by MUSSET Paul's avatar MUSSET Paul
Browse files

[ansible] add monitoring container and new server certificate

parent b48d9bb9
Pipeline #139862 passed with stage
in 1 minute and 59 seconds
......@@ -3,6 +3,8 @@ version: '3.8'
services:
xcache:
image: gitlab-registry.in2p3.fr/cc-escape/xcache-config/xcache:xrootd5
#environment:
# XRDCLHTTP_AVOIDRANAGE: 1
ports:
- "1094:1094"
{% if auth is defined and auth %}
......@@ -57,6 +59,17 @@ services:
restart: unless-stopped
{% endif %}
{% if monitoring is defined and monitoring %}
monitor:
image: gitlab-registry.in2p3.fr/cc-escape/xcache-config/xcache:xrootd5
command : [ "mpxstats", "-f", "xml", "-p", "1333" ]
restart: unless-stopped
logging:
driver: "journald"
options:
tag: "xcache_monitoring"
{% endif %}
{% if test_machine is defined and test_machine %}
flusher:
image: gitlab-registry.in2p3.fr/bastien.gounon/xcache-flusher:latest
......
......@@ -56,3 +56,10 @@ ofs.authorize 1
acc.authdb /etc/xrootd/Authfile
ofs.authlib ++ libXrdAccSciTokens.so config=/etc/xrootd/scitokens.cfg
{% endif %}
{% if monitoring is defined and auth %}
# monitoring
xrd.report monitor:1333 every 60s all
{% endif %}
# async test
# xrootd.async off
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment