The vitrage client is the command-line interface (CLI) for the RCA (Root Cause Analysis) service (vitrage) API and its extensions.
This chapter documents vitrage version 1.1.1
.
For help on a specific vitrage command, enter:
$ vitrage help COMMAND
usage: vitrage [--version] [-v | -q] [--log-file LOG_FILE] [-h] [--debug]
[--os-region-name <auth-region-name>]
[--os-interface <interface>] [--insecure]
[--os-cacert <ca-certificate>] [--os-cert <certificate>]
[--os-key <key>] [--timeout <seconds>] [--os-auth-type <name>]
[--os-auth-url OS_AUTH_URL] [--os-domain-id OS_DOMAIN_ID]
[--os-domain-name OS_DOMAIN_NAME]
[--os-project-id OS_PROJECT_ID]
[--os-project-name OS_PROJECT_NAME]
[--os-project-domain-id OS_PROJECT_DOMAIN_ID]
[--os-project-domain-name OS_PROJECT_DOMAIN_NAME]
[--os-trust-id OS_TRUST_ID]
[--os-default-domain-id OS_DEFAULT_DOMAIN_ID]
[--os-default-domain-name OS_DEFAULT_DOMAIN_NAME]
[--os-user-id OS_USER_ID] [--os-username OS_USERNAME]
[--os-user-domain-id OS_USER_DOMAIN_ID]
[--os-user-domain-name OS_USER_DOMAIN_NAME]
[--os-password OS_PASSWORD]
[--vitrage-api-version VITRAGE_API_VERSION]
[--endpoint ENDPOINT]
--version
-v, --verbose
-q, --quiet
--log-file LOG_FILE
-h, --help
--debug
--os-region-name <auth-region-name>
--os-interface <interface>
--os-auth-type <name>, --os-auth-plugin <name>
--vitrage-api-version VITRAGE_API_VERSION
env[VITRAGE_API_VERSION]
or 1.--endpoint ENDPOINT
usage: vitrage alarm list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--print-empty]
[--noindent] [--quote {all,minimal,none,nonnumeric}]
[--all-tenants [<0|1>]]
[<vitrage id>]
List alarms on entity
Positional arguments:
<vitrage id>
Optional arguments:
-h, --help
--all-tenants [<0|1>]
usage: vitrage event post [-h] [--type TYPE] [--time TIME] [--details DETAILS]
Show the event of the system
Optional arguments:
-h, --help
--type TYPE
--time TIME
--details DETAILS
usage: vitrage rca show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--print-empty]
[--noindent] [--prefix PREFIX] [--all-tenants [<0|1>]]
alarm_id
Show an RCA
Positional arguments:
alarm_id
Optional arguments:
-h, --help
--all-tenants [<0|1>]
usage: vitrage resource list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--print-empty] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--type <resource type>]
List resources
Optional arguments:
-h, --help
--type <resource type>
usage: vitrage resource show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--print-empty] [--noindent] [--prefix PREFIX]
resource_id
Show a resource
Positional arguments:
resource_id
Optional arguments:
-h, --help
usage: vitrage template list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--print-empty] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
Template list
Optional arguments:
-h, --help
usage: vitrage template show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--print-empty] [--noindent] [--prefix PREFIX]
uuid
Template show
Positional arguments:
uuid
Optional arguments:
-h, --help
usage: vitrage template validate [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--print-empty] [--noindent]
[--prefix PREFIX] [--path PATH]
Optional arguments:
-h, --help
--path PATH
usage: vitrage topology show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--print-empty] [--noindent] [--prefix PREFIX]
[--filter <query>] [--limit <depth>]
[--root ROOT] [--graph-type {tree,graph}]
[--all-tenants [<0|1>]]
Show the topology of the system
Optional arguments:
-h, --help
--filter <query>
--limit <depth>
--root ROOT
--graph-type {tree,graph}
--all-tenants [<0|1>]
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.