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
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