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.
Command | Description |
---|---|
Describes an alert |
|
Creates new alert for standalone runtime |
|
Modifies alert for standalone runtime |
|
Lists all alerts for standalone runtimes in the environment |
runtime-mgr standalone-alert describe
> runtime-mgr standalone-alert describe [options] <alertId>
This command describes the alert passed in alertId
.
This command accepts only the default options: --help
, -f
/--fields
and -o
/--output
.
runtime-mgr standalone-alert create
> runtime-mgr standalone-alert create [options] <name>
This command creates a new alert for a standalone runtime with the ID passed in name
.
The alert name
is limited to 256 characters.
Besides the default --help
, -f
/--fields
and -o
/--output
options, this command also takes:
Option | Description |
---|---|
|
Alert severity |
|
Alert resource type |
|
Alert resource ID. Can be used multiple types. If not provided alert triggers for all resources. Depending on |
|
Alert trigger condition |
|
Condition duration in minutes |
|
Condition threshold number |
|
Condition operator explaining values relation to threshold. |
|
Alert notification email subject |
|
Alert notification email body |
|
Username to send alert notification to. Can be used multiple times to specify up to 20 platform user IDs. |
|
Email address to send alert notification to. Can be used multiple times to specify up to 20 email addresses. |
runtime-mgr standalone-alert modify
> runtime-mgr standalone-alert modify [options] <alertId>
This command modifies the alert passed in alertId
.
Besides the default --help
, -f
/--fields
and -o
/--output
options, this command also takes:
Option | Description |
---|---|
|
Alert name |
|
Alert severity |
|
Alert resource type |
|
Alert resource ID. Can be used multiple types. If not provided alert triggers for all resources. Depending on |
|
Alert trigger condition |
|
Condition duration in minutes |
|
Condition threshold number |
|
Condition operator explaining values relation to threshold. |
|
Alert notification email subject |
|
Alert notification email body |
|
Username to send alert notification to. Can be used multiple times to specify up to 20 platform user IDs. |
|
Email address to send alert notification to. Can be used multiple times to specify up to 20 email addresses. |