Skip to content

Commit

Permalink
Merge pull request #932 from haoming29/fix-xrd-not-collecting-metric
Browse files Browse the repository at this point in the history
Fix xrootd not collecting metrics with `pelican` binary
  • Loading branch information
haoming29 authored Mar 11, 2024
2 parents 79dc0f0 + 5146827 commit df7bc9f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions xrootd/resources/xrootd-origin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit df7bc9f

Please sign in to comment.