ComputeStacks offers hooks into key events, which allow you to receive notifications on various channels.

Available Notifications

Users

For end-users, you have access to the following notifications:

Name Description
ContainerBootFailed Attempt to automatically recover a container has failed
ContainerCreated Container is created
ContainerCpuUsage Container CPU usage has been above 85% for more than 1 minute
ContainerDestroyed Container has been deleted
ContainerMemoryUsage Container memory usage has been above 85% for more than 1 minute

Administrators

This is in addition to the notifications available to users.

Name Description
NewOrder A new order is receive
UserActivated A user is unsuspended
UserCreated A user is created
UserDeleted A user is deleted
UserSuspended A user is suspended
DiskWillFillIn4Hours A disk on a node will be full in <em>4 hours</em> at the current rate
ExporterDown A node exporter has failed
HighCpuLoad A node has excessive cpu usage
NodeUp A node has come online
OutOfDiskSpace A node is out of disk space
OutOfInodes A node is out of disk inodes
OutOfMemory A node is out of memory
UnusualDiskReadLatency Unusual disk read latency
UnusualDiskWriteLatency Unusual disk write latency

Notification Channels

Email

Sends an email to the specified address

Google Chat

To generate a webhook url, navigate to your google chat room and select the dropdown icon next to the room name; select Manage webhooks.

Keybase

To generate a webhook url, navigate to the chat room and click the (i) icon in the upper right-hand corner. Choose 'Bots' and add the Webhook Bot.

Matrix

!!! note "" New to Matrix? We recommend deploying your own Matrix installation using this ansible playbook{: target="_blank" }.