datadog mute-monitor
Mute the specified monitor
Description
Mute 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
end
- (time)
time for when the mute should end
Example: --end "2019-10-12T07:20:50.52Z"
Default: _None_
Attributes: required
Examples
Input:
Output:ID NAME MESSAGE TYPE TAGS MUTED-TILL QUERY
78570 testNames2 create moniotr query alert testta 1674395181 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.