What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

REST (Custom v2 ?) Sensor

Votes:

0

Hello,

I want to check the result of an api json but I cannot have a proper result. Can you please help me ?

my Json file returns this :

"status": "Healthy",
  "totalDuration": "00:00:06.2197119"

I want to check the status but, as it's not an integer the channel cannot show the status. Is it possible to do this ?

i try the Custom v2 sensor, when I use Custom message = $.status it works but I don't have any log of status change.

Is anyone here has already use this sensor to show some string result ?

Thank you

json prtg rest

Created on Feb 10, 2023 1:50:22 PM



1 Reply

Votes:

0

Hi Corly,

Since it is a bit tricky to monitor strings in PRTG, I would recommend to take a look at our manual about the possibilities how you can achieve your request: Manual REST Custom v2.


Kind regards

Felix Wiesneth - Team Tech Support

Created on Feb 13, 2023 8:25:27 AM by  Felix Wiesneth [Paessler Support]




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.