Prior to our last upgrade from 2.4.0psomething to 2.5.0p2, I could call ‘/objects/host_config/${CMKHOST}?effective_attributes=true’ using an incomplete hostname, and get all the matching hosts returned (e.g. ‘web’ would return ‘web0, web1…’) but now this only requires an exact match in the name.
The /domain-types/host/collections/all endpoint allows me to specify a query using a regular expression - but that only returns monitored hosts and I need to see ones which are set to “do not monitor” as well.
Is there an endpoint I can query using a regex or prefix which will return hosts regardless of criticality?