[Hawkular-dev] [Alerts] Requeriments for notifications and current work

Lucas Ponce lponce at redhat.com
Thu Feb 12 11:33:15 EST 2015


> 
> Le 11/02/2015 10:40, Lucas Ponce a écrit :
> > Req2: There are two concepts: plugin (notifier type) and notifier
> > -----------------------------------------------------------------
> >
> > A plugin will be responsible of a type of notifications
> > (i.e. email-plugin, sms-plugin, snmp-plugin, etc...).
> >
> > A notifier is a representation of a destination with status about how it
> > has to process the notification.
> > A notifier can be reused in several triggers definitions.
> > (i.e. in json pseudo-format
> >        { notifierId: "email-admins-and-ceo",
> >          properties: {
> >                NotifierType: "email",
> >                to: ["admin1 at corp.org","admin2 at corp.org","cep at corp.org"]
> >                template: "Incident in %MSG% at %TIME%. Alert description:
> >                %ALERT_DETAILS% ..."
> >                }
> >        }
> > )
> >
> > So, we can have several triggers definitions that will use the notifier
> > "email-admins-and-ceo".
> 
> We can have various notifiers for a single trigger definition, right?
> 
> RHQ lets you define different notifications for the same alert
> definition. Like: when server goes down:
> - email admins and ceo
> - send an snmp trap to space
> - turn the fire sprinkler system on in the developers' openspace

Yes, the trigger definition can have a list of notifier, so that scenario is possible.




More information about the hawkular-dev mailing list