Hi,
We use PRTG http api to get channel data, but datetime_raw is the time of app run not PRTG sampling time (interval is 60s). It is bug of PRTG HTTP API? Here is the uri : https://prtg.myorg.tw/api/table.xml?content=channels&output=xml&columns=objid,name,datetime,lastvalue&id=8325
Xml result :
<?xml version="1.0" encoding="UTF-8"?> <channels totalcount="0" listend="1"> <prtg-version>17.3.33.2830</prtg-version> <item> <objid>-4</objid> <objid_raw>*000000004</objid_raw> <name>Downtime</name> <datetime>12/13/2017 6:30:11 AM</datetime> <datetime_raw>43081.9376284143</datetime_raw> </item> <item> <objid>0</objid> <objid_raw>0000000000</objid_raw> <name>Value</name> <datetime>12/13/2017 6:30:11 AM</datetime> <datetime_raw>43081.9376284143</datetime_raw> <lastvalue>337 #</lastvalue> <lastvalue_raw>337.0000</lastvalue_raw> </item> </channels>
Add comment