-
Incident report
-
Resolution: Won't fix
-
Trivial
-
None
-
6.4.10
-
None
I am trying to monitor the Dell EMC PowerVault ME4024, but due to limitations I am forced to use API instead of SNMP. As a result, I am using a Python3 script to grab the JSON.
Steps to reproduce:
- Created an Item "Discovery Controllers", to generate the JSON (file: controllers.json) > working
- Created Discovery Rule with the following settings:
- Type: Dependent item
- Master item: Discovery Controllers
- LLD macro: {#ID} - JSONPath: $..['durable-id']
- Created Item Prototype with the following settings:
- Name: Controller: {#ID}
- Type: Dependent item
- Key: cntrl.{#ID}
- Master item: Discovery Controllers
- Preprocessing steps:
- JSONPath: $[?(@.'durable-id' == '\{#ID}')]
- Trim: []"
Result:
Expected:
What I try to achieve is to generate individual items.