Files
athq-vm-management/templates/nsca_server.conf.j2

14 lines
283 B
Django/Jinja

command_file = "/run/icinga2/cmd/icinga2.cmd"
user = "nagios"
log_level = 2
{% for vmo in vmList %}
authorize "{{ vmo.hostname }}" {
password = "{% raw %}{{ nsca_server_password }}{% endraw %}"
hosts = "{{ vmo.hostname }}"
services = {
"*",
}
}
{% endfor %}