-
Incident report
-
Resolution: Won't fix
-
Major
-
None
-
2.0.0
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 "
)\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.