Hello forum,
I have a little problem with a LLD and dependent items.
First of all, my discovery delivers me a JSON like this:
Then I created an item prototype that uses {#KEY} of each {#FIELD} to get more information (JSON output) about each FIELDs.
That works, and I can see these different FIELD data for each KEYs appear in latest data.
That additional output looks like this:
However, now I want to parse that text output by using a dependent item and get the info using json paths.
I have done this multiple times before, but not with discovery rules. Strange thing is, I do it the same way as before, the items wont show up in latest data.
I create the item as usual, type "Dependent item", select my master item (in this case the prototype), use a json path in preprocessing and nothing shows up.
Am i missing something?
Any help is appreciated!
I have a little problem with a LLD and dependent items.
First of all, my discovery delivers me a JSON like this:
Code:
[
{
"{#FIELD}": "test0",
"{#KEY}": 1111
},
{
"{#FIELD}": "test1",
"{#KEY}": 2222
},
{
"{#FIELD}": "test2",
"{#KEY}": 3333
},
{
"{#FIELD}": "test3",
"{#KEY}": 4444
},
{
"{#FIELD}": "test4",
"{#KEY}": 5555
}
]
That works, and I can see these different FIELD data for each KEYs appear in latest data.
That additional output looks like this:
Code:
{
"version": "1",
"running": "true",
"status": "OK",
"errors": 0,
"internal": 0
}
I have done this multiple times before, but not with discovery rules. Strange thing is, I do it the same way as before, the items wont show up in latest data.
I create the item as usual, type "Dependent item", select my master item (in this case the prototype), use a json path in preprocessing and nothing shows up.
Am i missing something?
Any help is appreciated!
Comment