Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

REST API Method: GET /rest/system/historicalstatistics

This action retrieves the historical statistics for the SBC. The collections are over 1 minute intervals for a period of 4 hours, thus giving a maximum of 240 historical records.

Info

The current interval is always the resource with ID 1. There will be a maximum of 241 rows returned for a lookup, where the row with ID 1 is the current interval being collected and the rows with ID 2-241 are the historical collections.

Tip

If no ID is specified, a listing of all collections will be returned along with their associated IDs. These identifiers can be used to get the individual resource element values.

URL:

https://192.168.0.111/rest/system/historicalstatistics

HTTP Method

GET

Requires Authentication

true

Noprint
Panel
bgColortransparent
titleBGColor#DDD
title[system - REST API Methods|Resource - system]

Page Tree
root@parent

Resource Schema

Statistics

Parameter Name Description Data Type Possible Values
rt_CPUUsageAverage percent usage of the CPU.int
rt_MemoryUsageAverage percent usage of system memory.int
rt_CPUUptimeThe total duration in seconds, that the system CPU has been UP and running.int
rt_FDUsageNumber of file descriptors used by the system.int
rt_CPULoadAverage1mAverage number of processes over the last one minute waiting to run because CPU is busy. The returned value is an integer representing the load average multiplied by 100.int
rt_CPULoadAverage5mAverage number of processes over the last five minutes waiting to run because CPU is busy. The returned value is an integer representing the load average multiplied by 100.int
rt_CPULoadAverage15mAverage number of processes over the last fifteen minutes waiting to run because CPU is busy. The returned value is an integer representing the load average multiplied by 100.int
rt_TmpPartUsagePercentage of the temporary partition used.int
rt_LoggingPartUsagePercentage of the logging partition used. This is applicable only for the SBC 2000.int