Hi,
I was looking at how to automate monthly reports from the API in Monitor.
On the face of it, it seems straightforwards enough with the REST URL, for example -
https://<ServerName>/rest/api/monitor/availability?token=<token>
then the POST body which would be (if I followed the API page on the Monitor Webpage)
{ "where": { "collectionId": ["<ID>"], "startTime": <StartMilliseconds>, "endTime": <EndMilliseconds>} }
My question is -
Has anyone set this up to be automated, and used it successfully?
If so, did you need to configure the Token to be generated each time? And Are you able to shed any light on how you were able to set it up?
Ideally I'd like to be able to have a script that could run at the end of each month, grab the stats for just the CPU and RAM, and export those into an Excel Report.