From 5146827f3c6ea047dc3a8895dc8816845cff09f2 Mon Sep 17 00:00:00 2001 From: Haoming Meng Date: Mon, 11 Mar 2024 17:03:15 +0000 Subject: [PATCH] Fix xrd summary monitoring packet not collected --- xrootd/resources/xrootd-origin.cfg | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xrootd/resources/xrootd-origin.cfg b/xrootd/resources/xrootd-origin.cfg index 19c57390d..5858277ed 100644 --- a/xrootd/resources/xrootd-origin.cfg +++ b/xrootd/resources/xrootd-origin.cfg @@ -47,9 +47,7 @@ http.staticpreload http://static/robots.txt {{.Xrootd.RobotsTxtFile}} {{if .Xrootd.Sitename}} all.sitename {{.Xrootd.Sitename}} {{end}} -{{if .Xrootd.SummaryMonitoringHost}} -xrd.report {{.Xrootd.SummaryMonitoringHost}}:{{.Xrootd.SummaryMonitoringPort}},127.0.0.1:{{.Xrootd.LocalMonitoringPort}} every 30s -{{end}} +xrd.report {{if .Xrootd.SummaryMonitoringHost -}}{{.Xrootd.SummaryMonitoringHost}}:{{.Xrootd.SummaryMonitoringPort}},{{- end}}127.0.0.1:{{.Xrootd.LocalMonitoringPort}} every 30s xrootd.monitor all auth flush 30s window 5s fstat 60 lfn ops xfr 5 {{if .Xrootd.DetailedMonitoringHost -}} dest redir fstat info files user pfc tcpmon ccm {{.Xrootd.DetailedMonitoringHost}}:{{.Xrootd.DetailedMonitoringPort}} {{- end}} dest redir fstat info files user pfc tcpmon ccm 127.0.0.1:{{.Xrootd.LocalMonitoringPort}} all.adminpath {{.Origin.RunLocation}} all.pidpath {{.Origin.RunLocation}}