mongocli ops-manager alerts acknowledge
On this page
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoCLI.
Acknowledges one alert for the specified project.
Syntax
mongocli ops-manager 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 | Acknowledge an alert “forever”. | |
-h, --help | false | help for acknowledge | |
-o, --output | string | false | Output format.
Valid values: json|json-path|go-template|go-template-file |
--projectId | string | false | Project ID to use. Overrides configuration file or environment variable settings. |
--until | string | false | Acknowledged until a date. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |