62677c5052
Add monasca to Chapter 1 (for CLI Ref) Add monasca to Appendix (common part includes CLI Ref/Config Ref) Add monasca CLI Ref XML 1.0.24 (autogenerated) Also fixes typo trove => barbican Change-Id: If221b39c82a36d59965baebc5745ccf016be6340
1444 lines
46 KiB
XML
1444 lines
46 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<chapter xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
version="5.0"
|
|
xml:id="monascaclient_commands">
|
|
|
|
<!-- This file is automatically generated, do not edit -->
|
|
|
|
<?dbhtml stop-chunking?>
|
|
|
|
<title>Monitoring command-line client</title>
|
|
|
|
<para>The <command>monasca</command> client is the command-line
|
|
interface (CLI) for the Monitoring API and its extensions.
|
|
|
|
This chapter documents <command>monasca</command> version
|
|
<literal>1.0.24</literal>.
|
|
</para>
|
|
|
|
<para>For help on a specific <command>monasca</command>
|
|
command, enter:
|
|
</para>
|
|
<screen><prompt>$</prompt> <userinput><command>monasca</command> <option>help</option> <replaceable>COMMAND</replaceable></userinput></screen>
|
|
|
|
<section xml:id="monascaclient_command_usage">
|
|
<title>monasca usage</title>
|
|
<screen><computeroutput>usage: monasca [-j] [--version] [-d] [-v] [-k] [--cert-file CERT_FILE]
|
|
[--key-file KEY_FILE] [--os-cacert OS_CACERT]
|
|
[--keystone_timeout KEYSTONE_TIMEOUT]
|
|
[--os-username OS_USERNAME] [--os-password OS_PASSWORD]
|
|
[--os-user-domain-id OS_USER_DOMAIN_ID]
|
|
[--os-user-domain-name OS_USER_DOMAIN_NAME]
|
|
[--os-project-id OS_PROJECT_ID]
|
|
[--os-project-name OS_PROJECT_NAME]
|
|
[--os-domain-id OS_DOMAIN_ID] [--os-domain-name OS_DOMAIN_NAME]
|
|
[--os-auth-url OS_AUTH_URL] [--os-region-name OS_REGION_NAME]
|
|
[--os-auth-token OS_AUTH_TOKEN] [--os-no-client-auth]
|
|
[--monasca-api-url MONASCA_API_URL]
|
|
[--monasca-api-version MONASCA_API_VERSION]
|
|
[--os-service-type OS_SERVICE_TYPE]
|
|
[--os-endpoint-type OS_ENDPOINT_TYPE]
|
|
<subcommand> ...
|
|
<subcommand>
|
|
alarm-definition-create Create an alarm definition.
|
|
alarm-definition-delete Delete the alarm definition.
|
|
alarm-definition-list List alarm definitions for this tenant.
|
|
alarm-definition-patch Patch the alarm definition.
|
|
alarm-definition-show Describe the alarm definition.
|
|
alarm-definition-update Update the alarm definition.
|
|
alarm-delete Delete the alarm.
|
|
alarm-history Alarm state transition history.
|
|
alarm-history-list List alarms state history.
|
|
alarm-list List alarms for this tenant.
|
|
alarm-patch Patch the alarm state.
|
|
alarm-show Describe the alarm.
|
|
alarm-update Update the alarm state.
|
|
measurement-list List measurements for the specified metric.
|
|
metric-create Create metric.
|
|
metric-create-raw Create metric from raw json body.
|
|
metric-list List metrics for this tenant.
|
|
metric-statistics List measurement statistics for the specified
|
|
metric.
|
|
notification-create Create notification.
|
|
notification-delete Delete notification.
|
|
notification-list List notifications for this tenant.
|
|
notification-show Describe the notification.
|
|
notification-update Update notification.
|
|
bash-completion Prints all of the commands and options to stdout.
|
|
help Display help about this program or one of its
|
|
subcommands.</computeroutput></screen>
|
|
</section>
|
|
<section xml:id="monascaclient_command_optional">
|
|
<title>monasca optional arguments</title>
|
|
<variablelist wordsize="10">
|
|
<varlistentry>
|
|
<term><command>-j, --json</command></term>
|
|
<listitem>
|
|
<para>
|
|
output raw json response
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--version</command></term>
|
|
<listitem>
|
|
<para>
|
|
Shows the client version and exits.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>-d, --debug</command></term>
|
|
<listitem>
|
|
<para>
|
|
Defaults to <code>env[MONASCA_DEBUG]</code>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>-v, --verbose</command></term>
|
|
<listitem>
|
|
<para>
|
|
Print more verbose output.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>-k, --insecure</command></term>
|
|
<listitem>
|
|
<para>
|
|
Explicitly allow the client to perform "insecure"
|
|
SSL (https) requests. The server's certificate
|
|
will not be verified against any certificate
|
|
authorities. This option should be used with
|
|
caution.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--cert-file CERT_FILE</command></term>
|
|
<listitem>
|
|
<para>
|
|
Path of certificate file to use in SSL
|
|
connection. This file can optionally be prepended
|
|
with the private key.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--key-file KEY_FILE</command></term>
|
|
<listitem>
|
|
<para>
|
|
Path of client key to use in SSL connection. This
|
|
option is not necessary if your key is prepended
|
|
to your cert file.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--os-cacert OS_CACERT</command></term>
|
|
<listitem>
|
|
<para>
|
|
Specify a CA bundle file to use in verifying a
|
|
TLS (https) server certificate. Defaults to
|
|
<code>env[OS_CACERT]</code>. Without either of these, the
|
|
client looks for the default system CA
|
|
certificates.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--keystone_timeout KEYSTONE_TIMEOUT</command></term>
|
|
<listitem>
|
|
<para>
|
|
Number of seconds to wait for a response from
|
|
keystone.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--os-username OS_USERNAME</command></term>
|
|
<listitem>
|
|
<para>
|
|
Defaults to <code>env[OS_USERNAME]</code>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--os-password OS_PASSWORD</command></term>
|
|
<listitem>
|
|
<para>
|
|
Defaults to <code>env[OS_PASSWORD]</code>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--os-user-domain-id OS_USER_DOMAIN_ID</command></term>
|
|
<listitem>
|
|
<para>
|
|
Defaults to <code>env[OS_USER_DOMAIN_ID]</code>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--os-user-domain-name OS_USER_DOMAIN_NAME</command></term>
|
|
<listitem>
|
|
<para>
|
|
Defaults to <code>env[OS_USER_DOMAIN_NAME]</code>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--os-project-id OS_PROJECT_ID</command></term>
|
|
<listitem>
|
|
<para>
|
|
Defaults to <code>env[OS_PROJECT_ID]</code>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--os-project-name OS_PROJECT_NAME</command></term>
|
|
<listitem>
|
|
<para>
|
|
Defaults to <code>env[OS_PROJECT_NAME]</code>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--os-domain-id OS_DOMAIN_ID</command></term>
|
|
<listitem>
|
|
<para>
|
|
Defaults to <code>env[OS_DOMAIN_ID]</code>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--os-domain-name OS_DOMAIN_NAME</command></term>
|
|
<listitem>
|
|
<para>
|
|
Defaults to <code>env[OS_DOMAIN_NAME]</code>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--os-auth-url OS_AUTH_URL</command></term>
|
|
<listitem>
|
|
<para>
|
|
Defaults to <code>env[OS_AUTH_URL]</code>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--os-region-name OS_REGION_NAME</command></term>
|
|
<listitem>
|
|
<para>
|
|
Defaults to <code>env[OS_REGION_NAME]</code>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--os-auth-token OS_AUTH_TOKEN</command></term>
|
|
<listitem>
|
|
<para>
|
|
Defaults to <code>env[OS_AUTH_TOKEN]</code>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--os-no-client-auth</command></term>
|
|
<listitem>
|
|
<para>
|
|
Do not contact keystone for a token. Defaults to
|
|
<code>env[OS_NO_CLIENT_AUTH]</code>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--monasca-api-url MONASCA_API_URL</command></term>
|
|
<listitem>
|
|
<para>
|
|
Defaults to <code>env[MONASCA_API_URL]</code>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--monasca-api-version MONASCA_API_VERSION</command></term>
|
|
<listitem>
|
|
<para>
|
|
Defaults to <code>env[MONASCA_API_VERSION]</code> or 2_0
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--os-service-type OS_SERVICE_TYPE</command></term>
|
|
<listitem>
|
|
<para>
|
|
Defaults to <code>env[OS_SERVICE_TYPE]</code>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--os-endpoint-type OS_ENDPOINT_TYPE</command></term>
|
|
<listitem>
|
|
<para>
|
|
Defaults to <code>env[OS_ENDPOINT_TYPE]</code>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_alarm-definition-create">
|
|
<title>monasca alarm-definition-create</title>
|
|
<screen><computeroutput>usage: monasca alarm-definition-create [--description <DESCRIPTION>]
|
|
[--severity <SEVERITY>]
|
|
[--match-by <DIMENSION_KEY1,DIMENSION_KEY2,...>]
|
|
[--alarm-actions <NOTIFICATION-ID>]
|
|
[--ok-actions <NOTIFICATION-ID>]
|
|
[--undetermined-actions <NOTIFICATION-ID>]
|
|
<ALARM_DEFINITION_NAME> <EXPRESSION></computeroutput></screen>
|
|
<para>
|
|
Create an alarm definition.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Positional arguments</title>
|
|
<varlistentry>
|
|
<term><command><ALARM_DEFINITION_NAME></command></term>
|
|
<listitem>
|
|
<para>
|
|
Name of the alarm definition to create.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command><EXPRESSION></command></term>
|
|
<listitem>
|
|
<para>
|
|
The alarm expression to evaluate. Quoted.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist wordsize="10">
|
|
<title>Optional arguments</title>
|
|
<varlistentry>
|
|
<term><command>--description <DESCRIPTION></command></term>
|
|
<listitem>
|
|
<para>
|
|
Description of the alarm.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--severity <SEVERITY></command></term>
|
|
<listitem>
|
|
<para>
|
|
Severity is one of [LOW, MEDIUM, HIGH, CRITICAL].
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--match-by <DIMENSION_KEY1,DIMENSION_KEY2,...></command></term>
|
|
<listitem>
|
|
<para>
|
|
The metric dimensions to match to the alarm
|
|
dimensions. One or more dimension key names separated
|
|
by a comma. Key names need quoting when they contain
|
|
special chars [&,(,),{,},>,<] that confuse the CLI
|
|
parser.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--alarm-actions <NOTIFICATION-ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The notification method to use when an alarm state is
|
|
ALARM. This param may be specified multiple times.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--ok-actions <NOTIFICATION-ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The notification method to use when an alarm state is
|
|
OK. This param may be specified multiple times.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--undetermined-actions <NOTIFICATION-ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The notification method to use when an alarm state is
|
|
UNDETERMINED. This param may be specified multiple
|
|
times.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_alarm-definition-delete">
|
|
<title>monasca alarm-definition-delete</title>
|
|
<screen><computeroutput>usage: monasca alarm-definition-delete <ALARM_DEFINITION_ID></computeroutput></screen>
|
|
<para>
|
|
Delete the alarm definition.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Positional arguments</title>
|
|
<varlistentry>
|
|
<term><command><ALARM_DEFINITION_ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The ID of the alarm definition.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_alarm-definition-list">
|
|
<title>monasca alarm-definition-list</title>
|
|
<screen><computeroutput>usage: monasca alarm-definition-list [--name <ALARM_DEFINITION_NAME>]
|
|
[--dimensions <KEY1=VALUE1,KEY2=VALUE2...>]
|
|
[--offset <OFFSET LOCATION>]
|
|
[--limit <RETURN LIMIT>]</computeroutput></screen>
|
|
<para>
|
|
List alarm definitions for this tenant.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Optional arguments</title>
|
|
<varlistentry>
|
|
<term><command>--name <ALARM_DEFINITION_NAME></command></term>
|
|
<listitem>
|
|
<para>
|
|
Name of the alarm definition.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--dimensions <KEY1=VALUE1,KEY2=VALUE2...></command></term>
|
|
<listitem>
|
|
<para>
|
|
key value pair used to specify a metric dimension.
|
|
This can be specified multiple times, or once with
|
|
parameters separated by a comma. Dimensions need
|
|
quoting when they contain special chars
|
|
[&,(,),{,},>,<] that confuse the CLI parser.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--offset <OFFSET LOCATION></command></term>
|
|
<listitem>
|
|
<para>
|
|
The offset used to paginate the return data.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--limit <RETURN LIMIT></command></term>
|
|
<listitem>
|
|
<para>
|
|
The amount of data to be returned up to the API
|
|
maximum limit.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_alarm-definition-patch">
|
|
<title>monasca alarm-definition-patch</title>
|
|
<screen><computeroutput>usage: monasca alarm-definition-patch [--name <ALARM_DEFINITION_NAME>]
|
|
[--description <DESCRIPTION>]
|
|
[--expression <EXPRESSION>]
|
|
[--alarm-actions <NOTIFICATION-ID>]
|
|
[--ok-actions <NOTIFICATION-ID>]
|
|
[--undetermined-actions <NOTIFICATION-ID>]
|
|
[--actions-enabled <ACTIONS-ENABLED>]
|
|
[--severity <SEVERITY>]
|
|
<ALARM_DEFINITION_ID></computeroutput></screen>
|
|
<para>
|
|
Patch the alarm definition.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Positional arguments</title>
|
|
<varlistentry>
|
|
<term><command><ALARM_DEFINITION_ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The ID of the alarm definition.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist wordsize="10">
|
|
<title>Optional arguments</title>
|
|
<varlistentry>
|
|
<term><command>--name <ALARM_DEFINITION_NAME></command></term>
|
|
<listitem>
|
|
<para>
|
|
Name of the alarm definition.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--description <DESCRIPTION></command></term>
|
|
<listitem>
|
|
<para>
|
|
Description of the alarm.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--expression <EXPRESSION></command></term>
|
|
<listitem>
|
|
<para>
|
|
The alarm expression to evaluate. Quoted.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--alarm-actions <NOTIFICATION-ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The notification method to use when an alarm state is
|
|
ALARM. This param may be specified multiple times.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--ok-actions <NOTIFICATION-ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The notification method to use when an alarm state is
|
|
OK. This param may be specified multiple times.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--undetermined-actions <NOTIFICATION-ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The notification method to use when an alarm state is
|
|
UNDETERMINED. This param may be specified multiple
|
|
times.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--actions-enabled <ACTIONS-ENABLED></command></term>
|
|
<listitem>
|
|
<para>
|
|
The actions-enabled boolean is one of [true,false]
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--severity <SEVERITY></command></term>
|
|
<listitem>
|
|
<para>
|
|
Severity is one of [LOW, MEDIUM, HIGH, CRITICAL].
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_alarm-definition-show">
|
|
<title>monasca alarm-definition-show</title>
|
|
<screen><computeroutput>usage: monasca alarm-definition-show <ALARM_DEFINITION_ID></computeroutput></screen>
|
|
<para>
|
|
Describe the alarm definition.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Positional arguments</title>
|
|
<varlistentry>
|
|
<term><command><ALARM_DEFINITION_ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The ID of the alarm definition.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_alarm-definition-update">
|
|
<title>monasca alarm-definition-update</title>
|
|
<screen><computeroutput>usage: monasca alarm-definition-update [--description <DESCRIPTION>]
|
|
[--alarm-actions <NOTIFICATION-ID>]
|
|
[--ok-actions <NOTIFICATION-ID>]
|
|
[--undetermined-actions <NOTIFICATION-ID>]
|
|
[--match-by <DIMENSION_KEY1,DIMENSION_KEY2,...>]
|
|
[--severity <SEVERITY>]
|
|
<ALARM_DEFINITION_ID>
|
|
<ALARM_DEFINITION_NAME> <EXPRESSION>
|
|
<ACTIONS-ENABLED></computeroutput></screen>
|
|
<para>
|
|
Update the alarm definition.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Positional arguments</title>
|
|
<varlistentry>
|
|
<term><command><ALARM_DEFINITION_ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The ID of the alarm definition.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command><ALARM_DEFINITION_NAME></command></term>
|
|
<listitem>
|
|
<para>
|
|
Name of the alarm definition.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command><EXPRESSION></command></term>
|
|
<listitem>
|
|
<para>
|
|
The alarm expression to evaluate. Quoted.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command><ACTIONS-ENABLED></command></term>
|
|
<listitem>
|
|
<para>
|
|
The actions-enabled boolean is one of [true,false]
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist wordsize="10">
|
|
<title>Optional arguments</title>
|
|
<varlistentry>
|
|
<term><command>--description <DESCRIPTION></command></term>
|
|
<listitem>
|
|
<para>
|
|
Description of the alarm.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--alarm-actions <NOTIFICATION-ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The notification method to use when an alarm state is
|
|
ALARM. This param may be specified multiple times.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--ok-actions <NOTIFICATION-ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The notification method to use when an alarm state is
|
|
OK. This param may be specified multiple times.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--undetermined-actions <NOTIFICATION-ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The notification method to use when an alarm state is
|
|
UNDETERMINED. This param may be specified multiple
|
|
times.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--match-by <DIMENSION_KEY1,DIMENSION_KEY2,...></command></term>
|
|
<listitem>
|
|
<para>
|
|
The metric dimensions to match to the alarm
|
|
dimensions. One or more dimension key names separated
|
|
by a comma. Key names need quoting when they contain
|
|
special chars [&,(,),{,},>,<] that confuse the CLI
|
|
parser.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--severity <SEVERITY></command></term>
|
|
<listitem>
|
|
<para>
|
|
Severity is one of [LOW, MEDIUM, HIGH, CRITICAL].
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_alarm-delete">
|
|
<title>monasca alarm-delete</title>
|
|
<screen><computeroutput>usage: monasca alarm-delete <ALARM_ID></computeroutput></screen>
|
|
<para>
|
|
Delete the alarm.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Positional arguments</title>
|
|
<varlistentry>
|
|
<term><command><ALARM_ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The ID of the alarm.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_alarm-history">
|
|
<title>monasca alarm-history</title>
|
|
<screen><computeroutput>usage: monasca alarm-history [--offset <OFFSET LOCATION>]
|
|
[--limit <RETURN LIMIT>]
|
|
<ALARM_ID></computeroutput></screen>
|
|
<para>
|
|
Alarm state transition history.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Positional arguments</title>
|
|
<varlistentry>
|
|
<term><command><ALARM_ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The ID of the alarm.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist wordsize="10">
|
|
<title>Optional arguments</title>
|
|
<varlistentry>
|
|
<term><command>--offset <OFFSET LOCATION></command></term>
|
|
<listitem>
|
|
<para>
|
|
The offset used to paginate the return data.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--limit <RETURN LIMIT></command></term>
|
|
<listitem>
|
|
<para>
|
|
The amount of data to be returned up to the API
|
|
maximum limit.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_alarm-history-list">
|
|
<title>monasca alarm-history-list</title>
|
|
<screen><computeroutput>usage: monasca alarm-history-list [--dimensions <KEY1=VALUE1,KEY2=VALUE2...>]
|
|
[--starttime <UTC_START_TIME>]
|
|
[--endtime <UTC_END_TIME>]
|
|
[--offset <OFFSET LOCATION>]
|
|
[--limit <RETURN LIMIT>]</computeroutput></screen>
|
|
<para>
|
|
List alarms state history.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Optional arguments</title>
|
|
<varlistentry>
|
|
<term><command>--dimensions <KEY1=VALUE1,KEY2=VALUE2...></command></term>
|
|
<listitem>
|
|
<para>
|
|
key value pair used to specify a metric dimension.
|
|
This can be specified multiple times, or once with
|
|
parameters separated by a comma. Dimensions need
|
|
quoting when they contain special chars
|
|
[&,(,),{,},>,<] that confuse the CLI parser.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--starttime <UTC_START_TIME></command></term>
|
|
<listitem>
|
|
<para>
|
|
measurements >= UTC time. format:
|
|
2014-01-01T00:00:00Z. OR format: -120 (for previous 2
|
|
hours)
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--endtime <UTC_END_TIME></command></term>
|
|
<listitem>
|
|
<para>
|
|
measurements <= UTC time. format:
|
|
2014-01-01T00:00:00Z.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--offset <OFFSET LOCATION></command></term>
|
|
<listitem>
|
|
<para>
|
|
The offset used to paginate the return data.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--limit <RETURN LIMIT></command></term>
|
|
<listitem>
|
|
<para>
|
|
The amount of data to be returned up to the API
|
|
maximum limit.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_alarm-list">
|
|
<title>monasca alarm-list</title>
|
|
<screen><computeroutput>usage: monasca alarm-list [--alarm-definition-id <ALARM_DEFINITION_ID>]
|
|
[--metric-name <METRIC_NAME>]
|
|
[--metric-dimensions <KEY1=VALUE1,KEY2=VALUE2...>]
|
|
[--state <ALARM_STATE>]
|
|
[--state-updated-start-time <UTC_STATE_UPDATED_START>]
|
|
[--lifecycle-state <LIFECYCLE_STATE>]
|
|
[--link <LINK>] [--offset <OFFSET LOCATION>]
|
|
[--limit <RETURN LIMIT>]</computeroutput></screen>
|
|
<para>
|
|
List alarms for this tenant.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Optional arguments</title>
|
|
<varlistentry>
|
|
<term><command>--alarm-definition-id <ALARM_DEFINITION_ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The ID of the alarm definition.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--metric-name <METRIC_NAME></command></term>
|
|
<listitem>
|
|
<para>
|
|
Name of the metric.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--metric-dimensions <KEY1=VALUE1,KEY2=VALUE2...></command></term>
|
|
<listitem>
|
|
<para>
|
|
key value pair used to specify a metric dimension.
|
|
This can be specified multiple times, or once with
|
|
parameters separated by a comma. Dimensions need
|
|
quoting when they contain special chars
|
|
[&,(,),{,},>,<] that confuse the CLI parser.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--state <ALARM_STATE></command></term>
|
|
<listitem>
|
|
<para>
|
|
ALARM_STATE is one of [UNDETERMINED, OK, ALARM].
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--state-updated-start-time <UTC_STATE_UPDATED_START></command></term>
|
|
<listitem>
|
|
<para>
|
|
Return all alarms whose state was updated on or after
|
|
the time specified
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--lifecycle-state <LIFECYCLE_STATE></command></term>
|
|
<listitem>
|
|
<para>
|
|
The lifecycle state of the alarm
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--link <LINK></command></term>
|
|
<listitem>
|
|
<para>
|
|
The link to external data associated with the alarm
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--offset <OFFSET LOCATION></command></term>
|
|
<listitem>
|
|
<para>
|
|
The offset used to paginate the return data.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--limit <RETURN LIMIT></command></term>
|
|
<listitem>
|
|
<para>
|
|
The amount of data to be returned up to the API
|
|
maximum limit.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_alarm-patch">
|
|
<title>monasca alarm-patch</title>
|
|
<screen><computeroutput>usage: monasca alarm-patch [--state <ALARM_STATE>]
|
|
[--lifecycle-state <LIFECYCLE_STATE>]
|
|
[--link <LINK>]
|
|
<ALARM_ID></computeroutput></screen>
|
|
<para>
|
|
Patch the alarm state.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Positional arguments</title>
|
|
<varlistentry>
|
|
<term><command><ALARM_ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The ID of the alarm.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist wordsize="10">
|
|
<title>Optional arguments</title>
|
|
<varlistentry>
|
|
<term><command>--state <ALARM_STATE></command></term>
|
|
<listitem>
|
|
<para>
|
|
ALARM_STATE is one of [UNDETERMINED, OK, ALARM].
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--lifecycle-state <LIFECYCLE_STATE></command></term>
|
|
<listitem>
|
|
<para>
|
|
The lifecycle state of the alarm
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--link <LINK></command></term>
|
|
<listitem>
|
|
<para>
|
|
A link to an external resource with information about
|
|
the alarm
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_alarm-show">
|
|
<title>monasca alarm-show</title>
|
|
<screen><computeroutput>usage: monasca alarm-show <ALARM_ID></computeroutput></screen>
|
|
<para>
|
|
Describe the alarm.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Positional arguments</title>
|
|
<varlistentry>
|
|
<term><command><ALARM_ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The ID of the alarm.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_alarm-update">
|
|
<title>monasca alarm-update</title>
|
|
<screen><computeroutput>usage: monasca alarm-update <ALARM_ID> <ALARM_STATE> <LIFECYCLE_STATE> <LINK></computeroutput></screen>
|
|
<para>
|
|
Update the alarm state.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Positional arguments</title>
|
|
<varlistentry>
|
|
<term><command><ALARM_ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The ID of the alarm.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command><ALARM_STATE></command></term>
|
|
<listitem>
|
|
<para>
|
|
ALARM_STATE is one of [UNDETERMINED, OK, ALARM].
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command><LIFECYCLE_STATE></command></term>
|
|
<listitem>
|
|
<para>
|
|
The lifecycle state of the alarm
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command><LINK></command></term>
|
|
<listitem>
|
|
<para>
|
|
A link to an external resource with information about the
|
|
alarm
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_measurement-list">
|
|
<title>monasca measurement-list</title>
|
|
<screen><computeroutput>usage: monasca measurement-list [--dimensions <KEY1=VALUE1,KEY2=VALUE2...>]
|
|
[--endtime <UTC_END_TIME>]
|
|
[--offset <OFFSET LOCATION>]
|
|
[--limit <RETURN LIMIT>] [--merge_metrics]
|
|
<METRIC_NAME> <UTC_START_TIME></computeroutput></screen>
|
|
<para>
|
|
List measurements for the specified metric.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Positional arguments</title>
|
|
<varlistentry>
|
|
<term><command><METRIC_NAME></command></term>
|
|
<listitem>
|
|
<para>
|
|
Name of the metric to list measurements.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command><UTC_START_TIME></command></term>
|
|
<listitem>
|
|
<para>
|
|
measurements >= UTC time. format:
|
|
2014-01-01T00:00:00Z. OR Format: -120 (previous 120
|
|
minutes
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist wordsize="10">
|
|
<title>Optional arguments</title>
|
|
<varlistentry>
|
|
<term><command>--dimensions <KEY1=VALUE1,KEY2=VALUE2...></command></term>
|
|
<listitem>
|
|
<para>
|
|
key value pair used to specify a metric dimension.
|
|
This can be specified multiple times, or once with
|
|
parameters separated by a comma. Dimensions need
|
|
quoting when they contain special chars
|
|
[&,(,),{,},>,<] that confuse the CLI parser.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--endtime <UTC_END_TIME></command></term>
|
|
<listitem>
|
|
<para>
|
|
measurements <= UTC time. format:
|
|
2014-01-01T00:00:00Z.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--offset <OFFSET LOCATION></command></term>
|
|
<listitem>
|
|
<para>
|
|
The offset used to paginate the return data.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--limit <RETURN LIMIT></command></term>
|
|
<listitem>
|
|
<para>
|
|
The amount of data to be returned up to the API
|
|
maximum limit.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--merge_metrics</command></term>
|
|
<listitem>
|
|
<para>
|
|
Merge multiple metrics into a single result.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_metric-create">
|
|
<title>monasca metric-create</title>
|
|
<screen><computeroutput>usage: monasca metric-create [--dimensions <KEY1=VALUE1,KEY2=VALUE2...>]
|
|
[--value-meta <KEY1=VALUE1,KEY2=VALUE2...>]
|
|
[--time <UNIX_TIMESTAMP>]
|
|
[--project-id <CROSS_PROJECT_ID>]
|
|
<METRIC_NAME> <METRIC_VALUE></computeroutput></screen>
|
|
<para>
|
|
Create metric.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Positional arguments</title>
|
|
<varlistentry>
|
|
<term><command><METRIC_NAME></command></term>
|
|
<listitem>
|
|
<para>
|
|
Name of the metric to create.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command><METRIC_VALUE></command></term>
|
|
<listitem>
|
|
<para>
|
|
Metric value.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist wordsize="10">
|
|
<title>Optional arguments</title>
|
|
<varlistentry>
|
|
<term><command>--dimensions <KEY1=VALUE1,KEY2=VALUE2...></command></term>
|
|
<listitem>
|
|
<para>
|
|
key value pair used to create a metric dimension. This
|
|
can be specified multiple times, or once with
|
|
parameters separated by a comma. Dimensions need
|
|
quoting when they contain special chars
|
|
[&,(,),{,},>,<] that confuse the CLI parser.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--value-meta <KEY1=VALUE1,KEY2=VALUE2...></command></term>
|
|
<listitem>
|
|
<para>
|
|
key value pair for extra information about a value.
|
|
This can be specified multiple times, or once with
|
|
parameters separated by a comma. value_meta need
|
|
quoting when they contain special chars
|
|
[&,(,),{,},>,<] that confuse the CLI parser.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--time <UNIX_TIMESTAMP></command></term>
|
|
<listitem>
|
|
<para>
|
|
Metric timestamp in milliseconds. Default: current
|
|
timestamp.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--project-id <CROSS_PROJECT_ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The Project ID to create metric on behalf of. Requires
|
|
monitoring-delegate role in keystone.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_metric-create-raw">
|
|
<title>monasca metric-create-raw</title>
|
|
<screen><computeroutput>usage: monasca metric-create-raw <JSON_BODY></computeroutput></screen>
|
|
<para>
|
|
Create metric from raw json body.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Positional arguments</title>
|
|
<varlistentry>
|
|
<term><command><JSON_BODY></command></term>
|
|
<listitem>
|
|
<para>
|
|
The raw JSON body in single quotes. See api doc.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_metric-list">
|
|
<title>monasca metric-list</title>
|
|
<screen><computeroutput>usage: monasca metric-list [--name <METRIC_NAME>]
|
|
[--dimensions <KEY1=VALUE1,KEY2=VALUE2...>]
|
|
[--offset <OFFSET LOCATION>]
|
|
[--limit <RETURN LIMIT>]</computeroutput></screen>
|
|
<para>
|
|
List metrics for this tenant.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Optional arguments</title>
|
|
<varlistentry>
|
|
<term><command>--name <METRIC_NAME></command></term>
|
|
<listitem>
|
|
<para>
|
|
Name of the metric to list.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--dimensions <KEY1=VALUE1,KEY2=VALUE2...></command></term>
|
|
<listitem>
|
|
<para>
|
|
key value pair used to specify a metric dimension.
|
|
This can be specified multiple times, or once with
|
|
parameters separated by a comma. Dimensions need
|
|
quoting when they contain special chars
|
|
[&,(,),{,},>,<] that confuse the CLI parser.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--offset <OFFSET LOCATION></command></term>
|
|
<listitem>
|
|
<para>
|
|
The offset used to paginate the return data.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--limit <RETURN LIMIT></command></term>
|
|
<listitem>
|
|
<para>
|
|
The amount of data to be returned up to the API
|
|
maximum limit.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_metric-statistics">
|
|
<title>monasca metric-statistics</title>
|
|
<screen><computeroutput>usage: monasca metric-statistics [--dimensions <KEY1=VALUE1,KEY2=VALUE2...>]
|
|
[--endtime <UTC_END_TIME>]
|
|
[--period <PERIOD>]
|
|
[--offset <OFFSET LOCATION>]
|
|
[--limit <RETURN LIMIT>] [--merge_metrics]
|
|
<METRIC_NAME> <STATISTICS> <UTC_START_TIME></computeroutput></screen>
|
|
<para>
|
|
List measurement statistics for the specified metric.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Positional arguments</title>
|
|
<varlistentry>
|
|
<term><command><METRIC_NAME></command></term>
|
|
<listitem>
|
|
<para>
|
|
Name of the metric to report measurement statistics.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command><STATISTICS></command></term>
|
|
<listitem>
|
|
<para>
|
|
Statistics is one or more (separated by commas) of
|
|
[AVG, MIN, MAX, COUNT, SUM].
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command><UTC_START_TIME></command></term>
|
|
<listitem>
|
|
<para>
|
|
measurements >= UTC time. format:
|
|
2014-01-01T00:00:00Z. OR Format: -120 (previous 120
|
|
minutes
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<variablelist wordsize="10">
|
|
<title>Optional arguments</title>
|
|
<varlistentry>
|
|
<term><command>--dimensions <KEY1=VALUE1,KEY2=VALUE2...></command></term>
|
|
<listitem>
|
|
<para>
|
|
key value pair used to specify a metric dimension.
|
|
This can be specified multiple times, or once with
|
|
parameters separated by a comma. Dimensions need
|
|
quoting when they contain special chars
|
|
[&,(,),{,},>,<] that confuse the CLI parser.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--endtime <UTC_END_TIME></command></term>
|
|
<listitem>
|
|
<para>
|
|
measurements <= UTC time. format:
|
|
2014-01-01T00:00:00Z.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--period <PERIOD></command></term>
|
|
<listitem>
|
|
<para>
|
|
number of seconds per interval (default is 300)
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--offset <OFFSET LOCATION></command></term>
|
|
<listitem>
|
|
<para>
|
|
The offset used to paginate the return data.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--limit <RETURN LIMIT></command></term>
|
|
<listitem>
|
|
<para>
|
|
The amount of data to be returned up to the API
|
|
maximum limit.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--merge_metrics</command></term>
|
|
<listitem>
|
|
<para>
|
|
Merge multiple metrics into a single result.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_notification-create">
|
|
<title>monasca notification-create</title>
|
|
<screen><computeroutput>usage: monasca notification-create <NOTIFICATION_NAME> <TYPE> <ADDRESS></computeroutput></screen>
|
|
<para>
|
|
Create notification.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Positional arguments</title>
|
|
<varlistentry>
|
|
<term><command><NOTIFICATION_NAME></command></term>
|
|
<listitem>
|
|
<para>
|
|
Name of the notification to create.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command><TYPE></command></term>
|
|
<listitem>
|
|
<para>
|
|
The notification type. Type must be EMAIL, WEBHOOK, or
|
|
PAGERDUTY.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command><ADDRESS></command></term>
|
|
<listitem>
|
|
<para>
|
|
A valid EMAIL Address, URL, or SERVICE KEY
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_notification-delete">
|
|
<title>monasca notification-delete</title>
|
|
<screen><computeroutput>usage: monasca notification-delete <NOTIFICATION_ID></computeroutput></screen>
|
|
<para>
|
|
Delete notification.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Positional arguments</title>
|
|
<varlistentry>
|
|
<term><command><NOTIFICATION_ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The ID of the notification.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_notification-list">
|
|
<title>monasca notification-list</title>
|
|
<screen><computeroutput>usage: monasca notification-list [--offset <OFFSET LOCATION>]
|
|
[--limit <RETURN LIMIT>]</computeroutput></screen>
|
|
<para>
|
|
List notifications for this tenant.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Optional arguments</title>
|
|
<varlistentry>
|
|
<term><command>--offset <OFFSET LOCATION></command></term>
|
|
<listitem>
|
|
<para>
|
|
The offset used to paginate the return data.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command>--limit <RETURN LIMIT></command></term>
|
|
<listitem>
|
|
<para>
|
|
The amount of data to be returned up to the API
|
|
maximum limit.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_notification-show">
|
|
<title>monasca notification-show</title>
|
|
<screen><computeroutput>usage: monasca notification-show <NOTIFICATION_ID></computeroutput></screen>
|
|
<para>
|
|
Describe the notification.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Positional arguments</title>
|
|
<varlistentry>
|
|
<term><command><NOTIFICATION_ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The ID of the notification. If not specified returns all.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<section xml:id="monascaclient_subcommand_notification-update">
|
|
<title>monasca notification-update</title>
|
|
<screen><computeroutput>usage: monasca notification-update <NOTIFICATION_ID> <NOTIFICATION_NAME>
|
|
<TYPE> <ADDRESS></computeroutput></screen>
|
|
<para>
|
|
Update notification.
|
|
</para> <variablelist wordsize="10">
|
|
<title>Positional arguments</title>
|
|
<varlistentry>
|
|
<term><command><NOTIFICATION_ID></command></term>
|
|
<listitem>
|
|
<para>
|
|
The ID of the notification.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command><NOTIFICATION_NAME></command></term>
|
|
<listitem>
|
|
<para>
|
|
Name of the notification.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command><TYPE></command></term>
|
|
<listitem>
|
|
<para>
|
|
The notification type. Type must be either EMAIL,
|
|
WEBHOOK, or PAGERDUTY.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><command><ADDRESS></command></term>
|
|
<listitem>
|
|
<para>
|
|
A valid EMAIL Address, URL, or SERVICE KEY
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
</chapter>
|