Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSOS-2671: Update hmpps-oem ansible to include monitoring roles #608

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions ansible/group_vars/server_type_hmpps_oem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,17 @@ server_type_roles_list:
- get-ec2-facts
- set-ec2-hostname
- domain-search
- ansible-script
- epel
- oracle-19c
- oracle-secure-backup
- oracle-recovery-catalog
- oracle-db-backup
- oracle-db-housekeeping
- oracle-oms-setup
- collectd-service-metrics
- collectd-oracle-db-connected
- collectd-textfile-monitoring
- oracle-db-refresh

collectd_monitored_services_servertype:
Expand All @@ -69,9 +73,6 @@ collectd_monitored_services_servertype:
- metric_name: service_status_app
metric_dimension: oracle-ohasd
shell_cmd: "systemctl is-active oracle-ohasd"
- metric_name: service_status_app
metric_dimension: oracleasm
shell_cmd: "systemctl is-active oracleasm"

# the below vars are defined in multiple groups. Keep the values the same to avoid unexpected behaviour
roles_list: "{{ (ami_roles_list | default([]) | difference(server_type_roles_list | default([]))) + (server_type_roles_list | default([])) }}"
Loading