Hi there, Could anyone help me to get the data via PHP code API in PRTG application without downloading XML File maybe with JSON? is it possible? knowing that I am using PRTG Network Monitor 13.1.2.1462 version.
as the example:
json = file_get_contents('http://prtg.mysite.com/getSensorData?id=1111&columns=lastvalue');
$obj = json_decode($json);
thanks
Article Comments
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Hi there,
To get the content of the PRTG Api via JSON, you can use the following call:
Unfortunately, I am not sure if the version "13.1.2.1462" already supports this.
Best regards.
May, 2017 - Permalink