LLD item prototype of type calculated does not populate in hosts

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Major
    • None
    • Affects Version/s: 2.0.0
    • Component/s: Server (S)

      I have a template with a few discovery rules. Each has a few prototype items of type "agent (active)" which are populated into hosts just fine.

      WIN Volume "

      {#VOLNAME} ({#VOLLABEL})" bytes/sec read --------------------> perf_counter[\LogicalDisk({#VOLNAME}

      )\Disk Read Bytes/sec,180]
      WIN Volume "

      {#VOLNAME} ({#VOLLABEL})" bytes/sec write --------------------> perf_counter[\LogicalDisk({#VOLNAME}

      )\Disk Write Bytes/sec,180]

      I also have a prototype item of type "calculated item" which does not get populated into hosts.

      WIN Volume "

      {#VOLNAME}

      (

      {#VOLLABEL})" bytes/sec total ------------------------> volume.bps.total ------------> the expression is last(bytes read) + last(bytes write)

      The error I get in the hosts/discovery screen is that it cannot create volume.bps.total because there is a duplicate entry. Which makes sense because I have about 4 volumes and it would create 4 "volume.bps.total" keys.

      The question is how to define the calculated item key in such a way that it does not generate conflicts.
      I tried using "volume{#VOLLABEL}

      .bps.total" but the frontend gives me an error telling me the keyname is invalid.

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

              Created:
              Updated:
              Resolved: