CLI for Hybrid Application Alerts
Use these commands to control alerts for apps that are deployed to your local Mule server and managed with Runtime Manager. For more information about how to use these commands, refer to the Runtime Manager documentation.
Command | Description |
---|---|
Creates new alert for standalone runtime |
|
Describes an alert |
|
Lists all alerts for standalone runtimes in the environment |
|
Modifies alert for standalone runtime |
runtime-mgr:standalone-alert:create
> runtime-mgr:standalone-alert:create <name> [flags]
Creates a new alert for a standalone runtime with the ID passed in name
.
The alert name
is limited to 256 characters.
In addition to the default flags, this command accepts the following flags:
Flag | Description | Example |
---|---|---|
|
Alert trigger condition |
|
|
Alert notification email body |
|
|
Email address to send alert notification to |
|
|
Condition operator explaining values relation to threshold. |
|
|
Condition duration in minutes |
|
|
Username to send alert notification to |
|
|
Alert resource ID. If not provided alert triggers for all resources. Depending on |
|
|
Alert resource type |
|
|
Alert severity |
|
|
Alert notification email subject |
|
|
Condition threshold number |
|
This command has multi-option flags. When using multi-option flags in a command, either put the parameter before the flags or use a `-- ` (two dashes followed by a space) before the parameter. |
runtime-mgr:standalone-alert:describe
> runtime-mgr:standalone-alert:describe [flags] <alertId>
Describes the alert passed in alertId
.
This command accepts the --output
flag. Use the --output
flag to specify the response format. Supported values are table
(default) and json
.
This command accepts the default flags.
runtime-mgr:standalone-alert:list
> runtime-mgr:standalone-alert:list [flags]
Lists all alerts for standalone Mules in the current environment.
This command accepts the --output
flag. Use the --output
flag to specify the response format. Supported values are table
(default) and json
.
This command accepts the default flags.
runtime-mgr:standalone-alert:modify
> runtime-mgr:standalone-alert:modify <alertId> [flags]
Modifies the alert passed in alertId
.
In addition to the default flags, this command accepts the following flags:
Flag | Description | Example |
---|---|---|
|
Alert trigger condition |
|
|
Alert notification email body |
|
|
Email address to send alert notification to |
|
|
Alert name |
|
|
Condition operator explaining values relation to threshold. |
|
|
Condition duration in minutes |
|
|
Username to send alert notification to |
|
|
Alert resource ID. If not provided alert triggers for all resources. Depending on |
|
|
Alert resource type |
|
|
Alert severity |
|
|
Alert notification email subject |
|
|
Condition threshold number |
|
This command has multi-option flags. When using multi-option flags in a command, either put the parameter before the flags or use a `-- ` (two dashes followed by a space) before the parameter. |