Ad Widget

Collapse

Low Level discovery - Error: Cannot create item

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JitseH
    Junior Member
    • Oct 2011
    • 9

    #1

    Low Level discovery - Error: Cannot create item

    Hello,

    I'm starting to use low level discovery on my Zabbix 2.0.4 server.

    I want to add network interfaces (with active link state) automaticaly.
    The default discovery (net.if.discovery) is not good enough because it only shows the interface name and not the link status.

    For this purpose I have created an PowerShell discovery script with gives me the output below. Zabbix server retrieves the discovery (with no errors on the client log) but stops with error message:
    "Cannot create item [net.if.in[{#DRIVER_NAME},bytes]]: item already exists. Cannot create item [net.if.in[{#DRIVER_NAME},bytes]]:"

    The item is not existing, when I take a look at the items section of the host...
    I have searched for other people with the same problem, but I could only find one person with the same error message.
    He had solved the problem by changing the dash(-) symbol to a underscore in the macro.
    I am not using dashes, but still have the problem.

    Powershell discovery script output:
    Code:
    {
     "data":[
    
            {
                    "{#NAME}":"NIC 2"
                    "{#DRIVER_NAME}":"HP NC326i PCIe Dual Port Gigabit Server Adapter"
                    "{#ENABLED}":"False"
            },
            {
                    "{#NAME}":"NIC 1"
                    "{#DRIVER_NAME}":"HP NC326i PCIe Dual Port Gigabit Server Adapter #2"
                    "{#ENABLED}":"True"
            }
    
     ]
    }
    I also created an extended discovery script for harddrives. That discovery is working, the output format is the same:
    Code:
    {
     "data":[
    
            {
                    "{#DRIVE_LETTER}":"C:"
                    "{#VOLUME_NAME}":""
                    "{#FILE_SYSTEM}":"NTFS"
            },
            {
                    "{#DRIVE_LETTER}":"D:"
                    "{#VOLUME_NAME}":""
                    "{#FILE_SYSTEM}":"NTFS"
            }
    
     ]
    }
    I attached some screenshots with my settings and errors.

    Hopefully somebody could point me to the right direction...
    Attached Files
    Last edited by JitseH; 13-01-2013, 23:12.
  • JitseH
    Junior Member
    • Oct 2011
    • 9

    #2
    Anyone a idea what is going wrong?

    Comment

    • JitseH
      Junior Member
      • Oct 2011
      • 9

      #3
      Problem has been solved.
      I didn't saw that I missed the , after each value...

      Comment

      • renanmvc
        Junior Member
        • Feb 2014
        • 12

        #4
        Originally posted by JitseH
        Problem has been solved.
        I didn't saw that I missed the , after each value...
        Como assim JitseH? Estou com o mesmo problema.

        Comment

        • andriws16
          Junior Member
          • Apr 2016
          • 1

          #5
          ERROR Linked templates

          Alguien me puede ayudar no puede no puede Linked templates "Templetes OS Windows" me arroja el siguiente error:
          ERROR:

          Created: Application "CPU" on "SERVIDOR ".
          Created: Application "Filesystems" on "SERVIDOR ".
          Created: Application "Memory" on "SERVIDOR ".
          Created: Application "Network interfaces" on "SERVIDOR ".
          Created: Application "OS" on "SERVIDOR ".
          Created: Application "Performance" on "SERVIDOR ".
          Created: Application "Processes" on "SERVIDOR ".
          Created: Application "Zabbix agent" on "SERVIDOR ".
          Updated: Application "General" on "SERVIDOR ".
          Cannot find host interface on "SERVIDOR" for item key "net.if.discovery"

          Comment

          Working...