centreon / centreon-vmware

Centreon VMWare connector to check ESX server, VCenter and VMWare guest resources
Apache License 2.0
28 stars 16 forks source link

Host name in cli is case sensitive #100

Open hecko opened 2 years ago

hecko commented 2 years ago

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 commented 2 years ago

You have an option in vmware connector configuration.

hecko commented 2 years ago
   --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.