Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Handling of servernames #32

Open
osschar opened this issue Feb 13, 2017 · 0 comments
Open

Handling of servernames #32

osschar opened this issue Feb 13, 2017 · 0 comments

Comments

@osschar
Copy link

osschar commented Feb 13, 2017

Collector picks up a short hostname if a host is configured so as to not include the domainname in hostname:
https://github.com/ivukotic/plugins/blob/master/monitor/src/main/java/edu/uchicago/monitor/Collector.java#L91

It was pointed to me that using getCanonicalHostName() in the above line would always return the FQDN.

We worked around the issue by setting this in the config file:
xrootd.monitor.servername=${host.fqdn}

I'm not sure if you consider this an issue ... CMS collector depends on names being FQDNs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant