fix: add nsca config generation

This commit is contained in:
2022-12-28 20:19:18 +01:00
parent 4f5c415874
commit 0224997b55
3 changed files with 25 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
command_file = "/run/icinga2/cmd/icinga2.cmd"
user = "nagios"
log_level = 4
{% for vmo in vmList %}
authorize "{{ vmo.hostname }}" {
password = "{{ password }}"
hosts = "{{ vmo.hostname }}"
services = {
"*",
}
}
{% endfor %}