(DEPRECATED) Disable a collector.
cloudkitty collector disable name
name
¶Name of the collector
This command is provided by the python-cloudkittyclient plugin.
(DEPRECATED) Enable a collector.
cloudkitty collector enable name
name
¶Name of the collector
This command is provided by the python-cloudkittyclient plugin.
(DEPRECATED) Get the state of a collector.
cloudkitty collector state get name
name
¶Name of the collector
This command is provided by the python-cloudkittyclient plugin.
(DEPRECATED) Create a service to collector mapping.
cloudkitty collector-mapping create service collector
service
¶Name of the service
collector
¶Name of the collector
This command is provided by the python-cloudkittyclient plugin.
(DEPRECATED) Delete a service to collector mapping.
cloudkitty collector-mapping delete service
service
¶Name of the service
This command is provided by the python-cloudkittyclient plugin.
(DEPRECATED) Get a service to collector mapping.
cloudkitty collector-mapping get service
service
¶Name of the service to filter on
This command is provided by the python-cloudkittyclient plugin.
(DEPRECATED) List service to collector mappings.
cloudkitty collector-mapping list [--collector COLLECTOR]
--collector
<COLLECTOR>
¶Name of the collector to filter on
This command is provided by the python-cloudkittyclient plugin.
List stored dataframes or generate CSV reports.
Dataframes can be filtered on resource_type and project_id. CSV reports can be generated with the ‘df-to-csv’ formatter. A config file may be provided to configure the output of that formatter. See documentation for more details.
cloudkitty dataframes get
[-b BEGIN]
[-e END]
[-p TENANT_ID]
[-r RESOURCE_TYPE]
-b
<BEGIN>
,
--begin
<BEGIN>
¶Begin timestamp
-e
<END>
,
--end
<END>
¶End timestamp
-p
<TENANT_ID>
,
--project-id
<TENANT_ID>
¶Id of the tenant to filter on
-r
<RESOURCE_TYPE>
,
--resource_type
<RESOURCE_TYPE>
¶Resource type to filter on
This command is provided by the python-cloudkittyclient plugin.
Create a hashmap field.
cloudkitty hashmap field create service_id name
service_id
¶Service ID
name
¶Field name
This command is provided by the python-cloudkittyclient plugin.
Delete a hashmap field.
cloudkitty hashmap field delete field_id
field_id
¶Field ID
This command is provided by the python-cloudkittyclient plugin.
Get a Hashmap field.
cloudkitty hashmap field get field_id
field_id
¶Field ID
This command is provided by the python-cloudkittyclient plugin.
List hashmap fields for the given service.
cloudkitty hashmap field list service_id
service_id
¶Service ID
This command is provided by the python-cloudkittyclient plugin.
Create a Hashmap group.
cloudkitty hashmap group create name
name
¶Group Name
This command is provided by the python-cloudkittyclient plugin.
Create a Hashmap group.
cloudkitty hashmap group delete [--recursive] group_id
--recursive
¶Delete mappings recursively
group_id
¶Group ID
This command is provided by the python-cloudkittyclient plugin.
List existing hashmap groups.
cloudkitty hashmap group list
This command is provided by the python-cloudkittyclient plugin.
Get all Hashmap mappings for the given group.
cloudkitty hashmap group mappings get group_id
group_id
¶Group ID
This command is provided by the python-cloudkittyclient plugin.
Get all thresholds for the given group.
cloudkitty hashmap group thresholds get group_id
group_id
¶Group ID
This command is provided by the python-cloudkittyclient plugin.
Create a Hashmap mapping.
cloudkitty hashmap mapping create
[-s SERVICE_ID]
[-g GROUP_ID]
[--field-id FIELD_ID]
[-p TENANT_ID]
[-t TYPE]
[--value VALUE]
cost
-s
<SERVICE_ID>
,
--service-id
<SERVICE_ID>
¶Service ID
-g
<GROUP_ID>
,
--group-id
<GROUP_ID>
¶Group ID
--field-id
<FIELD_ID>
¶Field ID
-p
<TENANT_ID>
,
--project-id
<TENANT_ID>
¶Project ID
-t
<TYPE>
,
--type
<TYPE>
¶Mapping type
--value
<VALUE>
¶Value
cost
¶Cost
This command is provided by the python-cloudkittyclient plugin.
Delete a Hashmap mapping.
cloudkitty hashmap mapping delete mapping_id
mapping_id
¶Mapping ID
This command is provided by the python-cloudkittyclient plugin.
Get a hashmap mapping.
cloudkitty hashmap mapping get mapping_id
mapping_id
¶Mapping ID to filter on
This command is provided by the python-cloudkittyclient plugin.
List hashmap mappings.
cloudkitty hashmap mapping list
[-s SERVICE_ID]
[-g GROUP_ID]
[--field-id FIELD_ID]
[-p TENANT_ID]
[--filter-tenant]
[--no-group]
-s
<SERVICE_ID>
,
--service-id
<SERVICE_ID>
¶Service ID to filter on
-g
<GROUP_ID>
,
--group-id
<GROUP_ID>
¶Group ID to filter on
--field-id
<FIELD_ID>
¶Field ID to filter on
-p
<TENANT_ID>
,
--project-id
<TENANT_ID>
¶Project ID to filter on
--filter-tenant
¶Explicitly filter on given tenant (allows to filter on tenant being None)
--no-group
¶Filter on orphaned mappings
This command is provided by the python-cloudkittyclient plugin.
Update a Hashmap mapping.
cloudkitty hashmap mapping update
[-s SERVICE_ID]
[-g GROUP_ID]
[--field-id FIELD_ID]
[-p TENANT_ID]
[--value VALUE]
[--cost COST]
mapping_id
-s
<SERVICE_ID>
,
--service-id
<SERVICE_ID>
¶Service ID
-g
<GROUP_ID>
,
--group-id
<GROUP_ID>
¶Group ID
--field-id
<FIELD_ID>
¶Field ID
-p
<TENANT_ID>
,
--project-id
<TENANT_ID>
¶Project ID
--value
<VALUE>
¶Value
--cost
<COST>
¶Cost
mapping_id
¶Mapping ID
This command is provided by the python-cloudkittyclient plugin.
Get hashmap mapping types/
cloudkitty hashmap mapping-types list
This command is provided by the python-cloudkittyclient plugin.
Create a hashmap service.
cloudkitty hashmap service create name
name
¶Service Name
This command is provided by the python-cloudkittyclient plugin.
Delete a hashmap service
cloudkitty hashmap service delete service_id
service_id
¶Service ID
This command is provided by the python-cloudkittyclient plugin.
Get a hashmap service
cloudkitty hashmap service get service_id
service_id
¶Service ID
This command is provided by the python-cloudkittyclient plugin.
List hashmap services.
cloudkitty hashmap service list
This command is provided by the python-cloudkittyclient plugin.
Create a Hashmap threshold.
cloudkitty hashmap threshold create
[-s SERVICE_ID]
[-g GROUP_ID]
[--field-id FIELD_ID]
[-p TENANT_ID]
[-t TYPE]
level
cost
-s
<SERVICE_ID>
,
--service-id
<SERVICE_ID>
¶Service ID
-g
<GROUP_ID>
,
--group-id
<GROUP_ID>
¶Group ID
--field-id
<FIELD_ID>
¶Field ID
-p
<TENANT_ID>
,
--project-id
<TENANT_ID>
¶Project ID
-t
<TYPE>
,
--type
<TYPE>
¶Threshold type
level
¶Threshold level
cost
¶Cost
This command is provided by the python-cloudkittyclient plugin.
Delete a Hashmap threshold.
cloudkitty hashmap threshold delete threshold_id
threshold_id
¶Threshold ID
This command is provided by the python-cloudkittyclient plugin.
Get a Hashmap threshold.
cloudkitty hashmap threshold get threshold_id
threshold_id
¶Threshold ID to filter on
This command is provided by the python-cloudkittyclient plugin.
List Hashmap thresholds
cloudkitty hashmap threshold list
[-s SERVICE_ID]
[-g GROUP_ID]
[--field-id FIELD_ID]
[-p TENANT_ID]
[--filter-tenant]
[--no-group]
-s
<SERVICE_ID>
,
--service-id
<SERVICE_ID>
¶Service ID to filter on
-g
<GROUP_ID>
,
--group-id
<GROUP_ID>
¶Group ID to filter on
--field-id
<FIELD_ID>
¶Field ID to filter on
-p
<TENANT_ID>
,
--project-id
<TENANT_ID>
¶Project ID to filter on
--filter-tenant
¶Explicitly filter on given tenant (allows to filter on tenant being None)
--no-group
¶Filter on orphaned thresholds
This command is provided by the python-cloudkittyclient plugin.
Update a Hashmap threshold.
cloudkitty hashmap threshold update
[-s SERVICE_ID]
[-g GROUP_ID]
[--field-id FIELD_ID]
[-p TENANT_ID]
[-l LEVEL]
[--cost COST]
threshold_id
-s
<SERVICE_ID>
,
--service-id
<SERVICE_ID>
¶Service ID
-g
<GROUP_ID>
,
--group-id
<GROUP_ID>
¶Group ID
--field-id
<FIELD_ID>
¶Field ID
-p
<TENANT_ID>
,
--project-id
<TENANT_ID>
¶Project ID
-l
<LEVEL>
,
--level
<LEVEL>
¶Threshold level
--cost
<COST>
¶Cost
threshold_id
¶Threshold ID
This command is provided by the python-cloudkittyclient plugin.
Get information about the current configuration.
cloudkitty info config get
This command is provided by the python-cloudkittyclient plugin.
Get information about current metrics.
cloudkitty info metric get metric_name
metric_name
¶Metric name
This command is provided by the python-cloudkittyclient plugin.
Get information about a single metric.
cloudkitty info metric list
This command is provided by the python-cloudkittyclient plugin.
Disable a rating module.
cloudkitty module disable module_id
module_id
¶Module name
This command is provided by the python-cloudkittyclient plugin.
Enable a rating module.
cloudkitty module enable module_id
module_id
¶Module name
This command is provided by the python-cloudkittyclient plugin.
Get a rating module or list loaded rating modules.
If module_id is not specified, returns a list of all loaded rating modules.
cloudkitty module get module_id
module_id
¶Module name
This command is provided by the python-cloudkittyclient plugin.
List loaded rating modules.
cloudkitty module list
This command is provided by the python-cloudkittyclient plugin.
Set the priority of a rating module.
cloudkitty module set priority module_id priority
module_id
¶Module name
priority
¶Priority (int)
This command is provided by the python-cloudkittyclient plugin.
Create a PyScript.
cloudkitty pyscript create name data
name
¶Script Name
data
¶Script Data or data file
This command is provided by the python-cloudkittyclient plugin.
Delete a PyScript.
cloudkitty pyscript delete script_id
script_id
¶Script ID
This command is provided by the python-cloudkittyclient plugin.
Get a PyScript.
cloudkitty pyscript get script_id
script_id
¶Script ID
This command is provided by the python-cloudkittyclient plugin.
List existing PyScripts.
cloudkitty pyscript list [-n]
-n
,
--no-data
¶Set to true to remove script data from output
This command is provided by the python-cloudkittyclient plugin.
Update a PyScript.
cloudkitty pyscript update [-n NAME] [-d DATA] script_id
-n
<NAME>
,
--name
<NAME>
¶Script Name
-d
<DATA>
,
--data
<DATA>
¶Script Data or data file
script_id
¶Script ID
This command is provided by the python-cloudkittyclient plugin.
Get rated tenants for the given period.
Begin defaults to the beginning of the current month and end defaults to the beginning of the next month.
cloudkitty report tenant list [-b BEGIN] [-e END]
-b
<BEGIN>
,
--begin
<BEGIN>
¶Begin timestamp.
-e
<END>
,
--end
<END>
¶End timestamp.
This command is provided by the python-cloudkittyclient plugin.
Get a summary report.
cloudkitty summary get
[-t TENANT_ID]
[-b BEGIN]
[-e END]
[-s SERVICE]
[-g GROUPBY [GROUPBY ...]]
[-a]
-t
<TENANT_ID>
,
--tenant-id
<TENANT_ID>
¶Tenant id.
-b
<BEGIN>
,
--begin
<BEGIN>
¶Begin timestamp.
-e
<END>
,
--end
<END>
¶End timestamp.
-s
<SERVICE>
,
--service
<SERVICE>
¶Service Type.
-g
<GROUPBY>
,
--groupby
<GROUPBY>
¶Fields to group by, space-separated. (res_type and tenant_id are supported for now)
-a
,
--all-tenants
¶Allows to get summary from all tenants (admin only). Defaults to False.
This command is provided by the python-cloudkittyclient plugin.
(DEPRECATED) Get total reports.
cloudkitty total get
[--prefix PREFIX]
[-t TENANT_ID]
[-b BEGIN]
[-e END]
[-s SERVICE]
[-g GROUPBY [GROUPBY ...]]
[-a]
--prefix
<PREFIX>
¶add a prefix to all variable names
-t
<TENANT_ID>
,
--tenant-id
<TENANT_ID>
¶Tenant id.
-b
<BEGIN>
,
--begin
<BEGIN>
¶Begin timestamp.
-e
<END>
,
--end
<END>
¶End timestamp.
-s
<SERVICE>
,
--service
<SERVICE>
¶Service Type.
-g
<GROUPBY>
,
--groupby
<GROUPBY>
¶Fields to group by, space-separated. (res_type and tenant_id are supported for now)
-a
,
--all-tenants
¶Allows to get summary from all tenants (admin only). Defaults to False.
This command is provided by the python-cloudkittyclient plugin.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.