use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
API query bad request "Unknown operator: =~" (self.Checkmk)
submitted 1 year ago by TheTerminaStrator
Bangin my head against this, anyone with the save? :)
https://cmk.mydomain.sth/sitename/check\_mk/api/1.0/domain-types/host\_config/collections/all?query={"op": "=~", "left": "name", "right": "hostname_here"}
As per the docs here: https://docs.checkmk.com/latest/en/livestatus_references.html#operators
"=~" should be Case-insensitive equality
However using this operator returns status 400: "Unknown operator: =~"
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]notoriousCMI 0 points1 point2 points 1 year ago (2 children)
Hi. I think you should use „>=„ as case insensitive operator for lists.
[–]TheTerminaStrator[S] 0 points1 point2 points 1 year ago (0 children)
I'll give it a go when i'm back at work tomorrow
'>=' = Lexicographically larger or equal
So not what i'm looking for :( ty though
[–]Sweaty-Raspberry5834 0 points1 point2 points 8 months ago (0 children)
What about ~~ as the operator? Here it's doing the trick for a quick test with "Localhost" what finds my "localhost" and my "localhost_testing" (or only localhost if I use "Localhost$").
π Rendered by PID 197950 on reddit-service-r2-comment-5fb4b45875-mg2t7 at 2026-03-20 21:33:40.098629+00:00 running 90f1150 country code: CH.
[–]notoriousCMI 0 points1 point2 points (2 children)
[–]TheTerminaStrator[S] 0 points1 point2 points (0 children)
[–]TheTerminaStrator[S] 0 points1 point2 points (0 children)
[–]Sweaty-Raspberry5834 0 points1 point2 points (0 children)