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

Handling of servernames #32

Description

@osschar

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions