Documentation

datadog_event - Posts events to DataDog service

New in version 1.3.

Synopsis

Allows to post events to DataDog (www.datadoghq.com) service. Uses http://docs.datadoghq.com/api/#events API.

Options

parameter required default choices comments
aggregation_key
no
    An arbitrary string to use for aggregation.
    alert_type
    no info
    • error
    • warning
    • info
    • success
    Type of alert.
    api_key
    yes
      Your DataDog API key.
      date_happened
      no now
        POSIX timestamp of the event.
        Default value is now.
        priority
        no normal
        • normal
        • low
        The priority of the event.
        tags
        no
          Comma separated list of tags to apply to the event.
          text
          yes
            The body of the event.
            title
            yes
              The event title.
              validate_certs
              (added in 1.5.1)
              no yes
              • yes
              • no
              If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.

              Examples

              # Post an event with low priority
              datadog_event: title="Testing from ansible" text="Test!" priority="low"
                             api_key="6873258723457823548234234234"
              # Post an event with several tags
              datadog_event: title="Testing from ansible" text="Test!"
                             api_key="6873258723457823548234234234"
                             tags=aa,bb,#host:{{ inventory_hostname }}
              

              This is an Extras Module

              For more information on what this means please read Extras Modules

              For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Helping Testing PRs and Developing Modules.