cc1
v2.1
CC1 source code docs
|
Functions | |
def | vm_stats |
Function returns requested statistics for specific VM. |
def src.cm.views.admin_cm.monia.vm_stats | ( | caller_id, | |
vm_id, | |||
stat_name, | |||
time, | |||
stat_range, | |||
resolution | |||
) |
Function returns requested statistics for specific VM.
Stats are returned in format required by CC1 Web Interface's monitoring javascript.
http_request | (HttpRequest ) |
caller_id | (POST int ) |
admin_password | (POST string ) |
vm_id | (POST) |
stat_name | (POST string|list (string)) type of required statistics |
time | (POST int ) time of last row |
stat_range | (POST string ) time interval between first and last stats |
resolution | (POST string ) statistics resolution |
list
) usage of VM resources (format required by CC1 Web Interface)