If i use PRTG Historical data api call to fetch data in JSON form i get something like, { "datetime": "7/24/2020 12:09:00 AM - 12:10:00 AM", "Days to Expiration": 73.0000, "Root Authority Trusted (Yes)": 4294968297, "Revoked (No)": 4294968297, "Public Key Length (Good (2048))": 4294968297, "Self-Signed (No)": 4294968297, "Common Name Check (Matches device address)": 4294968296, "Downtime": 0.0000, "coverage": "100 %" },

but the thing is, it is giving me raw values but I want to get the values like percentages etc. Is there any way to do this?


Article Comments

Hello,

Thank you for your post.

Please remove the "&usecaption=1" from the API call, and check if you get the values in their designated units. Please note, that you will get both, the RAW values and the values with their respective units (it is not possible to get only the values with the units).


Kind regards,
Sasa Ignjatovic, Tech Support Team


Jul, 2020 - Permalink