mongocli cloud-manager alerts list
On this page
Retrieves all alerts for the specified Atlas project.
Syntax
mongocli cloud-manager alerts list [options]
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for list | |
--limit | int | false | Number of items per page. |
-o, --output | string | false | Output format. Valid values are json, json-path, go-template, or go-template-file. |
--page | int | false | Page number. |
--projectId | string | false | Project ID to use. Overrides the settings in the configuration file or environment variable. |
--status | string | false | Alert's status. The values are TRACKING, OPEN, CLOSED, and CANCELED. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |
Examples
This example uses the "mongocli atlas alerts list" command to retrieve all alerts that occurred for the specified project. It uses the profile named "myprofile" for accessing Atlas. $ mongocli atlas alerts list \ --projectId 5df90590f10fab5e33de2305 \ -o json \ --profile myprofile