10 years ago
API Request: getData, added ability to pull data from entire host group
I am currently writing a script to pull data from LM API and create a xlsx report for our VPs.
I am looking through the API documentation and i see there is only option to pull data for one host at a time. That means i would need to loop through hundreds of hosts and call the API thousand+ of times. (300 servers 4 datapoints = 1200 logins) It doesn\'t matter from my side but I presume your external proxies will not like it?
What would be nice if i can do any/or all of the following:
1. getData for hostgroups. This would mean i would need to do just 8 API calls and do processing on my server
2. getData for multiple datasources/multiple datapoints. This would mean i would need to do 300 API calls and do processing on my server