Hi,
I am doing couple of tests to integrate PRTG with Kaseya REST API. I could get HTTP REST API sensor working but having a problem with generating access token from Kaseya automatically while querying.
Below is steps to reproduce issue:
- . Create a HTTP REST API Sensor to request an Access Token from Kaseya server
- . Create another HTTP REST API Sensor to actually query including the Access Token (obtained from step 1) in Header field
- . With Access Token having validity of 25 minutes, next time the sensor queries with last Access Token value, it gets rejected.
I need to have arrangement where we can automatically get same REST API Sensor to request Access Token and query REST API seamlessly without having to generate access token manually now and again.
Your help will be highly appreciated.
Thanks and regards, Shishir
Add comment