Get computers by hostname - Possible Regex Solution?

Hi All,

Unfortunately I am dealing with a relevance query issue that’s having mixed results due to some hostname non-standardization inside of our data center.

Currently our relevance query is listed below:

(ids of it) of bes computers whose (name of it as string starts with “XXXX”)

This will normally return the NodeID which is used to delete the node during a decommissioning process. The issue we are dealing with is often the hostname isn’t standardized enough to find it based on the hostname that is being passed during our search.

For example:

HOSTNAME01 - Found
hostname01 - Not Found

Seeing as how Bigfix relevance query is case sensitive, is it possible to create a relevance query that will look for any combination of whether a host name is uppercase/lowercase/camelcase/etc?

I was interested to see if anyone is familiar with a method of doing this using regex?

Thanks

If the mixed-case is the only problem, the most common solution is to force the comparison to upper- or lower-case so that it is not sensitive to the case -

(ids of it) of bes computers whose (name of it as string as lowercase starts with “XXXX” as lowercase)

1 Like

That did it, thanks!