bundles/icinga2: admins shall receive all notifications
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
f5dcb808c4
commit
62d7baa3ec
1 changed files with 1 additions and 4 deletions
|
@ -7,10 +7,7 @@ object User "${username}" {
|
||||||
display_name = "${username}"
|
display_name = "${username}"
|
||||||
enable_notifications = true
|
enable_notifications = true
|
||||||
period = "24x7"
|
period = "24x7"
|
||||||
% if config['is_admin']:
|
% if not config['is_admin']:
|
||||||
states = [ OK, Warning, Critical, Up, Down ]
|
|
||||||
types = [ Problem, Recovery, Custom, Acknowledgement ]
|
|
||||||
% else:
|
|
||||||
states = [ OK, Warning, Critical, Up, Down ]
|
states = [ OK, Warning, Critical, Up, Down ]
|
||||||
types = [ Problem, Recovery ]
|
types = [ Problem, Recovery ]
|
||||||
% endif
|
% endif
|
||||||
|
|
Loading…
Reference in a new issue