You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/admin/monitoring/notifications/index.md
+15-3
Original file line number
Diff line number
Diff line change
@@ -29,14 +29,14 @@ These notifications are sent to the workspace owner:
29
29
30
30
### User Events
31
31
32
-
These notifications sent to users with **owner** and **user admin** roles:
32
+
These notifications are sent to users with **owner** and **user admin** roles:
33
33
34
34
- User account created
35
35
- User account deleted
36
36
- User account suspended
37
37
- User account activated
38
38
39
-
These notifications sent to users themselves:
39
+
These notifications are sent to users themselves:
40
40
41
41
- User account suspended
42
42
- User account activated
@@ -48,6 +48,8 @@ These notifications are sent to users with **template admin** roles:
48
48
49
49
- Template deleted
50
50
- Template deprecated
51
+
- Out of memory (OOM) / Out of disk (OOD)
52
+
-[Configure](#configure-oomood-notifications) in the template `main.tf`.
51
53
- Report: Workspace builds failed for template
52
54
- This notification is delivered as part of a weekly cron job and summarizes
53
55
the failed builds for a given template.
@@ -63,6 +65,16 @@ flags.
63
65
| ✔️ |`--notifications-method`|`CODER_NOTIFICATIONS_METHOD`|`string`| Which delivery method to use (available options: 'smtp', 'webhook'). See [Delivery Methods](#delivery-methods) below. | smtp |
64
66
| -️ |`--notifications-max-send-attempts`|`CODER_NOTIFICATIONS_MAX_SEND_ATTEMPTS`|`int`| The upper limit of attempts to send a notification. | 5 |
65
67
68
+
### Configure OOM/OOD notifications
69
+
70
+
You can monitor out of memory (OOM) and out of disk (OOD) errors and alert users
71
+
when they overutilize memory and disk.
72
+
73
+
This can help prevent agent disconnects due to OOM/OOD issues.
74
+
75
+
To enable OOM/OOD notifications on a template, follow the steps in the
0 commit comments