mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
Native YAML - monitoring/datadog_event (#3637)
This commit is contained in:
parent
616752c2e3
commit
3b5826b828
1 changed files with 12 additions and 7 deletions
|
@ -95,14 +95,19 @@ options:
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
# Post an event with low priority
|
# Post an event with low priority
|
||||||
datadog_event: title="Testing from ansible" text="Test!" priority="low"
|
- datadog_event:
|
||||||
api_key: "9775a026f1ca7d1c6c5af9d94d9595a4"
|
title: Testing from ansible
|
||||||
app_key: "j4JyCYfefWHhgFgiZUqRm63AXHNZQyPGBfJtAzmN"
|
text: Test
|
||||||
|
priority: low
|
||||||
|
api_key: 9775a026f1ca7d1c6c5af9d94d9595a4
|
||||||
|
app_key: j4JyCYfefWHhgFgiZUqRm63AXHNZQyPGBfJtAzmN
|
||||||
# Post an event with several tags
|
# Post an event with several tags
|
||||||
datadog_event: title="Testing from ansible" text="Test!"
|
- datadog_event:
|
||||||
api_key: "9775a026f1ca7d1c6c5af9d94d9595a4"
|
title: Testing from ansible
|
||||||
app_key: "j4JyCYfefWHhgFgiZUqRm63AXHNZQyPGBfJtAzmN"
|
text: Test
|
||||||
tags=aa,bb,#host:{{ inventory_hostname }}
|
api_key: 9775a026f1ca7d1c6c5af9d94d9595a4
|
||||||
|
app_key: j4JyCYfefWHhgFgiZUqRm63AXHNZQyPGBfJtAzmN
|
||||||
|
tags: 'aa,bb,#host:{{ inventory_hostname }}'
|
||||||
'''
|
'''
|
||||||
|
|
||||||
# Import Datadog
|
# Import Datadog
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue