reporting.get_data ================== Get reporting data for given graphs. List of possible graphs can be retrieved using `reporting.graphs` call. For the time period of the graph either `unit` and `page` OR `start` and `end` should be used, not both. `aggregate` will return aggregate available data for each graph (e.g. min, max, mean). .. examples(websocket):: Get graph data of "nfsstat" from the last hour. :::javascript { "id": "6841f242-840a-11e6-a437-00e04d680384", "msg": "method", "method": "reporting.get_data", "params": [ [{"name": "nfsstat"}], {"unit": "HOURLY"}, ] } .. raw:: html
Array of graph identifiers specifying which metrics to retrieve.
Must contain a minimum of 1 items
Type of performance metric to retrieve.
cpu: CPU usage statisticscputemp: CPU temperature readingsdisk: Disk I/O statisticsinterface: Network interface statisticsload: System load averagesprocesses: Process count and statisticsmemory: Memory usage statisticsuptime: System uptimearcactualrate: ZFS ARC actual hit ratearcrate: ZFS ARC hit ratearcsize: ZFS ARC cache sizearcresult: ZFS ARC operation resultsdisktemp: Disk temperature readingsupscharge: UPS battery charge levelupsruntime: UPS estimated runtimeupsvoltage: UPS voltage readingsupscurrent: UPS current readingsupsfrequency: UPS frequency readingsupsload: UPS load percentageupstemperature: UPS temperature readingsSpecific instance identifier for the metric (e.g., device name, interface name). null for system-wide metrics.
Must be at least 1 characters long
Query parameters for filtering and formatting the returned data.
No Additional PropertiesTime unit for data aggregation. null for default aggregation.
Page number for paginated results.
Value must be greater or equal to 1
Whether to return aggregated data or raw data points.
Start timestamp for the data range. null for default start time.
Value must be strictly greater than 0
End timestamp for the data range. null for current time.
Value must be strictly greater than 0
Array of performance data responses for each requested graph.
No Additional ItemsName of the performance metric.
Must be at least 1 characters long
Specific instance identifier for the metric. null for system-wide metrics.
Array of time-series data points for the requested time period.
No Additional ItemsStatistical aggregations of the data over the time period.
No Additional PropertiesMinimum values for each data series over the time period.
Average values for each data series over the time period.
Maximum values for each data series over the time period.
Actual start timestamp of the returned data.
Value must be strictly greater than 0
Actual end timestamp of the returned data.
Value must be strictly greater than 0
Array of labels describing each data series in the results.
No Additional Items