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
The ability to add in recipients to a single email by appending them onto the To, CC, or BCC field, would be beneficial. Utilizing check or host annotations would probably be a good way to do this. This would allow teams and users to "subscribe" to the handlers in a more flexible way, and would cut down on the number of separate handlers that may, otherwise, be required.
Example: Disk checks normally go to the server team, but teamWidget would like to be CCed onto disk check alerts for their servers only. Their servers could have client annotations set up, without requiring separate checks and handlers to be configured.
The downside to this approach is in the event you have 2+ email handlers already configured for a check. Both handlers would look at the annotation configuration above, and the annotated recipients may receive two or more email notifications, instead of one. This could be avoided by having a sensu.io.plugins.email.config.handlerName configuration available in the annotations, but then this approaches another complex way of setting up the same thing normal handlers are designed for.
This is a good discussion piece, if nothing else :)
The text was updated successfully, but these errors were encountered:
This sounds similar to the contact routing guide here.
You do need multiple handlers and filters but it does use the annotations. Basically you have a handler set that encapsulates all your email handlers. The checks reference the handler set. The filters are on the handlers and allow it to proceed to the handler if the contact is in the annotations.
That's a very good point, but it would still trigger separate emails out to different teams/individuals. Sending a single email out, but adding on a CC field, would be beneficial.
The ability to add in recipients to a single email by appending them onto the To, CC, or BCC field, would be beneficial. Utilizing check or host annotations would probably be a good way to do this. This would allow teams and users to "subscribe" to the handlers in a more flexible way, and would cut down on the number of separate handlers that may, otherwise, be required.
Example: Disk checks normally go to the server team, but teamWidget would like to be CCed onto disk check alerts for their servers only. Their servers could have client annotations set up, without requiring separate checks and handlers to be configured.
The appending portion of this feature request this may conflict with the override behavior currently exhibited in filtering. Regardless, annotation support of any sort would be a nice feature.
The downside to this approach is in the event you have 2+ email handlers already configured for a check. Both handlers would look at the annotation configuration above, and the annotated recipients may receive two or more email notifications, instead of one. This could be avoided by having a
sensu.io.plugins.email.config.handlerName
configuration available in the annotations, but then this approaches another complex way of setting up the same thing normal handlers are designed for.This is a good discussion piece, if nothing else :)
The text was updated successfully, but these errors were encountered: