Ad Widget

Collapse

Cannot create item already exists

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • darfie21
    Junior Member
    • May 2015
    • 5

    #1

    Cannot create item already exists

    Zabbix 2.4

    I created an item prototype for a LLD discovery. I'm getting the following error message:

    Cannot create item: item with the same key "echo.ts[{#ObjectName}]" already exists.

    What is wrong with the item definition ? Is there is a problem with the LLD data ?

    The json LLD data is below:

    {
    "data":[

    {
    "{#ObjectName}": "fcud02",
    "{#LineBPort}": 10002,
    "{#LineAAddress}": "ts01nyc",
    "{#RtuNumbers}": [
    88,
    89,
    90,
    91,
    92,
    93,
    95
    ],
    "{#SlaveAddressess}": [
    2,
    3,
    4,
    5,
    6,
    7,
    8
    ],
    "{#B1Names}": [
    "166CIR",
    "186CIR",
    "207CIR",
    "219CIR",
    "237CIR",
    "248CIR",
    "263CIR"
    ],
    "{#LineBAddress}": "ts02nyc",
    "{#DiagnosticPort}": 50831,
    "{#TraceFileName}": "/home/logs/fcud/fcud.125thSt.log",
    "{#LineAPort}": 10002
    }

    ]
    }


  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Macros are in capital letters. Replace {#ObjectName} with {#OBEJCTNAME} etc.
    Currently it takes it literally and not as LLD macro.

    Comment

    • darfie21
      Junior Member
      • May 2015
      • 5

      #3
      Hey Thanks. That worked making it capital.

      Comment

      Working...