# Host in Downtime, but Services are State: Unknown

**URL:** <https://community.icinga.com/t/host-in-downtime-but-services-are-state-unknown/1699>\
**Category:** Icinga 2\
**Tags:** icingaweb2\
**Created:** [July 16, 2019, 1:25pm UTC](https://community.icinga.com/t/host-in-downtime-but-services-are-state-unknown/1699 "2019-07-16T13:25:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![MoeJoe](https://community.icinga.com/user_avatar/community.icinga.com/moejoe/32/195_2.png) [@MoeJoe](https://community.icinga.com/u/MoeJoe)\
**Post date:** [July 16, 2019, 1:25pm UTC](https://community.icinga.com/t/host-in-downtime-but-services-are-state-unknown/1699/1 "2019-07-16T13:25:28Z")

</div>

If got a strange think…

ive got a Host (Windows VM Server, services inherited from ghe HostGroup) which is set to a Downtime.

so far so good…  
the host is in Downtime, and doesnt send any warning/alert mails…  
but on the Overview the Services from the Host are in State UNKNOWN.

does this must be as i wrote an i only got a thinking error or what ???

---

<div class="post-metadata">

**Author:** ![dnsmichi](https://community.icinga.com/user_avatar/community.icinga.com/dnsmichi/32/7721_2.png) [@dnsmichi](https://community.icinga.com/u/dnsmichi)\
**Post date:** [July 16, 2019, 2:03pm UTC](https://community.icinga.com/t/host-in-downtime-but-services-are-state-unknown/1699/2 "2019-07-16T14:03:48Z")

</div>

Hi,

did you put the services into a downtime as well?

Cheers,  
Michael

---

<div class="post-metadata">

**Author:** ![blakehartshorn](https://community.icinga.com/user_avatar/community.icinga.com/blakehartshorn/32/599_2.png) [@blakehartshorn](https://community.icinga.com/u/blakehartshorn)\
**Post date:** [July 16, 2019, 2:24pm UTC](https://community.icinga.com/t/host-in-downtime-but-services-are-state-unknown/1699/3 "2019-07-16T14:24:08Z")

</div>

What Michael said, but also here’s a visual aid:

![image](https://community.icinga.com/uploads/default/original/1X/f17635ae52784634be84ba6ff25350e3d3a604d7.png)

---

<div class="post-metadata">

**Author:** ![MoeJoe](https://community.icinga.com/user_avatar/community.icinga.com/moejoe/32/195_2.png) [@MoeJoe](https://community.icinga.com/u/MoeJoe)\
**Post date:** [July 17, 2019, 6:20am UTC](https://community.icinga.com/t/host-in-downtime-but-services-are-state-unknown/1699/4 "2019-07-17T06:20:12Z")

</div>

yes, the host ist set to downtime with the Flag “All Services” checked.

on the Service there is still the Pointer for Downtime, but all Checks from the Host are in State UNKNOWN, u still can see that the checks are running all 5 minutes…

 ![icinga_error](https://community.icinga.com/uploads/default/original/1X/4c0afae1264b05cd04da2960f3363bf102ada10e.jpeg)

---

<div class="post-metadata">

**Author:** ![log1c](https://community.icinga.com/user_avatar/community.icinga.com/log1c/32/2071_2.png) [@log1c](https://community.icinga.com/u/log1c)\
**Post date:** [July 17, 2019, 6:36am UTC](https://community.icinga.com/t/host-in-downtime-but-services-are-state-unknown/1699/5 "2019-07-17T06:36:57Z")

</div>

Looks correct to me.  
The host is DOWN, therefore the service check is in an UNKNOWN state, as it probably times out.

A downtime just disables the notifications for the configured time period for the host (or service).  
It does not disable the checks completely.

---

<div class="post-metadata">

**Author:** ![MoeJoe](https://community.icinga.com/user_avatar/community.icinga.com/moejoe/32/195_2.png) [@MoeJoe](https://community.icinga.com/u/MoeJoe)\
**Post date:** [July 17, 2019, 9:50am UTC](https://community.icinga.com/t/host-in-downtime-but-services-are-state-unknown/1699/6 "2019-07-17T09:50:23Z")

</div>

ok, so this is not a BUG…

its implemented by design…

---

<div class="post-metadata">

**Author:** ![blakehartshorn](https://community.icinga.com/user_avatar/community.icinga.com/blakehartshorn/32/599_2.png) [@blakehartshorn](https://community.icinga.com/u/blakehartshorn)\
**Post date:** [July 17, 2019, 10:23am UTC](https://community.icinga.com/t/host-in-downtime-but-services-are-state-unknown/1699/7 "2019-07-17T10:23:50Z")

</div>

Yeah, basically it works like this,

Downtimes are for quieting down alerts and deprioritizing them on the dashboard. They don’t actually stop checks from running. This way if you’re doing work on a host, you can still look at it to verify services are coming back up, but it’s not getting in the way of alerts that are relevant.

If checks themselves are causing some kind of problem, you can group select and uncheck the “Active Checks” box.

---

<div class="post-metadata">

**Author:** ![rsx](https://community.icinga.com/user_avatar/community.icinga.com/rsx/32/2094_2.png) [@rsx](https://community.icinga.com/u/rsx)\
**Post date:** [July 17, 2019, 12:52pm UTC](https://community.icinga.com/t/host-in-downtime-but-services-are-state-unknown/1699/8 "2019-07-17T12:52:52Z")

</div>

If you prefer to disable running checks while a host is down, you could create a dependency as documented [here](https://icinga.com/docs/icinga2/latest/doc/03-monitoring-basics/#implicit-dependencies-for-services-on-host).
