Ad Widget

Collapse

Duplicate key on muliple

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mgt
    Junior Member
    • Jul 2014
    • 7

    #1

    Duplicate key on muliple

    Hi All,

    I'm getting the following ERROR when I try to add a new template to a host.

    Template with item key "vfs.file.size[{$L1PZ}{$EXT01}\log\output1.{$EXT02}.log]" already linked to host.

    A little background information ;-)

    On 1 host is running is running a lot of scripts
    The scripts can you divide on 3 "domains" say Domain1 Domain2 Domain3.

    Server
    -Domain 1
    ->Script 1
    -->Scripts puts output to C:\ll\domain1\log\output1.log
    ->Script 2
    -->Scripts puts output to C:\ll\domain1\log\output2.log
    ->Script 3
    -->Scripts puts output to C:\ll\domain1\log\output3.log
    ->Script 4
    -->Scripts puts output to C:\ll\domain1\log\output4.log
    oid..
    -Domain 2
    ->Script 1
    -->Scripts puts output to C:\ll\domain2\log\output1.log
    ->Script 2
    -->Scripts puts output to C:\ll\domain2\log\output2.log
    ->Script 3
    -->Scripts puts output to C:\ll\domain2\log\output3.log
    ->Script 4
    -->Scripts puts output to C:\ll\domain2\log\output4.log
    oud..

    and I will use this on multiple host (servers) thats the reason why have created 1 template with all this scripts and rules en use the "marco" option for the variable.

    Now i'm trying a other template to host1 with other marco values and the same keyvalues and i'm getting this error.

    have someone a idea how I can fix this.

    I'm use Zabbix 2.0.6
  • aib
    Senior Member
    • Jan 2014
    • 1615

    #2
    Did you ever think about LLD?
    It looks like you can automatically(or with home made script) discover all that Item's and use only one prototype to create all Items | Triggers | Graphs for your domain's
    Sincerely yours,
    Aleksey

    Comment

    Working...