I've written a dashboard for our staff to use on large screens (Unfortunately none of the available ones fitted what we needed exactly), and I'm using the Icinga2 API to make the queries and display then using PHP.
The display I'm struggling with is this logic:
Services that are not OK, whose host is in a specific group, whose host is not down, whose host has not been acknowledged.
So the query I built looked like this:
Which looks correct for the conditions I'm after, but this seems to be returning services where the parent host is down but has been acknowledged, so the final filter I believe is the one failing me. Can anyone spot the bug in the query I'm trying to make please?