Hello all,
I am having trouble finding the right template for a Custom REST Sensor. I get a JSON response in the following format from an interface:
[ { "server": "localhost", "username":"\\\\localhost\c$\Users\Administrator", }, "unit": "MB", "usage":54.792147636413574} ,{ "server": "localhost" , "username":"\\\\localhost\c$\Users\Administrator.AD", }, "unit": "B", "usage":54.792147636413574 } ]
where the number of different entries (2 in this example) is dynamic and sometimes more entries are returned. I have tried to work with this KB entry (https://kb.paessler.com/en/topic/84810-dynamic-rest-custom-channel-name#reply-296379) and create my own template, but am completely unsuccessful so far. Maybe someone can give me a nudge in the right direction on how to implement this or if this is even possible?
Thanks a lot, PRTG91
Add comment