Cannot create item: item with the same key, already exists.

XMLWordPrintable

    • Type: Incident report
    • Resolution: Incomplete
    • Priority: Major
    • None
    • Affects Version/s: 2.2.3
    • Component/s: Server (S)
    • None
    • Environment:
      Ubuntu 12.04

      I've created a simple low level discovery rule:
      UserParameter=mysql.slave.discovery, echo '{"data":[{"

      {#SLAVE}":"slave"}]}'
      I've also added some item prototypes. They do not include {#SLAVE}

      macros as I just need to run some checks if the host is in a slave role. I do not have any filer rules. Everything is set up for a template.

      Now I've linked a host and get the following error:
      Cannot create item: item with the same key "mysql.replicsec" already exists.
      But it doesn't! If I add a macro for an item key it actually gets created, but the error doesn't go away.

            Assignee:
            Unassigned
            Reporter:
            Roman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: