What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
300.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

how to read json from local file

Votes:

0

Your Vote:

Up

Down

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

json powershell prtg

Created on May 27, 2019 12:26:05 PM by  Bert van Hove (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

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.

Created on May 28, 2019 11:43:10 AM by  Dariusz Gorka [Paessler Support]



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.