|
| 1 | +About this fork |
| 2 | +=============== |
| 3 | + |
| 4 | +This repository is a fork of [alerta/docker-alerta](https://github.com/alerta/docker-alerta), |
| 5 | +maintained by [Gapit](https://github.com/gapitio). The image is built from Gapit's |
| 6 | +forks of the Alerta components instead of the upstream packages: |
| 7 | + |
| 8 | +| Component | Fork | Upstream | |
| 9 | +|-----------|------|----------| |
| 10 | +| API server (backend) | [gapitio/alerta](https://github.com/gapitio/alerta) | [alerta/alerta](https://github.com/alerta/alerta) | |
| 11 | +| Web UI (frontend) | [gapitio/alerta-webui](https://github.com/gapitio/alerta-webui) | [alerta/alerta-webui](https://github.com/alerta/alerta-webui) | |
| 12 | +| CLI / Python SDK | [gapitio/python-alerta-client](https://github.com/gapitio/python-alerta-client) | [alerta/python-alerta-client](https://github.com/alerta/python-alerta-client) | |
| 13 | +| Docker image | [gapitio/docker-alerta](https://github.com/gapitio/docker-alerta) | [alerta/docker-alerta](https://github.com/alerta/docker-alerta) | |
| 14 | + |
| 15 | +The image is published as `ghcr.io/gapitio/docker-alerta`. See |
| 16 | +[CHANGELOG.md](CHANGELOG.md) for per-release changes. |
| 17 | + |
| 18 | +The fork is not API-compatible with upstream Alerta in every respect. Several |
| 19 | +alert fields (`type`, `group`, `repeat`, `trendIndication`) and event correlation |
| 20 | +have been removed, and some API routes and scopes have changed. |
| 21 | + |
| 22 | +Functionality added in gapitio/alerta (API server) |
| 23 | +-------------------------------------------------- |
| 24 | + |
| 25 | +### Notifications |
| 26 | + |
| 27 | +- **Notification rules** – decide which alerts send a notification and who gets |
| 28 | + it. When an incoming alert matches a rule, a notification (SMS, email or voice |
| 29 | + call) is sent through the rule's notification channel to the rule's users, |
| 30 | + notification groups and extra phone numbers or emails, and optionally to |
| 31 | + whoever is on call. Rules match on environment, service, resource, event, tags |
| 32 | + (all/any and excluded tags), severity/status triggers with custom message |
| 33 | + texts, days and time windows, and can delay sending. Rules can be muted, |
| 34 | + deactivated until a reactivation date, and previewed to see which alerts would |
| 35 | + trigger them. Each rule keeps a history of who created, changed or deleted it. |
| 36 | +- **Notification channels** – SMS, email and voice through Twilio (credentials or |
| 37 | + API keys), SendGrid, SMTP and Link Mobility / MyLink, with encrypted credentials |
| 38 | + and a channel test endpoint. |
| 39 | +- **Notification groups** – named groups of users plus extra phone numbers and |
| 40 | + emails, so a rule can notify a whole team without listing each person. |
| 41 | +- **On-call schedules** – define which users or notification groups are on call |
| 42 | + in a date and time range, repeating on selected days, weeks or months, with a |
| 43 | + time offset. Notification rules with on-call enabled notify whoever is on call |
| 44 | + when the alert arrives. |
| 45 | +- **Notification history** – searchable log of every notification sent, with its |
| 46 | + rule, alert, receivers and whether it was sent successfully. |
| 47 | +- **Manual sends** – send a custom SMS or email through a notification channel to |
| 48 | + selected users and notification groups, outside of any rule. |
| 49 | + |
| 50 | +### Escalation |
| 51 | + |
| 52 | +- **Escalation rules** – raise the severity of alerts that stay open longer than a |
| 53 | + set time, matched on environment, service, resource, event, tags (including |
| 54 | + excluded tags) and severity/status triggers, limited to selected days and time |
| 55 | + windows. Run periodically by the `alerta escalate` CLI command. |
| 56 | + |
| 57 | +### Alerts |
| 58 | + |
| 59 | +- **Alarm model** – `alerta_isa_18_2`, combining the Alerta and ISA 18.2 alarm models |
| 60 | + (including open, unack and close actions), and restricting severities to the |
| 61 | + alarm model. |
| 62 | +- **Alert fields** – `type`, `group`, `repeat` and `trendIndication` removed, event |
| 63 | + correlation removed, duplicate alerts update all fields, and a new tagging |
| 64 | + structure. |
| 65 | +- **Bulk operations** – bulk post, bulk actions and bulk delete of alerts. |
| 66 | +- **Search and filtering** – per-column filters with negation (`!`) and multiple |
| 67 | + values, saved filter tabs for alert and history views, stable sorting on id, |
| 68 | + `return-keys` to reduce response size, and page size "all". |
| 69 | +- **History** – alert history linked to its alert via `alert_id`, with filtering |
| 70 | + on environment. |
| 71 | +- **Actions** – separate shelve/ack timeouts, scopes per alert action, and timeout |
| 72 | + units for actions. |
| 73 | +- **Notes** – notes plugin that clears notes when an alert returns to normal. |
| 74 | +- **Heartbeats** – heartbeat alerts kept in a dedicated `Heartbeats` environment, |
| 75 | + support for external heartbeats. |
| 76 | + |
| 77 | +### Other |
| 78 | + |
| 79 | +- **Authentication** – custom OIDC scopes, OIDC roles saved on users, OIDC SSL |
| 80 | + verify option, LDAP email edit setting. |
| 81 | +- **Reports and exports** – CSV export of top offenders, flapping and standing |
| 82 | + alerts, and export of the manual setup. |
| 83 | +- **Configuration** – hide pages in the navigation bar, frontend base URL, and the |
| 84 | + Gapit version shown in the config view. |
| 85 | + |
| 86 | +Functionality added in gapitio/alerta-webui (Web UI) |
| 87 | +---------------------------------------------------- |
| 88 | + |
| 89 | +- Upgraded to current Vue and Vuetify with Gapit styling, a collapsible |
| 90 | + navigation bar and per-user preferences. |
| 91 | +- Pages for notification rules, channels, groups, on-call schedules, escalation |
| 92 | + rules, notification history and manual notification sends. |
| 93 | +- Per-column filters and simple search for the alert and history tables, |
| 94 | + editable filter tabs, filter and sort state kept in the URL hash, sortable |
| 95 | + attribute columns, and a watch switch for the alert table. |
| 96 | +- Bulk notes, bulk actions and bulk delete of alerts; dialogs with timeouts for |
| 97 | + ack and shelve; tooltips and custom confirmation dialogs. |
| 98 | +- Export of alerts, history, notification history and reports. |
| 99 | +- Support for serving the UI under a sub-path (base URL), custom OIDC scopes, a |
| 100 | + setting for the maximum number of alerts shown with actions, and custom users |
| 101 | + for API keys. |
| 102 | + |
| 103 | +Functionality added in gapitio/python-alerta-client (CLI) |
| 104 | +--------------------------------------------------------- |
| 105 | + |
| 106 | +- `escalate` command for running escalation rules. |
| 107 | +- Commands for reactivating notification rules and firing delayed notification |
| 108 | + rules. |
| 109 | +- Faster heartbeat handling: alerts are only sent on new events or status |
| 110 | + changes, in bulk, with progress output, and in the `Heartbeats` environment. |
| 111 | +- Housekeeping updated for the fork (no correlation, no expired/info deletion). |
| 112 | + |
| 113 | +Functionality added in gapitio/docker-alerta (this image) |
| 114 | +--------------------------------------------------------- |
| 115 | + |
| 116 | +- Multi-stage build that installs the backend, web UI and client from the gapitio |
| 117 | + release artifacts, with the external plugins removed. |
| 118 | +- `FRONTEND_BASE_URL` to serve the web UI under a sub-path, with nginx redirects |
| 119 | + that keep the base path. |
| 120 | +- Housekeeping jobs for automatic unshelve and unack, notification delays, and |
| 121 | + the `HOUSEKEEPING` API key scopes needed by the heartbeat and notification |
| 122 | + commands. |
| 123 | +- `GAPIT_VERSION` baked into the image and shown in the UI. |
| 124 | + |
1 | 125 | What is Alerta? |
2 | 126 | =============== |
3 | 127 |
|
|
0 commit comments