Docs Menu
Docs Home
/ /
MongoDB Command Line Interface
/ / /

mongocli ops-manager alerts acknowledge

On this page

  • Syntax
  • Arguments
  • Options
  • Inherited Options

Acknowledges one alert for the specified project.

mongocli ops-manager alerts acknowledge <alertID> [options]
Name
Type
Required
Description
alertId
string
false
ID of the alert you want to acknowledge or un-acknowledge.
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.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.

Back

alerts