diff --git a/bundles/icinga2/files/icinga2/users.conf b/bundles/icinga2/files/icinga2/users.conf index b1ab301..e60615c 100644 --- a/bundles/icinga2/files/icinga2/users.conf +++ b/bundles/icinga2/files/icinga2/users.conf @@ -7,10 +7,7 @@ object User "${username}" { display_name = "${username}" enable_notifications = true period = "24x7" -% if config['is_admin']: - states = [ OK, Warning, Critical, Up, Down ] - types = [ Problem, Recovery, Custom, Acknowledgement ] -% else: +% if not config['is_admin']: states = [ OK, Warning, Critical, Up, Down ] types = [ Problem, Recovery ] % endif