Command Templates import in Service Templates

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

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

1 Like

Thanks for your Tipp