# Command Templates import in Service Templates

**URL:** <https://community.icinga.com/t/command-templates-import-in-service-templates/1062>\
**Category:** Icinga Director\
**Created:** [April 30, 2019, 10:55am UTC](https://community.icinga.com/t/command-templates-import-in-service-templates/1062 "2019-04-30T10:55:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xxandyxx](https://community.icinga.com/letter_avatar_proxy/v4/letter/x/a88e4f/32.png) [@xxandyxx](https://community.icinga.com/u/xxandyxx)\
**Post date:** [April 30, 2019, 10:55am UTC](https://community.icinga.com/t/command-templates-import-in-service-templates/1062/1 "2019-04-30T10:55:13Z")

</div>

Hello everybody,

How can I import / paste command templates created by the director under commands based on external commands, these in service templates. Thank you for your help

As an an example:

External commands check\_load  
Command Template check\_load - unused

If I want to create a service template under Services, how can I access the command template check\_load?

If I want to create a new service template, he always accesses the Nagios plugins (external commands) and not on my created command templates

Icinga Version 2.10.4  
Director Version Master

---

<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:** [April 30, 2019, 11:58am UTC](https://community.icinga.com/t/command-templates-import-in-service-templates/1062/2 "2019-04-30T11:58:30Z")

</div>

Hi,

the external command is a full object which is used, the command template is what it says - a template, not an object. Therefore you cannot reference it inside the service template/object via the `check_command` attribute.

Cheers,  
Michael

---

<div class="post-metadata">

**Author:** ![xxandyxx](https://community.icinga.com/letter_avatar_proxy/v4/letter/x/a88e4f/32.png) [@xxandyxx](https://community.icinga.com/u/xxandyxx)\
**Post date:** [May 1, 2019, 8:40pm UTC](https://community.icinga.com/t/command-templates-import-in-service-templates/1062/3 "2019-05-01T20:40:26Z")

</div>

Thanks for your Tipp
