Hi,
I query the rest-api for all services with service.state != ServiceOK (/v1/objects/services), but downtime_depth is only set for services which are explicitly in downtime, if I have a host in icinga which is in downtime and ‘all services’ is checked for that downtime, the host is in downtime but the downtime_depth on all services for that host is still 0?
Im looking for an easy way to get all not-ok-services that are not acknowledged or in downtime and some other criteria which I already covered, but I keep getting those services which are in downtime by inheritance from the host as not-in-downtime.
Thanks for your time, cheers
felix
information
- Version used (2.13.1-1)
- Operating System (centos7)
- Enabled features (api checker command graphite ido-mysql mainlog notification syslog)
- Icinga Web 2 version and modules (2.9.3)