i want take list of one agent ever enrolled irrespective of active/offline/uninstalled status . .
and also one agent monitoring status . monitored entity api show only mode infra/full stack . ismonitoringcandidate does not reflect correct status .
how can i get it . in one of the thread there is an option v1/oneagent?include_details=true but it is too slow processing one entity at a time , evertime timed out at 900 entity [we have 4000 entities ] . any other options ?
basically want to extract agent status and monitoring status
Okay, normally it should indeed be /api/v1/oneagents.
First, you don’t need the includeDetails=true parameter. The availabilityState and detailedAvailabilityState are already included in the response, so set includeDetails=false.
The API returns around ±200 entities per request. Once you receive the response, you can use the next page key in your next API call.
For the subsequent calls, you must specify the next page key value in your query, and keep all other query parameters as they were in the original request.
Keep looping through the pages until you’ve retrieved all the entries.
Thank you for this . in v1 webpage it is hanging and timedout . i did via excel powerM query and it is fetching . but
my v2/entities with host filter start=now-200days return 5218 records while
v1/oneagent with same start=now-200days just return 2263 records only . our recently uninstall itself is 3000+. but UNMONITORED_AGENT_UNINSTALLED filter shows only 274 . any reason ?