One of my partners integrate Aruba Central with Nagios using REST API. API call limitation really depends on what you think you need. If you want to have very detail information about every piece of equipment and try to do it in very short time period, then this is not for you. If you can go with more generic queries, like I like to have all my APs data in one call and do this call for example every 10 minutes, then you will be very far from limits.
Streaming API covers different type of data. Info and examples are available on github and in Aruba DEV portal.
For standard monitoring, like cpu usage, client counts, memory usage,. AP status and alike, a one call can return data for all APs.
So just to be aware there are two limits in Aruba Central REST API. One limit is number of calls per day (5000) and another limit is how many API calls you can make in a specific time interval.
When you accept differences in operations between SNMP and REST API style, you can optimize your queries to get what you need in minimal number of queries.
Streaming API fulfill different type of requirements and require Advanced license for APs:
- Audit-The Audit messages are sent to notify events like device connectivity, configuration status, and firmware status.
- AppRF-AppRF stream is the flow of all the client sessions. For each connected device (IAP/BGW), It lists the client's web session information of the past 14/15 minutes (Ip, Rx/Tx, Timestamp, etc).
- Monitoring-The monitoring streaming event is generated for state message (on state change) and stats message (received for every 5 minutes).
- Presence -The Presence events are sent to provide details of all associated and unassociated clients detected by Instant AP devices.
- Location-A location event is generated when a client location is computed using values reported by IAPs. The event message includes the following:
- Co-ordinates of the client on the Floorplan
- GeoFence notification that contains information on when a device enters or leaves a GeoFence region (only when GeoFence is enabled)
- Security-The Security streaming event is generated when the IAPs have enabled Intrusion Detection. This feed contains all the detections reported by the IAPs in the network.
Best, Gorazd
------------------------------
Gorazd Kikelj
MVP Expert 2023
------------------------------