# Service to other host service dependency

**URL:** <https://community.icinga.com/t/service-to-other-host-service-dependency/6504>\
**Category:** Icinga 2\
**Tags:** dependencies, notifications\
**Created:** [January 18, 2021, 5:56pm UTC](https://community.icinga.com/t/service-to-other-host-service-dependency/6504 "2021-01-18T17:56:57Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![staypekos](https://community.icinga.com/user_avatar/community.icinga.com/staypekos/32/3773_2.png) [@staypekos](https://community.icinga.com/u/staypekos)\
**Post date:** [January 22, 2021, 2:22pm UTC](https://community.icinga.com/t/service-to-other-host-service-dependency/6504/10 "2021-01-22T14:22:34Z")

</div>

Ok, I probably found the problem. When I omit _disable-host-service-checks_ dependency, everything works good. I think it’s because the _ping4-interconnect_ dependency fails correctly, but after that _disable-host-service-checks_ dependency check _testing_ host, which is OK and the dependency passes, so notification is sent.

```
[2021-01-22 14:54:51 +0100] notice/Dependency: Dependency 'testing.tacr.local!interconnect' passed: Parent host 'interconnect' matches state filter.
[2021-01-22 14:54:51 +0100] notice/Dependency: Dependency 'interconnect!ping4!disable-host-service-checks' failed: Parent host 'interconnect' is in a soft state.
[2021-01-22 14:54:51 +0100] notice/Dependency: Dependency 'interconnect!ping4!disable-host-service-checks' passed: Parent host 'interconnect' matches state filter.
-> [2021-01-22 14:54:51 +0100] notice/Dependency: Dependency 'testing.tacr.local!ping4!ping4-interconnect' failed. Parent service 'interconnect!ping4' is CRITICAL
-> [2021-01-22 14:54:51 +0100] notice/Dependency: Dependency 'testing.tacr.local!ping4!disable-host-service-checks' failed: Parent host 'testing.tacr.local' is in a soft state.
-> [2021-01-22 14:54:51 +0100] notice/Dependency: Dependency 'testing.tacr.local!ping4!disable-host-service-checks' passed: Parent host 'testing.tacr.local' matches state filter.
[2021-01-22 14:54:51 +0100] notice/Dependency: Dependency 'testing.tacr.local!interconnect' passed: Parent host 'interconnect' matches state filter.

```

But I’m afraid, I cannot find solution with both dependencies

---

_[View the full topic](https://community.icinga.com/t/service-to-other-host-service-dependency/6504)._
