projects
/
icinga2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1aaa10
)
This should also apply if host.vars.notification.mail is not defined, but service...
7496/head
author
Jan Wagner
<waja@cyconet.org>
Thu, 12 Sep 2019 15:20:15 +0000
(17:20 +0200)
committer
Jan Wagner
<waja@cyconet.org>
Thu, 12 Sep 2019 15:20:15 +0000
(17:20 +0200)
doc/03-monitoring-basics.md
patch
|
blob
|
history
diff --git
a/doc/03-monitoring-basics.md
b/doc/03-monitoring-basics.md
index 7dbe9ea119fdf8ac9de5a1c8d3ab7d3d309c6df7..569d0f85d60491c05b4f9b2c00c4874d14edd249 100644
(file)
--- a/
doc/03-monitoring-basics.md
+++ b/
doc/03-monitoring-basics.md
@@
-1706,7
+1706,7
@@
apply Notification "mail-service-notification" to Service {
user_groups = host.vars.notification.mail.groups
}
- assign where
host.vars.notification.mail && typeof(host.vars.notification.mail) == Dictionary
+ assign where
( host.vars.notification.mail && typeof(host.vars.notification.mail) == Dictionary ) || ( service.vars.notification.mail && typeof(service.vars.notification.mail) == Dictionary )
}
```