I need to monitor some tens servers, in each server run 3-5 web-servers.
every web-server have test domain name:
test-ServerNumber-WebServerType.domain
I have template BASE with item HttpAvailable. It is external check with key script[{$SERVER} {$TYPE}].
I create two subtemplates: CHILD-1 and CHILD-2, each link to BASE and define macros {$TYPE} (in CHILD-1 - {$TYPE} = 1, in CHILD-2 {$TYPE} = 2).
I need create host SERVER-1, link it to CHILD-1 and CHILD-2 and define macros {$SERVER}=1, but i can't do it with warning: "Template with item key [script[{$SERVER} {$TYPE}]] already linked to host.
In result i want define base template for web-server one time (with items, triggers, ...) and add it to one host many times with different parameters.
How I can do it?
every web-server have test domain name:
test-ServerNumber-WebServerType.domain
I have template BASE with item HttpAvailable. It is external check with key script[{$SERVER} {$TYPE}].
I create two subtemplates: CHILD-1 and CHILD-2, each link to BASE and define macros {$TYPE} (in CHILD-1 - {$TYPE} = 1, in CHILD-2 {$TYPE} = 2).
I need create host SERVER-1, link it to CHILD-1 and CHILD-2 and define macros {$SERVER}=1, but i can't do it with warning: "Template with item key [script[{$SERVER} {$TYPE}]] already linked to host.
In result i want define base template for web-server one time (with items, triggers, ...) and add it to one host many times with different parameters.
How I can do it?
Comment