Hi guys,
we want to add the current state of a sensor to a downtime report, so we can see, which of the sensors with a down state are already acknowledged. I tried a few of the columns you can find in the API section for live data, but half of them are not working with these reports.
Is there an overview of the columns for a Custom Report Template and especially one which shows us, if the sensor is already acknowledged?
Article Comments
Hi Luciano,
thanks for the reply. I already thought something in this direction. Ok, is there an overview of what columns are working with the historic data?
Best Regards
Feb, 2016 - Permalink
Hello SKrug,
kindly excuse our late reply.
The fields supported by the /api/historicdata.xml? api are documented within PRTG under Setup > PRTG API > Historic Data (Or http://yourprtg/api.htm?tabid=5 ). Unfortunately it doesn't support any additional "fancy" fields, but since you're already using the API to query /historicdata, you could also perform additional queries using the other API functions within the same script and aggregate the results of this distinct API calls in a single "result".
The additional API queries are all documented within Setup > PRTG API.
Best Regards,
Mar, 2016 - Permalink
Hello there,
we appreciate your contact.
This may not be possible as the information queried by reports is the so called "Historic Data", thus the dataset used by these reports does not know the current status/state of the sensor.
Best Regards,
Feb, 2016 - Permalink