Announcement

Collapse
No announcement yet.

linking service templates to host templates using API

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • linking service templates to host templates using API

    Hi,
    I'm trying to create automatization to deploy all commands, service templates and host templates.
    I did it for commands and service templates, but get an issue when creating host template.

    I create host template by using following command in a script:
    HTPL;ADD;Cisco_CPU_Statistics;SNMP_cisco_cpu_stati stics;;;;

    In next step I need to assign "Linked Service Templates" to this host template and can't find anywhere how to do it.
    In web interface it is straight forward - Hosts --> Template --> {Template_Name} --> Relations --> Linked Service Templates and just choose it.
    The question is - How to do it by using script(API, CLAPI, etc)?

    Thank you!
    Serge.
    Last edited by mentax; 1 week ago.
Working...
X