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

Host name in cli is case sensitive #100

Open
hecko opened this issue Feb 16, 2022 · 2 comments
Open

Host name in cli is case sensitive #100

hecko opened this issue Feb 16, 2022 · 2 comments
Labels

Comments

@hecko
Copy link
Contributor

hecko commented Feb 16, 2022

Im not sure where to report this - whether to centreon plugins or here, but believe this is a better place.

This:

/usr/lib/centreon/plugins/centreon_vmware_connector_client.pl ...... --esx-hostname='LALA.ad.net'

Is not the same as this:

/usr/lib/centreon/plugins/centreon_vmware_connector_client.pl ...... --esx-hostname='lala.ad.net'

I believe hostnames should always be treated without case sensitiviness.

Sincerely,
Marcel

@garnier-quentin
Copy link
Contributor

You have an option in vmware connector configuration.

@hecko
Copy link
Contributor Author

hecko commented Feb 16, 2022

   --case-insensitive
            Searchs are case insensitive.

Thanks, just wondering whether this should not be rather enabled by default as per RFC-952
https://datatracker.ietf.org/doc/html/rfc952

No distinction is made between upper and lower case.

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

No branches or pull requests

2 participants