I have a series of json files located on a file server (in my case on the local PRTG server). I would like to process that json information

I see a few solutions, but i'm wondering if there is a better one.

I could set up a webserver, publish the files and than use the REST Custom BETA sensor. A template will convert the json into channels.

I could create a powershell script (EXE/Script Advanced sensor) that reads the json, processes it and recreate XML/Json to store the information in PRTG

Is there a possibility to read the json from disk and process it through a template?

thanks Bert van Hove


Article Comments

Hi there,

Unfortunately, there is no sensor that is able to process the JSON-files directly from the disk. This might be only possible via your suggested PowerShell solution.

However there are simple to setup webservers out there, for example MAMP:
https://www.mamp.info/en/

It's free and easy to install/configure.

Best regards.


May, 2019 - Permalink

I have the same problem. How do You solved it? I have 1 Json file by device. Each device is about 20 sensors. Thanks. It could bé an INCREDIBLE native sensor for PRTG


Dec, 2023 - Permalink