Hello,
I’m struggling to create a view that lists all hosts which do not have a service named ^Service xyz.*. Is this possible? Thanks for any advice.
Checkmk Enterprise Edition 2.3.0p20
Hello,
I’m struggling to create a view that lists all hosts which do not have a service named ^Service xyz.*. Is this possible? Thanks for any advice.
Checkmk Enterprise Edition 2.3.0p20
You cannot search for things that are not there.
You can only search for all services that do not have this name with the negate checkbox.
Possible workaround could be, thinking out of the box:
vlookup or combination of index and match functions to see which host is present in the other, resulting with a leftover that isn’tHi Eric1,
if you mean windows services, you could create an enforced service “Windows Services” and set the criticaliy for “state if no entry matches” = ok or warning, depending on what you want to achieve.
Then you have the service Summary “service not found”, or if set to warning, the status, which you then can use as a filter.
The service name contains an ID which differs on each host. That’s why I cannot use enforced services as they don’t allow regex in service name.
In SQL it would be easy with a query like “where host not in (sub query)”. For a one time job I’ll go the way proposed by Yggy.
As a workaround, you could create a custom local check (see Local checks) that meets your requirements. Hopefully, this helps you out.