I have defined a Host Object “Internet Connectivity”, a Host Object “Test” has it as a parent, however when Internet Connectivity is down, “Test” does not change to state “unreachable”.
The object notation is totally valid, the apply rule generates the child_* attributes automatically from matched objects.
The ‘unreachable’ state is a compat layer from 1.x only available in DB IDO, this doesn’t exist in Icinga 2 where only the reachable runtime attribute exists.
From the IDO code, something I’d like to purge.
if (currentState != HostUp && !host->IsReachable())
currentState = 2; /* hardcoded compat state */
To update this in the database, a new host state event is needed, and highly likely this did not happen yet.