You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-09-23 14:45:20 +00:00 (in Redmine)
As we are now able to fill custom arrays with Icinga object name through the DirectorObject data type, I'd love to be able to define the following directly through the Director:
apply Notification "Send Mails for Hosts to their contact groups" to Host {
import "mail-host-notification"
user_groups = host.vars.contact_groups
assign where host.vars.contact_groups
}
apply Notification "Send Mails for Services to their contact groups" to Service {
import "mail-service-notification"
user_groups = service.vars.contact_groups
assign where service.vars.contact_groups
}
The text was updated successfully, but these errors were encountered:
Would also love that.
We configure Responsible, Deputy and "others to inform" (array) via Director on hosts and services.
It would be great to be able to have less (rather than per-user) notification objects in director in this way.
E.g. something like "notify-host-mail" with Users "$host.vars.responsible$" and assign where $host.vars.responsible != "" would be nice.
This way we could reduce the number of notification objects in director to 6 per media instead of 2 per media per user (which totals with e.g. 50 users to 6 instead of 100 notifications per media)
"media" being e.g. mail, sms, telegram...
This issue has been migrated from Redmine: https://dev.icinga.com/issues/12777
Created by tgelf on 2016-09-23 14:45:20 +00:00
Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-09-23 14:45:20 +00:00 (in Redmine)
As we are now able to fill custom arrays with Icinga object name through the DirectorObject data type, I'd love to be able to define the following directly through the Director:
The text was updated successfully, but these errors were encountered: