Case sensitivity in host+svc names
list Japheth Cleaver
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
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
▸
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
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.