Hello
I am having major headache trying to solve this JSON discovery issue.. I have a JSON output with the following information:
I need to get the web and mail servers as LLD objects -- how this possible?
I can get the mail objects and items create as expected -- Prepossessing to
and then LLD Macro to
But I cannot get the web objects..
Why cant I simply say -- Prepossessing to
and then LLD Macro to
This does not get any errors BUT It is not creating any items -- I have tried other ways to reference the path but all seem to fail -- what is going on here.
Is this that it needs to be in format item: value ?? how could i modify the input to get this -- seems simply enough.
I am having major headache trying to solve this JSON discovery issue.. I have a JSON output with the following information:
Code:
{
"domain": "testing",
"web": {
"servers": [
"webserver1",
"webserver2"
]
},
"mail": {
"servers": [
{
"preference": 10,
"hostname": "mailserver1"
},
{
"preference": 20,
"hostname": "mailserver2"
}
]
}
}
I can get the mail objects and items create as expected -- Prepossessing to
Code:
$.mail.servers
Code:
$.hostname
But I cannot get the web objects..
Why cant I simply say -- Prepossessing to
Code:
$.web.servers
Code:
$.[:]
This does not get any errors BUT It is not creating any items -- I have tried other ways to reference the path but all seem to fail -- what is going on here.
Is this that it needs to be in format item: value ?? how could i modify the input to get this -- seems simply enough.