Hi there,
I have been running into an issue while configuring a python sensor that polls the API and returns the full details of every device registered to the organisation.
I am using
GET /rest/o/{organization_id}/d
In the description of the request it states -
When has_status is specified, for online devices, some status information (e.g. (WAN) interfaces, (data) usage, etc.) will be included. The system will trigger the devices to report the data in real-time. Before the fresh data (i.e. received in last 2 minutes) is available, no status information will be included. When fresh data is available (typically 1 to 2 seconds after a trigger), the status information will be included.
At times I will find that some devices do not report back their interface status, even though they are fully operational and online.
What is the correct method to ensure the request always specifies the interfaces under each device?
Do I have to push the request once then another time a few seconds later to load the remaining information?
Many thanks,