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

What kind of sensor i should use?

Votes:

0

Hello! Could you help me with a simple question? I have an API what described as REST. The URL is: http://api.iqsms.ru/messages/v2/balance?login=mylogin&password=mypassword

The returned dataset is: RUB;4914.04;0

There is no tags or something else, just comma separated values. I need to parse the second value. I tried REST custom sensor, it's green, it shows the response time only. Is there a way to create a template for such dataset, or maybe i should use another type of sensor?

api comma query

Created on Nov 22, 2018 10:50:34 AM



1 Reply

Votes:

0

Hi Yoshi,

As there is no native sensor to monitor semicolon separated strings, you can write your own script to request the information, extract the value of your choice and to forward it to the PRTG core server.

You can find the expected syntax for PRTG via the Setup > PRTG API > Custom Sensors page.


Kind regards,
Felix Saure, Tech Support Team

Created on Nov 22, 2018 2:21:10 PM by  Felix Saure [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.