Set Alert upon Failure

You can always view the software update status in the Deployments tab. You can also receive an alert if the software update fails. This page describes how to configure an alert upon failure.

Overview

At any time, you can check the status of a software update in the Deployments tab. In addition, you can configure a deployment to send you an alert if the deployment fails. The alert will tell you which device(s) the software update failed on and the time of the failure.

All you have to do is define the channel for the alert, such as an email address or a webhook. This enables you to be informed about failures when you are away from your desk or busy with other things.

Create an Alert Channel

Before you can create an alert, you need to configure one or more communication channels on which the alerts will be delivered to you. The channel can be an email address or a webhook to a pager device or an application like Slack.

For more information about creating a channel, see Create Alerts.

Aggregation of Alerts

When your software deployment is to a large number of devices, there could be many failures within a short period of time. JFrog Connect’s default behavior is to send an alert for each failure. However, you can choose to aggregate several alerts into a single message by defining an aggregation duration. For example, if you enable alert aggregation and define an aggregation duration of 10 minutes, you will receive only a single notification over a 10 minute period, and each notification will list all the failures that occurred during the 10 minutes.

Since aggregation is per deployment, you will receive separate alert messages for each software update.

Enabling aggregation of alerts for update failures is a two-part process:

  • Enable bundling in the New Channel configuration.

  • Set the Aggregation Duration when you configure an Alert upon Update Failure.

Create a Alert on Update Failure

To create an alert for a deployment failure, do the following:

  1. When you create a new deployment, under Deployment Configuration mark Alert on Update Failure.

  1. Choose an alert channel from the dropdown box and click Apply. You can do this again if you want to define multiple channels. For large deployments, it is recommended to choose channels that have bundling (alert aggregation) enabled.

  1. Set an Aggregation Duration in minutes. The default duration is 10 minutes.

What’s Next?

Learn how you can view the deployment details of your software update.

Last updated