Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-9100

LLD - Cannot create item: item with the same key "wmi.get["root\cimv2","SELECT StartMode (...) already exists.

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • None
    • None
    • None

      We're using service discovery on Windows 2008 machines. That works but error messages are showing up for the discovery rule.

      The discovery mechanism is not updating the items frequently so we see a relation to the reported problem:

      This is the complete error message:

      Cannot create item: item with the same key "wmi.get["root\cimv2","SELECT StartMode FROM Win32_Service WHERE Name like '{#INESSERVICENAME}'"]" already exists
      

      These are the config snippets:

      UserParameter=service.discovery,powershell -File "C:\Program Files\zabbix\service_discovery.ps1"
      

      Please find attached the powershell script as well as an example script output.

            Unassigned Unassigned
            stefan.bauer Stefan Bauer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: