datadog get-downtime
Get all active downtimes for the specified monitor or by downtime Id
Description
Get all active downtimes for the specified monitor or by downtime Id
Synopsis
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: optional
downtime
- (int)
The unique identifier of the role
Example: 1
Default: _None_
Attributes: optional
monitor
- (int)
Id of monitor
Example: --monitor 1
Default: _None_
Attributes: optional
Examples
Input:
Output:ID MESSAGE TYPE MONITOR-ID ACTIVE PARENT ACTIVE-CHILD RECURRENCE
4051468 downtime 2 null false null - months
Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "read" |
Service Type | "datadog" |
Service Instance | |
Namespace | |
Object Type | "downtime" |
Object ID |
Please see Access Control for details.