self-hosting/roles/icinga2_master/templates/conf.d/api-users.conf.j2

12 lines
268 B
Django/Jinja

# {{ ansible_managed }}
object ApiUser "nagstamon" {
password = "{{ nagstamon_pwd }}"
permissions = [
"objects/query/Host",
"objects/query/Service",
"actions/reschedule-check",
"actions/acknowledge-problem",
"actions/schedule-downtime",
]
}