fix: change icinga log level

This commit is contained in:
2023-01-10 22:36:04 +01:00
parent 85de996862
commit 93df06e477

View File

@@ -89,6 +89,13 @@
notify:
- restart icinga
- name: Change icinga log level
lineinfile:
path: /etc/icinga2/features-enabled/mainlog.conf
regex: '^ severity = ".*"$'
line: ' severity = "warning"'
notify: restart icinga
- name: Signal command loaded from monitoring tools
lineinfile:
path: /etc/icinga2/icinga2.conf