The Auvik Statistics API allows you to view device, interface, and component statistics recorded by Auvik.
For details on a specific endpoint or cURL example, click the endpoint name listed below. API documentation opens in a new window.
There are four available endpoints that are part of devices in the Statistics API:
- Read device statistics
- Read device availability statistics
- Read interface statistics
- Read component statistics
Before using the Statistics API, please read Statistics - API Requested Time Ranges.
Read Device Statistics
Read device statistics pulls detailed statistics of devices in a site (and children if it’s a multi-site). The statistic type, statistic ID, and a list of data points included with each statistic are listed in the table below. An entry is returned for each device. The device ID and tenant ID are in the relationships field.
Statistic |
Stat ID |
Data Point |
Bandwidth |
bandwidth |
|
CPU utilization |
cpuUtilization |
|
Memory utilization |
memoryUtilization |
|
Storage utilization |
storageUtilization |
|
Unicast, multicast, and broadcast packet rates |
packetUnicast packetMulticast packetBroadcast |
|
Read device availability statistics
Read device availability statistics pulls detailed availability statistics of devices in a site (and children if it’s a multi-site). The statistic type, the statistic ID, and a list of data points included within each statistic are listed in the table below. The device is listed in the relationships field. An entry is returned for each device. The device ID and tenant ID are in the relationships field.
Statistic |
Stat ID |
Data Point |
Uptime percentage |
uptime |
|
Outage |
outage |
|
Read interface statistics
Read interface statistics pulls detailed statistics of interfaces in a site (and children if it’s a multi-site). The statistic type, the statistic ID, and a list of data points included within each statistic are listed in the table below. An entry is returned for each interface. The interface ID, parent device ID, and tenant ID are in the relationships field.
Statistic |
Stat ID |
Data Point |
Bandwidth |
bandwidth |
|
Utilization |
utilization |
|
Packet loss rate |
packetLoss |
|
Packet discard rate |
packetDiscard |
|
Unicast, multicast, broadcast packets |
packetUnicast packetMulticast packetBroadcast |
|
Read component statistics
Read component statistics pulls detailed statistics of components in a site (and children if it’s a multi-site). The statistic type, the statistic ID, and a list of data points included within each statistic are listed in the table below. An entry is returned for each interface. The interface ID, parent device ID, and tenant ID are in the relationships field.
CPU
Statistic |
Stat ID |
Data Point |
Capacity |
capacity |
|
Latency |
latency |
|
Readiness |
readiness |
|
Ready |
ready |
|
Swap wait |
swap |
|
CPU Core
Statistic |
Stat ID |
Data Point |
Idle |
idle |
|
Utilization |
utilization |
|
Disk
Statistic |
Stat ID |
Data Point |
Latency |
latency |
|
Queue latency |
queueLatency |
|
Rate |
rate |
|
Total latency |
totalLatency |
|
Fan
Statistic |
Stat ID |
Data Point |
Speed |
speed |
|
Memory
Statistic |
Stat ID |
Data Point |
Counters |
counters |
|
Swap |
swap |
|
Swap rate |
swapRate |
|
Temperature |
temperature |
|
Power Supply
Statistic |
Stat ID |
Data Point |
Power |
power |
|
System Board
Statistic |
Stat ID |
Data Point |
Temperature |
temperature |
|