mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
Fix verbose mode in notifications scripts
Otherwise it just spams the syslog on frequent notifications refs #5170
This commit is contained in:
parent
cbde43d2bc
commit
aa2408f2c7
@ -15,7 +15,7 @@ apply Notification "mail-icingaadmin" to Host {
|
|||||||
|
|
||||||
//interval = 2h
|
//interval = 2h
|
||||||
|
|
||||||
vars.notification_logtosyslog = true
|
//vars.notification_logtosyslog = true
|
||||||
|
|
||||||
assign where host.vars.notification.mail
|
assign where host.vars.notification.mail
|
||||||
}
|
}
|
||||||
@ -27,7 +27,7 @@ apply Notification "mail-icingaadmin" to Service {
|
|||||||
|
|
||||||
//interval = 2h
|
//interval = 2h
|
||||||
|
|
||||||
vars.notification_logtosyslog = true
|
//vars.notification_logtosyslog = true
|
||||||
|
|
||||||
assign where host.vars.notification.mail
|
assign where host.vars.notification.mail
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user