mirror of
https://github.com/FAUSheppy/athq-vm-management
synced 2025-12-06 05:41:35 +01:00
fix: add nsca config generation
This commit is contained in:
13
templates/nsca_server.conf.j2
Normal file
13
templates/nsca_server.conf.j2
Normal 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 %}
|
||||
Reference in New Issue
Block a user