Cloud 66

Stack notifications

Email, iOS, Hipchat, Slack and Webhook notifications

Contents

About receiving stack notifications

You can control when and how you would like to receive notifications from Cloud 66. There is a range of events that trigger notifications, which can be sent as emails, Hipchat, via iOS push, Slack or Webhooks. Each stack can have its own notification settings and channels.

Viewing your stack notifications

Stack notifications can be accessed from the right sidebar of your stack page, and feature notifications for events such as failed backups or jobs, stack deployments and many more.

Setting up your notification types

Browser notifications

Browser notifications use HTML5 to notify you of your selected events directly in supported browsers. Once enabled, your browser will ask your permission for these notifications to be shown.

Emails

Email notifications are enabled by default for all users. By default, you will get an email for a number of events, with the exception of deployment start notifications. You can easily turn email notifications on or off for each type by clicking on the email icon.

Hipchat

Hipchat is a hosted realtime chat service by Atlassian, and you can link your account to Cloud 66 to receive notifications on Hipchat.

From the Hipchat Account settings menu, click API access, and then the link for API version 1. Once on the API v1 page, create an API token. By selecting the Hipchat icon on the Stack notifications page, you can add this token and select which room you would like your notifications to appear in.

iOS

Download the Cloud 66 iOS application to get iOS push notifications on your phone.

Slack

Slack is a real-time messaging, archiving and search application developed by Tiny Speck.

Visit the Slack Integrations page and select the Cloud 66 integration. Choose the channel you would like to receive notifications in (or create a new one), and click Add Cloud 66 Integration. You will then receive a URL, which you can provide in Cloud 66 integration modal.

Webhooks

The Webhooks standard uses HTTP POST to connect different systems, and is very simple to use but very powerful.

All notification types from Cloud 66 can trigger a webhook. To setup your webhook, click on the Webhook icon. There you can enter the URL for your webhook endpoint and test it to see how it behaves.

Each event type has its own payload that is sent to the endpoint via HTTP POST. The payload is the same as the one used with the API with two additional fields: timestamp and event_type:

Attribute Description
timestamp Epoch timestamp of when the event was sent
event_type Type of the event, see below

The following event types are available:

Event Type Description
stack.provision.okStack provisioned succesfully
stack.provision.failStack provision failed
stack.redeploy.okStack redeployed succesfully
stack.redeploy.failStack redeploy failed
server.stoppedServer heartbeat stopped
server.backonSever heartbeat restored
job.failJob run failed
job.backonJob run succeeded (after fail)
process.downProcess is down
app.authApp authorized to access the account
app.deauthApp deauthorized from accessing the account
stack.redeploy.hook.failStack redeployment hook failed
stack.deploy.startedStack deployment started
container.downContainer is down