# Director Deployment Problems

**URL:** <https://community.icinga.com/t/director-deployment-problems/7999>\
**Category:** Icinga Director\
**Tags:** icingaweb2, deployment, icinga2\
**Created:** [August 16, 2021, 10:43am UTC](https://community.icinga.com/t/director-deployment-problems/7999 "2021-08-16T10:43:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alain.koos](https://community.icinga.com/letter_avatar_proxy/v4/letter/a/d6d6ee/32.png) [@alain.koos](https://community.icinga.com/u/alain.koos)\
**Post date:** [August 16, 2021, 10:43am UTC](https://community.icinga.com/t/director-deployment-problems/7999/1 "2021-08-16T10:43:31Z")

</div>

Hello dear icinga community,

I’m currently discovering a problem with the icinga deployment.  
I provided a service & command but the deployment always fails. It doesn’t matter if i try to deploy a different machine or localhost. When i run "icingacli director config deploy --force --debug --benchmark  
" there are no errors shown. But in the web gui I always get “Error: Validation failed for object 'win10 ’ of type ‘Host’; Attribute ‘check\_command’: Attribute must not be empty”

All kinds of relevant logs and version info’s can be found in the attachments.  
Thank you in advance for your assistance 🙂

 ![apt-cache showpkg icinga2](https://community.icinga.com/uploads/default/original/2X/4/4e0fc3abf86ab7d0e3c4d54dd87764baad10d199.png)  
 ![Daemon](https://community.icinga.com/uploads/default/original/2X/9/9ad6ff69f9996a5ff1851caa1e19391fb186a3d6.png)  
 ![Debian Version](https://community.icinga.com/uploads/default/original/2X/a/a66f9f012ca00f22ea35ecd362dce3df4867a1b1.png)  
[Deployment Log local.txt](https://community.icinga.com/uploads/short-url/ZPJawcrEXG2JtaN1Q6aJjvehuK.txt) (12.6 KB)  
[Deployment Log.txt](https://community.icinga.com/uploads/short-url/grmg3XE9ijt16HVxDNmxmiL2VIJ.txt) (1.9 KB)  
 ![features](https://community.icinga.com/uploads/default/original/2X/9/9a82984d3115548061b933e78e9d4df1c0f05365.png)  
[icinga2.conf.txt](https://community.icinga.com/uploads/short-url/zdIGjLw2GVy8lnrl0WbyQUjRad4.txt) (2.9 KB)  
 ![Version](https://community.icinga.com/uploads/default/original/2X/9/9aedbafc2bc9a9b8345706e16b68f44c2d9b1dee.png)  
 ![Web Version](https://community.icinga.com/uploads/default/original/2X/8/8a090150c793d6afb8a597692df9c5e84157f9c1.png)

---

<div class="post-metadata">

**Author:** ![dokon](https://community.icinga.com/user_avatar/community.icinga.com/dokon/32/26_2.png) [@dokon](https://community.icinga.com/u/dokon)\
**Post date:** [August 16, 2021, 11:58am UTC](https://community.icinga.com/t/director-deployment-problems/7999/2 "2021-08-16T11:58:58Z")

</div>

Hi !

Well i think the error Message is relatively straight with your configuration error.

Validation failed for object 'win10 ’ of type ‘Host’; Attribute ‘check\_command’: Attribute must not be empty”

There must be a check\_command set on your win10 Host/Template definition.

Just as an example a Windows Template Host definition.

In your case i would use hostalive or ping4 instead of random.

Regards

David

 ![Screenshot 2021-08-16 at 13.57.06](https://community.icinga.com/uploads/default/original/2X/5/5a639a40b4ddbcdb295f417836b2a964e74d1c11.png)

fixed typo

Addenum  
check\_random is a bad example if you don’t need a check then you should at least use check\_dummy otherwise you will run into this error that no check\_command is set.  
Like “steaksauce” suggested correctly.

---

<div class="post-metadata">

**Author:** ![steaksauce](https://community.icinga.com/user_avatar/community.icinga.com/steaksauce/32/1831_2.png) [@steaksauce](https://community.icinga.com/u/steaksauce)\
**Post date:** [August 16, 2021, 3:23pm UTC](https://community.icinga.com/t/director-deployment-problems/7999/3 "2021-08-16T15:23:50Z")

</div>

If you inherited or are setting up a weird environment like mine, where there are no host checks (instead, we assign “ping” as a service for whatever reason 🙄 ), then you could add the `check_dummy` check with a status code of `0`

But you probably do want a check there, and you probably don’t have `random` defined as a check command. (Apologies if you do, then it could be something else)

---

<div class="post-metadata">

**Author:** ![alain.koos](https://community.icinga.com/letter_avatar_proxy/v4/letter/a/d6d6ee/32.png) [@alain.koos](https://community.icinga.com/u/alain.koos)\
**Post date:** [August 17, 2021, 12:16pm UTC](https://community.icinga.com/t/director-deployment-problems/7999/4 "2021-08-17T12:16:32Z")

</div>

Thank you for your hint. I recreated the host-template, reassigned the check command & now it’s working.

Have a great day!
