Datadog Service Check with YAML

YAML parameters for Datadog Service Check

You can find the list with common parameters for all Buddy actions here.

NameTypeDescription
action
Required
StringThe name of the action.
type
Required
StringThe type of the action. Should be set to DATADOG_STATUS_CHECK.
integration_id
Required
IntegerThe ID of the integration.
host_nameStringThe Host name to associate with the event. Any tags associated with the host will also be applied to this event.
statusIntegerAn integer for the status of the check.
checkStringThe text for the message.
messageStringA description of why this status occurred.
regionStringThe Datadog region. Can be one of NA or EU. If not set, the default is NA.

YAML example for Datadog Service Check

actions:
- action: "Datadog Service Check Action"
type: "DATADOG_STATUS_CHECK"
trigger_time: "ON_EVERY_EXECUTION"
host_name: "$host"
status: 2
check: "Pipeline Execution"
message: "And let me tell you all about it here!"
region: "EU"
integration_id: 1
variables:
- key: "host"
value: "linux"