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@corp.org","admin2@corp.org","cep(a)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.