datadog unmute-monitor
Delete the specified monitor
Description
Delete the specified monitor
Synopsis
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: optional
monitor
- (int)
The ID of the monitor
Example: 1
Default: _None_
Attributes: required
scope
- (string)
The scope to apply the mute to. For example, if your alert is grouped by {host}, you might mute host:app1
Example: --scope "scope-1"
Default: _None_
Attributes: optional
all_scopes
- (bool)
Clear muting across all scopes
Example: --all_scopes
Default: false
Attributes: required
Examples
Input:
Output:ID NAME MESSAGE TYPE TAGS QUERY
78570 testNames2 create moniotr query alert testta avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100
Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "update" |
Service Type | "datadog" |
Service Instance | |
Namespace | |
Object Type | "monitor" |
Object ID | monitor |
Please see Access Control for details.