forked from cosmos/cosmos-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bce0905
commit eba2696
Showing
10 changed files
with
44 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,5 @@ | |
gather_facts: no | ||
roles: | ||
- install-datadog-agent | ||
- update-datadog-agent | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
networks/remote/ansible/roles/update-datadog-agent/files/conf.d/http_check.d/conf.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
init_config: | ||
|
||
instances: | ||
- name: gaiad | ||
url: http://localhost:26657/status | ||
timeout: 1 | ||
content_match: '"latest_block_height": "0",' | ||
reverse_content_match: true | ||
|
||
- name: gaiacli | ||
url: http://localhost:1317/node_version | ||
timeout: 1 | ||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
networks/remote/ansible/roles/update-datadog-agent/handlers/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
|
||
- name: restart datadog-agent | ||
service: name=datadog-agent state=restarted | ||
|
10 changes: 10 additions & 0 deletions
10
networks/remote/ansible/roles/update-datadog-agent/tasks/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
|
||
- name: Set datadog.yaml config | ||
template: src=datadog.yaml.j2 dest=/etc/datadog-agent/datadog.yaml | ||
notify: restart datadog-agent | ||
|
||
- name: Set metrics config | ||
copy: src=conf.d/ dest=/etc/datadog-agent/conf.d/ | ||
notify: restart datadog-agent | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
|
||
#DD_API_KEY,TESTNET_NAME,CLUSTER_NAME required | ||
|
||
- hosts: all | ||
any_errors_fatal: true | ||
gather_facts: no | ||
roles: | ||
- update-datadog-agent | ||
|