# 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:** 12

<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:50pm UTC](https://community.icinga.com/t/service-to-other-host-service-dependency/6504/12 "2021-01-22T14:50:35Z")

</div>

I received notifications when host went back to up state, but it’s services were still critical.  
When no checks are running if the host is down, then in the time it’s back up, there is still time at least to one check on services (because they are in soft state) and they get ok.  
If the check are done during the host down state, when the host is back up, all services are already in hard state and notifications are sent immediately.

I found this solution here

> [@Service dependency, soft/hard states and timers](https://community.icinga.com/t/service-dependency-soft-hard-states-and-timers/2330/7):
>
> Hello, I think something like this could help : apply Dependency "disable-host-service-checks" to Service { disable\_checks = true ignore\_soft\_states = false assign where true } This would prevent checks from executing as soon as the 1st check fails and the host goes in soft state. Based on thoses : [https://icinga.com/docs/icinga2/latest/doc/03-monitoring-basics/#implicit-dependencies-for-services-on-host](https://icinga.com/docs/icinga2/latest/doc/03-monitoring-basics/#implicit-dependencies-for-services-on-host)[https://icinga.com/docs/icinga2/latest/doc/09-object-types/#dependency](https://icinga.com/docs/icinga2/latest/doc/09-object-types/#dependency)

It’s not the problem. In this situation the host _interconnect_ remains up, even the ping service is critical, because it’s still reachable - host reachability RTA values (C,W) 100.00 ms, 200.00 ms vs ping service 3.00 s, 5.00 s

---

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