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

Try to transform json alphanumric answer into numeric valur wit REST API Beta V2

Votes:

0

Dear all,

I try to transform an API json formated alphanumeric answer to a numeric value with your Beta Rest Api V2. The error is "Succeeded Unparseable value in channel 1. The conversion of a string to a number failed. invalid stoll argument".

I think ovl files are unusable because it concern xml only.

For channel 1, I use :

Channel #1 JSONPath/XPath : $.data..currentBackupTaskInfo.taskStatus

Result is : "Succeeded"

How can I transform it ?

Thanks

json-result restapi-v2-beta transform

Created on Mar 27, 2023 2:05:39 PM



1 Reply

Votes:

0

Hello,

Within the settings of the sensor you can activate the "Store Result" option. This will create logs files (Result of Sensor XXX.Data.txt and Result of Sensor XXX.txt) on the corresponding probe under "C:\ProgramData\Paessler\PRTG Network Monitor\Logs\sensors" afterwards which might help. If you want us to take a closer look, feel free to send us those, as well as screenshots of the issue you are facing, and the used XML to [email protected]

Created on Mar 30, 2023 11:40:03 AM by  Timo Dambach [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.