Skip to content

Commit

Permalink
rename domon to mms
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Gumprich committed Aug 7, 2023
1 parent c510de1 commit 89823c6
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Check out the 'Documentation' part for this collection [here](https://github.com

| playbook| description
|------------|-----------------------------------------------------------------------
| domon_standard.yml | create a timeperiod and service template to use for other checks
| mms_standard.yml | create a timeperiod and service template to use for other checks
| azure_oauth_token.yml | get azure oauth token to use in other checks
| check_gitlab_scheduler.yml | check gitlab scheduled pipelines
| check_https.yml | check https reachability and certificates
Expand All @@ -69,8 +69,8 @@ Check out the 'Documentation' part for this collection [here](https://github.com
You can use these playbooks in your playbook like this:

```
- name: Import domon standard playbook to create services that other checks depend on
import-playbook: t_systems_mms.ansible_collection_icinga.domon_standard
- name: Import mms standard playbook to create services that other checks depend on
import-playbook: t_systems_mms.ansible_collection_icinga.mms_standard
- name: Import playbook to create azure oauth token check
import-playbook: t_systems_mms.ansible_collection_icinga.check_azure_oauth_token
Expand All @@ -85,7 +85,7 @@ You can use these playbooks in your playbook like this:

Or call them from the command line:
```
ansible-playbook t_systems_mms.ansible_collection_icinga.domon_standard
ansible-playbook t_systems_mms.ansible_collection_icinga.mms_standard
ansible-playbook t_systems_mms.ansible_collection_icinga.check_azure_oauth_token
ansible-playbook t_systems_mms.ansible_collection_icinga.check_gitlab_scheduler
ansible-playbook t_systems_mms.ansible_collection_icinga.check_https
Expand Down
12 changes: 6 additions & 6 deletions playbooks/check_https.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
url_username: "{{ icinga_user }}"
url_password: "{{ icinga_pass }}"
tasks:
- name: Create service template for domon-https
- name: Create service template for mms-https
telekom_mms.icinga_director.icinga_service_template:
state: present
object_name: domon-https
object_name: mms-https
imports:
- domon-standard-service
- mms-standard-service
check_command: http
check_interval: 300
vars:
Expand All @@ -24,10 +24,10 @@
http_ssl: true
http_timeout: 30

- name: Create service template for domon-https
- name: Create service template for mms-https
telekom_mms.icinga_director.icinga_service_template:
state: present
object_name: domon-https-certificate
object_name: mms-https-certificate
imports:
- domon-https
- mms-https
check_timeout: 60
2 changes: 1 addition & 1 deletion playbooks/check_json_azure_restapi.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: Create service template for domon-standard-service and azure REST-API
- name: Create service template for mms-standard-service and azure REST-API
hosts: localhost
gather_facts: false
module_defaults:
Expand Down
4 changes: 2 additions & 2 deletions playbooks/check_json_azure_restapi_resourcehealth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
- name: Create service template for azure REST-API ResourceHealth
telekom_mms.icinga_director.icinga_service_template:
state: present
object_name: domon-json-azure_restapi_resourcehealth
object_name: mms-json-azure_restapi_resourcehealth
imports:
- domon-standard-service
- mms-standard-service
check_command: check_json_azure_restapi
check_interval: 5m
vars:
Expand Down
8 changes: 4 additions & 4 deletions playbooks/domon_standard.yml → playbooks/mms_standard.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- name: Create domon-standards
- name: Create mms-standards
hosts: localhost
gather_facts: false
module_defaults:
Expand All @@ -7,7 +7,7 @@
url_username: "{{ icinga_user }}"
url_password: "{{ icinga_pass }}"
tasks:
- name: Create timeperiod for domon-standard-service
- name: Create timeperiod for mms-standard-service
telekom_mms.icinga_director.icinga_timeperiod:
state: present
object_name: 24/7
Expand All @@ -20,10 +20,10 @@
saturday: "00:00-24:00"
sunday: "00:00-24:00"

- name: Create service template for domon-standard-service
- name: Create service template for mms-standard-service
telekom_mms.icinga_director.icinga_service_template:
state: present
object_name: domon-standard-service
object_name: mms-standard-service
max_check_attempts: "3"
check_period: "24/7"
check_interval: "2m"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/template_empty_host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
- name: Create a host in icinga
telekom_mms.icinga_director.icinga_host_template:
state: present
object_name: domon-template-empty-host
object_name: mms-template-empty-host
check_command: dummy
2 changes: 1 addition & 1 deletion tests/integration/targets/icinga/runme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -eux

ansible-playbook t_systems_mms.ansible_collection_icinga.domon_standard -e "@../../integration_config.yml" "$@"
ansible-playbook t_systems_mms.ansible_collection_icinga.mms_standard -e "@../../integration_config.yml" "$@"
ansible-playbook t_systems_mms.ansible_collection_icinga.check_azure_oauth_token -e "@../../integration_config.yml" "$@"
ansible-playbook t_systems_mms.ansible_collection_icinga.check_gitlab_scheduler -e "@../../integration_config.yml" "$@"
ansible-playbook t_systems_mms.ansible_collection_icinga.check_https -e "@../../integration_config.yml" "$@"
Expand Down

0 comments on commit 89823c6

Please sign in to comment.