# Cannot reschedule forced host check for non-existent host

**URL:** <https://community.icinga.com/t/cannot-reschedule-forced-host-check-for-non-existent-host/2581>\
**Category:** Icinga 2\
**Created:** [October 24, 2019, 10:41am UTC](https://community.icinga.com/t/cannot-reschedule-forced-host-check-for-non-existent-host/2581 "2019-10-24T10:41:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sanjeeth](https://community.icinga.com/letter_avatar_proxy/v4/letter/s/eb9ed0/32.png) [@Sanjeeth](https://community.icinga.com/u/Sanjeeth)\
**Post date:** [October 24, 2019, 10:41am UTC](https://community.icinga.com/t/cannot-reschedule-forced-host-check-for-non-existent-host/2581/1 "2019-10-24T10:41:58Z")

</div>

Hello Team,

I have a working icinga monitoring system running on RHEL 7. While executing “check now” from icingaweb, I get the below error irrespective if the host is up or down.

information/ExternalCommandListener: Executing external command: [1571913346] SCHEDULE\_FORCED\_HOST\_CHECK;  
warning/ExternalCommandListener: External command failed: Error: Cannot reschedule forced host check for non-existent host

Could someone help me understand/troubleshoot this?

Regards,  
Sanjeeth

---

<div class="post-metadata">

**Author:** ![twidhalm](https://community.icinga.com/user_avatar/community.icinga.com/twidhalm/32/18_2.png) [@twidhalm](https://community.icinga.com/u/twidhalm)\
**Post date:** [October 24, 2019, 11:32am UTC](https://community.icinga.com/t/cannot-reschedule-forced-host-check-for-non-existent-host/2581/2 "2019-10-24T11:32:06Z")

</div>

Hi. It looks like the host is not existent anymore.

Could you double check with `icinga2 object list --type host --name [hostname]` on the commandline if Icinga still knows about that host?

And could you tell us the version of your Icinga 2 and Icinga Web 2 instances?

---

<div class="post-metadata">

**Author:** ![Sanjeeth](https://community.icinga.com/letter_avatar_proxy/v4/letter/s/eb9ed0/32.png) [@Sanjeeth](https://community.icinga.com/u/Sanjeeth)\
**Post date:** [October 24, 2019, 11:40am UTC](https://community.icinga.com/t/cannot-reschedule-forced-host-check-for-non-existent-host/2581/3 "2019-10-24T11:40:53Z")

</div>

Hello. Thank you for getting back.

My setup is as follows:

Active Endpoint: host2  
Active Icinga Web 2 Endpoint: host1

icinga2 object list --type host --name [hostname] - This command displays the details on host 2 not on host1. I am assuming I have missed out on the configuration. Could you please let me know?

The version is as below.

Icinga2 version: 2.11.0-1  
Icinga web version: 2.7.1

Regards,  
Sanjeeth

---

<div class="post-metadata">

**Author:** ![twidhalm](https://community.icinga.com/user_avatar/community.icinga.com/twidhalm/32/18_2.png) [@twidhalm](https://community.icinga.com/u/twidhalm)\
**Post date:** [October 24, 2019, 12:40pm UTC](https://community.icinga.com/t/cannot-reschedule-forced-host-check-for-non-existent-host/2581/4 "2019-10-24T12:40:09Z")

</div>

Did you replace `[hostname]` with the actual name of the host object you want to manage?

If you want to change something via API, your master needs to know about the host. So if you run `icinga2 object list...` on the master you should see the host object you want to reschedule the check for.

---

<div class="post-metadata">

**Author:** ![Sanjeeth](https://community.icinga.com/letter_avatar_proxy/v4/letter/s/eb9ed0/32.png) [@Sanjeeth](https://community.icinga.com/u/Sanjeeth)\
**Post date:** [October 28, 2019, 8:34am UTC](https://community.icinga.com/t/cannot-reschedule-forced-host-check-for-non-existent-host/2581/5 "2019-10-28T08:34:39Z")

</div>

I managed to setup the icinga master again by running the icinga2 node wizard command. Post this command “icinga2 object list --type host --name [hostname]” executes successfully without any error. Thank you for the help Thomas.

Regards,  
Sanjeeth

---

<div class="post-metadata">

**Author:** ![twidhalm](https://community.icinga.com/user_avatar/community.icinga.com/twidhalm/32/18_2.png) [@twidhalm](https://community.icinga.com/u/twidhalm)\
**Post date:** [November 12, 2019, 9:48am UTC](https://community.icinga.com/t/cannot-reschedule-forced-host-check-for-non-existent-host/2581/6 "2019-11-12T09:48:15Z")

</div>

Thanks for the reply. Could you please click the “solution” checkbox in the reply which helped you solve the problem? This way others see the solution and the thread is marked as solved so others won’t read the whole thread only to find that it was already solved.
