NextGen Knowledge Center

Advanced Alerting

With the Advanced Alerting plugin installed, there will also be a new trigger type available, Clustering Channel Synchronization:

When the channel synchronization process detects that an action should be taken, it will first send a Submitted event that can be triggered on.

When that action finishes, it will send one of these two triggerable events:

  • Succeeded: The task finished without any errors.
  • Failed: The task finished with errors. This usually means that the channel was not able to be deployed/started/etc. With this event, the "exception" variable containing the full error stacktrace will be available in the template context.

In addition to all of the regular template variables that are available in alert template contexts, this trigger also adds the following variables:

VariableDescription
action

The channel or connector action being taken. Will be one of:

  • Deploy, Undeploy, Start, Stop, Pause, Resume
event

The stage of the current task. Will be one of:

  • Submitted, Succeeded, Failed
startTimeA formatted date/time string displaying the time (ms precision) that the task was started.
serverIdThe ID of the server this action was taken on.
serverNameThe name of the server this action was taken on, if available.
channelIdThe ID of the channel this action was taken on.
channelNameThe name of the channel this action was taken on.
metaDataIdIf this was a connector start/stop action, this will be the metadata ID of the connector. Otherwise, this will be null.
connectorNameIf this was a connector start/stop action, this will be the name of the connector. Otherwise, this will be null.
message

A brief description of the task. Example:

Start task for channel "Test"
                                      (f7f4a8b9-ac4d-4de7-8f05-3d09453cfc74)
                                    Succeeded.
This channel was out-of-sync on server "Server 1"
                                      (0a2e856c-8a74-4162-b00d-4f0136d47416).
exceptionIf any errors occurred in the synchronization task, this will contain the full error stacktrace with more information.
attemptCount

The number of times this task has been attempted to be performed on this server. When a task succeeds, its attempt count will be reset back to 0.

If you perform the Redeploy All Channels task, the attempt counts for all tasks will be reset on all servers.

When you perform a Deploy/Start/Resume task and it's successful, it will reset the attempt counts for that specific task (for that specific channel) on the server where it was successful.