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?


Article Comments

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


Nov, 2018 - Permalink