feat: connect new event dispatcher

This commit is contained in:
2023-07-24 16:40:06 +00:00
parent a91dbd394f
commit ab5dac0470
2 changed files with 7 additions and 4 deletions

View File

@@ -12,7 +12,10 @@ icinga_api_pass: "HISTORY_PURGED_SECRET"
icinga_api_url: "https://192.168.122.107:5665" icinga_api_url: "https://192.168.122.107:5665"
icinga_web_url: "https://icinga.atlantishq.de/" icinga_web_url: "https://icinga.atlantishq.de/"
event_dispatcher_address: https://dispatcher.atlantishq.de event_dispatcher_host: dispatcher.atlantishq.de
event_dispatcher_proto: https
event_dispatcher_port: 443
event_dispatcher_address: "{{ event_dispatcher_proto }}://{{ event_dispatcher_host }}"
event_dispatcher_user: dispatch event_dispatcher_user: dispatch
event_dispatcher_pass: HISTORY_PURGED_SECRET event_dispatcher_pass: HISTORY_PURGED_SECRET

View File

@@ -121,9 +121,9 @@
# WARNING ME LAZY BITCH, YOU HAVE TO DELETE THOSE ON THE SERVER OR IT WONT WORK # # WARNING ME LAZY BITCH, YOU HAVE TO DELETE THOSE ON THE SERVER OR IT WONT WORK #
# i mean it will work because they will be added at the end and overwrite # i mean it will work because they will be added at the end and overwrite
# previous definitions but ya know write a regex its fucking 03:39 am # previous definitions but ya know write a regex its fucking 03:39 am
- 'const signal_gateway_host = "192.168.122.110"' - 'const signal_gateway_host = "{{ event_dispatcher_host }}"'
- 'const signal_gateway_port = "5004"' - 'const signal_gateway_port = "{{ event_dispatcher_port }}"'
- 'const signal_gateway_proto = "http"' - 'const signal_gateway_proto = "{{ event_dispatcher_proto }}"'
notify: restart icinga notify: restart icinga
- name: Signal command loaded from monitoring tools - name: Signal command loaded from monitoring tools