Xymon Mailing List Archive search

Case sensitivity in host+svc names

2 messages in this thread

list Japheth Cleaver · Sun, 24 Sep 2023 13:09:19 -0700 ·
Curious if anyone out there has run into issues resulting from case
sensitivity in hostnames (either self-report from the clientlog, or in
hosts.cfg) or test names. Although I imagine this is fairly uncommon in
the Linux/BSD world, I've seen AIX and Solaris systems with mixed-case
hostnames, and I imagine users of BBWin can run into this a lot.

Have you had issues with graphs not displaying, or any mismatch from
filesystem assets (like static-generated status HTML pages or notes) that
become unavailable after a name change? Or analysis.cfg or custom
xymondboard queries failing?

Looking at the PCRE->PCRE2 transition, there are a few places where case
options are called out differently. If xymon were to canonically
store/convert to lowercase internally that would help keep things cleaner,
and also allow a lot of strcasecmp's in xtree lookups to become strcmp's.


Regards,
-jc
list Scot Kreienkamp · Mon, 25 Sep 2023 13:41:01 +0000 ·
I did run into that on Windows servers. I did on some Linux servers as well. It's been a several years since I last ran into this, but as I recall it had to match case for both Linux and Windows to match what's in the hosts files. I resolved it by adding an alias to the Xymon host files in the correct case. I would be in favor of keeping everything in lower or upper case internally so that's not a problem.

Thank you for starting up maintenance again JC, I wasn't sure what I was going to do if Xymon went away. I wish I had the skills to help.

Scot Kreienkamp | Applications Infrastructure Architect | La-Z-Boy Corporate
One La-Z-Boy Drive | Monroe, Michigan 48162 | ( (XXX) XXX-XXXX | | ) X-XXX-XXX-XXXX | * user-9678697f1438@xymon.invalid
www.la-z-boy.com | facebook.com/lazboy | twitter.com/lazboy | youtube.com/lazboy



quoted from Japheth Cleaver
-----Original Message-----
From: Xymon On Behalf Of J.C. Cleaver
Sent: Sunday, September 24, 2023 4:09 PM
To: xymon@xymon.com
Subject: [Xymon] Case sensitivity in host+svc names

Curious if anyone out there has run into issues resulting from case
sensitivity in hostnames (either self-report from the clientlog, or in
hosts.cfg) or test names. Although I imagine this is fairly uncommon in
the Linux/BSD world, I've seen AIX and Solaris systems with mixed-case
hostnames, and I imagine users of BBWin can run into this a lot.

Have you had issues with graphs not displaying, or any mismatch from
filesystem assets (like static-generated status HTML pages or notes) that
become unavailable after a name change? Or analysis.cfg or custom
xymondboard queries failing?

Looking at the PCRE->PCRE2 transition, there are a few places where case
options are called out differently. If xymon were to canonically
store/convert to lowercase internally that would help keep things cleaner,
and also allow a lot of strcasecmp's in xtree lookups to become strcmp's.

Regards,
-jc


Xymon@xymon.com

This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.