mongocli atlas alerts acknowledge
On this page
mongocli atlas
commands are now deprecated because there's a new, dedicated CLI available for Atlas users. Migrate to the Atlas CLI to enjoy the same capabilities and the latest features. You can use mongocli atlas
commands until April 30, 2023.Acknowledges one alert for the specified project.
Syntax
mongocli atlas alerts acknowledge <alertID> [options]
Arguments
Name | Type | Required | Description |
---|---|---|---|
alertId | string | false | ID of the alert you want to acknowledge or un-acknowledge. |
Options
Name | Type | Required | Description |
---|---|---|---|
--comment | string | false | Optional description or comment for the entry. |
-F, --forever | false | Acknowledges an alert 'forever'. | |
-h, --help | false | help for acknowledge | |
-o, --output | string | false | Output format. Valid values are json, json-path, go-template, or go-template-file. |
--projectId | string | false | Project ID to use. Overrides the settings in the configuration file or environment variable. |
--until | string | false | Time, in ISO 8601 format, until which the alert has been acknowledged. mongocli returns this value after the alert has been acknowledged. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |