New in version 1.3.
Allows to post events to DataDog (www.datadoghq.com) service. Uses http://docs.datadoghq.com/api/#events API.
parameter | required | default | choices | comments |
---|---|---|---|---|
aggregation_key | no | An arbitrary string to use for aggregation. |
||
alert_type | no | info |
| Type of alert. |
api_key | yes | Your DataDog API key. |
||
app_key (added in 2.2)
| yes | Your DataDog app key. |
||
date_happened | no | now |
POSIX timestamp of the event.
Default value is now.
|
|
priority | no | normal |
| 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 |
| If no , SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. |
# Post an event with low priority datadog_event: title="Testing from ansible" text="Test!" priority="low" api_key: "9775a026f1ca7d1c6c5af9d94d9595a4" app_key: "j4JyCYfefWHhgFgiZUqRm63AXHNZQyPGBfJtAzmN" # Post an event with several tags datadog_event: title="Testing from ansible" text="Test!" api_key: "9775a026f1ca7d1c6c5af9d94d9595a4" app_key: "j4JyCYfefWHhgFgiZUqRm63AXHNZQyPGBfJtAzmN" tags=aa,bb,#host:{{ inventory_hostname }}
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, developing_test_pr and Developing Modules.
© 2012–2016 Michael DeHaan
© 2016 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/datadog_event_module.html