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).
Type: object
No Additional Items
No Additional Properties
No Additional Items
No Additional Items
Type: array
No Additional Items
No Additional Properties
No Additional Properties
No Additional Items
Tuple Validation
Parameter 1: graphs
graphs
Type: array of objectMust contain a minimum of 1
items
Each item of this array must be:
GraphIdentifier
Type: objectNo Additional Properties
Name
Type: enum (of string)Must be one of:
- "cpu"
- "cputemp"
- "disk"
- "interface"
- "load"
- "processes"
- "memory"
- "uptime"
- "arcactualrate"
- "arcrate"
- "arcsize"
- "arcresult"
- "disktemp"
- "upscharge"
- "upsruntime"
- "upsvoltage"
- "upscurrent"
- "upsfrequency"
- "upsload"
- "upstemperature"
Identifier
Default: null Type: string
Must be at least 1
characters long
Type: null
Parameter 2: query
query
Type: objectNo Additional Properties
Unit
Default: null Type: enum (of string)
Must be one of:
- "HOUR"
- "DAY"
- "WEEK"
- "MONTH"
- "YEAR"
Type: null
Page
Type: integer Default: 1Value must be greater or equal to 1
Aggregate
Type: boolean Default: trueStart
Default: null Type: integer
Value must be strictly greater than 0
Type: null
End
Default: null Type: integer
Value must be strictly greater than 0
Type: null
Result
Type: array of objectNo Additional Items
Each item of this array must be:
ReportingGetDataResponse
Type: objectNo Additional Properties
Name
Type: stringMust be at least 1
characters long
Identifier
Type: string
Type: null
Data
Type: arrayNo Additional Items
Each item of this array must be:
Type: object
Type: object
Start
Type: integerValue must be strictly greater than 0
End
Type: integerValue must be strictly greater than 0
Legend
Type: array of stringNo Additional Items
Each item of this array must be:
Type: string
Required roles: REPORTING_READ