I've created a discovery item that querys my netbox API and returns the Tags for the host.
The Tags field that netbox returns, does not have key value pairing, but a list object.
Is there a way to manipulate this to create unique items using LLD? Right now it creates an item like this service.info[\["gogs", "httpd"\]]
Example of what im trying to LLD against:
Here's an example of the raw portion that i'm preprocessing and pulling the tags out of;
I want to have an item prototype that lines up with those names, such as service.info[{#VM_SERVICE_NAMES}]
The Tags field that netbox returns, does not have key value pairing, but a list object.
Is there a way to manipulate this to create unique items using LLD? Right now it creates an item like this service.info[\["gogs", "httpd"\]]
Example of what im trying to LLD against:
Code:
{
"data": [
["gogs", "httpd"]
]
}
Code:
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"tags": [
"gogs",
"httpd"
]
}
]
}
I want to have an item prototype that lines up with those names, such as service.info[{#VM_SERVICE_NAMES}]
Comment