Skip to content

Commit

Permalink
logs
Browse files Browse the repository at this point in the history
  • Loading branch information
james committed Dec 11, 2024
1 parent e4aa761 commit 9411979
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ansible/dd_monitor/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@
datadog_site: "{{ DATADOG_SITE }}"
datadog_config:
hostname: "{{ VM_HOSTNAME }}"
logs_enabled: true
tags:
- msm_location:{{ MSM_LOCATION }}
datadog_additional_groups: "systemd-journal"
datadog_checks:
logs:
- type: journald
path: /var/log/journal/

- name: Install datadog-ping
ansible.builtin.command: datadog-agent integration install -r -t datadog-ping==1.0.2
Expand Down
3 changes: 3 additions & 0 deletions ansible/dd_monitor/templates/tcp_check.d.conf.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@ instances:
host: 10.70.188.13
port: 22
service: GSG
collect_response_time: true

- name: GSG Community Room Computers Kiosk 2
host: 10.70.188.14
port: 22
service: GSG
collect_response_time: true

- name: GSG Community Room Computers Windows Print Server
host: 10.70.188.12
port: 3389
service: GSG
collect_response_time: true

0 comments on commit 9411979

Please sign in to comment.