Setting up Account 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 or via Hipchat, iOS push, Slack or Webhooks.
Editing account notifications
- Open your Dashboard
- Click on your account avatar (top-right) and select Account Settings
- Click on Notifications in the left panel
- Click on the tab for the notification type (either Account notification or Application notifications)
- Next to each notification type, click on the icon(s) of the channel through which you want to be notified. (Clicking the icons of already active channels deactivates them)
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.
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 account suspended notifications. You can easily turn email notifications on or off for each type by clicking on the email icon.
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.
Hipchat has been discontinued by Atlassian and as a result we're going to sunset our Hitchat support on the 31st of August 2019. Consider migrating to Slack (see above) which we will continue support.
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 account notifications page, you can add this token and select which room you would like your notifications to appear in.
Download the Cloud 66 iOS application to get iOS push notifications on your phone.
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:
|timestamp||Epoch timestamp of when the event was sent|
|event_type||Type of the event, see below|
The following event types are available:
|account.provision.ok||Account provisioned succesfully|
|account.provision.fail||Account provision failed|
|account.redeploy.ok||Account redeployed succesfully|
|account.redeploy.fail||Account redeploy failed|
|server.stopped||Server heartbeat stopped|
|server.backon||Sever heartbeat restored|
|job.fail||Job run failed|
|job.backon||Job run succeeded (after fail)|
|process.down||Process is down|
|app.auth||App authorized to access the account|
|app.deauth||App deauthorized from accessing the account|
|account.redeploy.hook.fail||Account redeployment hook failed|
|account.deploy.started||Account deployment started|