opensciencegrid / xrootd-monitoring-shoveler

XRootD monitoring flow packet shoveler
Apache License 2.0
2 stars 7 forks source link

Allow shoveler to map based on XRDHOST env var #15

Open bbockelm opened 1 year ago

bbockelm commented 1 year ago

The XRDHOST env var is what OSG has settled on as the "override" inside an XCache container indicating what the xrootd instance's advertised hostname should be.

This allows an associated shoveler to utilize the same env var and advertise a specific hostname for received UDP packets.

This can be put in independently of https://github.com/opensciencegrid/xrootd-monitoring-collector/pull/31 but is meant to be paired up with that PR to get the end-to-end working.