bundles/icinga2: admins shall receive all notifications
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-12-27 09:09:40 +01:00
parent f5dcb808c4
commit 62d7baa3ec
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -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