The notification centre

Atlas gathers in one place, the notification centre, everything it has to tell you: the outcome of a long operation (a module installed, an update, a backup, a mail import), a service of the…

Atlas gathers in one place, the notification centre, everything it has to tell you: the outcome of a long operation (a module installed, an update, a backup, a mail import), a service of the appliance that stops and starts again, a monitoring check that goes down, your personal folder almost full, a calendar reminder, a new voicemail message, a notice from a linked Argos site. Every notification shows up in the bell of the header, stays in the history and, if you choose so, also reaches you by mail, in the browser, on the PC, on the phone, by SMS, on Telegram, in Matrix or in Home Assistant.

The administrator decides which channels exist on the appliance and which are required; everyone, in their own Preferences, decides on which channels to receive each kind of notification. This chapter first describes what every user sees (bell, history, preferences), then the administrators’ part (System → Settings → Notifications) and finally what changes with the update that brings the centre.

Who sees it and which module it depends on

What Detail
Module none: the centre is on every appliance. Some channels need something more: mail needs the mail server (Mail module; for the local user root the host’s mail sending is enough), Matrix with the appliance’s chat needs the Chat module
Bell and history every user who signs in to the console: each sees only their own notifications
The preferences everyone, from the account menu → Preferences: each their own
System → Settings → Notifications administrators only (root, Domain Admins, Administrators)
The administrators’ categories modules, updates, state of the services, backups, monitoring, quotas: only administrators see them, in the bell, in the history and in the preferences. Whoever stops being an administrator no longer sees them

The words of the notification centre

Term What it is
Notification An event that concerns you: it has a status («Queued», «Running», «Completed», «Warning», «Failed»), a title, sometimes a detail line and a link to the right page of the console
Category The kind of notification, for example «Backups and restores: problems» or «Calendar reminders». Preferences are chosen per category
Channel How a notification reaches you: «Web UI», «Browser», «Desktop», «Phone», «Mail», «SMS», «Telegram», «Matrix», «Home Assistant»
Connector The part of the appliance that talks to a channel (the mail server, the Telegram bot, the SMS gateway…). Every connector is off until an administrator turns it on; the bell needs none
System destination An address that receives the notifications of some categories besides the users: a mail list, a syslog collector, a Telegram chat, Matrix users. The mails of the update report, of the monitoring and of the backup outcomes go through here
Critical event A notification that must not be missed: for example the SMTP limits daemon down or the appliance’s backup failed. It arrives anyway on the channels the administrator made required for critical events
Required A cell of the matrix the administrator turned on for everyone: in your preferences it is on and locked

The notifications bell

The notifications bellThe notifications bell
The notifications bell

The bell («Notifications») sits in the header, between the Phone and the Favourites. Of the notifications that arrived since you last opened the bell, the numbers on the icon (up to 99, then «99+») count:

  • in green, at the top left, the ones that went well;
  • in red, at the top right, the errors and relevant warnings: an operation that failed or a notification of severity «error» or «critical».

A new notification that is neither (a minor warning, a piece of news) has no number, but the icon’s tooltip counts it among the new ones. While an operation is queued or running (a mail import, a backup going on) the bell icon turns orange; how many there are is in the icon’s tooltip and in the open bell.

Hovering over it you read the same in words: «Notifications — 3 running, 5 new». When an error or a critical event arrives the icon swings once (not if the system asks for reduced motion).

A click opens the panel:

  • at the top, «Notifications» and four buttons: «Mark all as read», «Archive all», «All notifications» (opens the history) and «Notification preferences» (opens the matrix of your preferences);
  • «Running»: the operations not finished yet, with the spinner, at most five and then «+N»;
  • the list: the last 20 notifications not archived. Each row has the status icon, the title, the status, the detail line (in red if the operation failed, in amber if it needs attention), date and time; for an update also «12 packages · 1m 3s». An unread notification has a dot and is bolder. A notification coming from an Argos site starts with «Argos site “name”: ».

Opening the panel clears only the green and red numbers: the rows stay unread until you open them or press «Mark all as read». A click on a row marks it as read and leads to the linked page (for example the Updates block of Settings); if the notification has no page, its detail opens in the history. The X on the right of the row («Archive») takes it out of the bell: it stays in the history.

While the console is open, a notification that settles also shows up as a pop-up notice at the bottom: green if it went well, amber if it needs attention, red if it failed. A failed backup does not show the error text in the notice: you read it in the bell and in the history.

Status Meaning
«Queued» the operation waits for its turn
«Running» the operation is working
«Completed» it went well
«Warning» it is over, but something needs a look
«Failed» it did not work: the detail says why

The notifications history

The notifications historyThe notifications history
The notifications history

From the account menu → Notifications (or «All notifications» in the bell) the history opens: all your notifications, also the archived ones and those that did not go through the Web UI because you chose other channels only. The path says «Notifications» and, with a notification open, «Notifications › title».

The list’s bar has the count, the search, the filters «All», «Unread», «Archived» and «Every category» (one category only), then the buttons «Mark all as read», «Delete the read ones» (it asks for confirmation: «Delete the 12 read notifications? They leave the history for good.») and «Reload». The columns are «Status», «Notification», «Category» and «Date»; the button at the start of each row marks it as read or unread without opening it. Under the title of a notification that did not go through the Web UI there is «Out of the Web UI · sent by Mail, Phone».

The detail has in its bar «Mark as read» (or «Mark as unread»), «Open the linked page» (only if there is one), «Archive» (or «Restore to the Web UI») and «Delete», with confirmation. Below, two blocks:

Block What it shows
«Notification» the title, the status and the detail line, then «Date», «Last update» (if it changed afterwards), «Category», «Origin» (only for a notification coming from outside, for example from an Argos site), «About» (for example the name of the PC or of the mailbox) and, for an update, «Packages and time»
«Deliveries» where it was sent: the channel, the address partly hidden, the state («Waiting», «Sending», «Sent», «Not sent», «Failed, retrying», «Failed»), the time and the error if any. «Shown in the Web UI only: no other channel took it.» if it went nowhere else

The history keeps at most 500 notifications per person and deletes them after 90 days; the read ones go first, the unread ones with an error stay longer. Operations still running are never deleted.

The notification preferences

The notification preferencesThe notification preferences
The notification preferences

From the account menu → Preferences (or «Notification preferences» in the bell). The page has these blocks, each with its own «Save»:

  1. «Notifications»: the matrix of categories and channels.
  2. «Language of the notifications».
  3. A block for every channel the administrator turned on: «This browser», «Other browsers», «Edon Client», «PC», «Mail», «Alternative addresses», «SMS», «Telegram», «Matrix», «Home Assistant». A channel that is off on the appliance does not show up.
  4. «Quiet hours».

The matrix: categories and channels

Each row is a category, each column a channel turned on on the appliance, in the order Web UI, Browser, Desktop, Phone, Mail, SMS, Telegram, Matrix, Home Assistant. Each cell is a switch: on, the notifications of that category reach you on that channel. The rows are only the categories that concern you: a user does not see the administrators’ ones.

  • «Web UI» off for a category: no bell and no count; the notification stays in the history when it goes out on another channel.
  • «Required», with the padlock: the administrator turned it on for everyone («Set by the administrator»). It does not turn off.
  • A small padlock on a switch you can move («Critical events: required»): the cell applies to ordinary notifications, but the critical events of that category arrive anyway. It sits only on the categories that can have critical events: the calendar or the quotas never do. Under the table: «Critical events arrive anyway on the channels the administrator requires.»
  • A column disabled with the reason under the channel’s name («No device», «No mailbox», «No number», «No Telegram chat»): the channel exists, but you have nowhere to receive it yet. Link it in its block, further down.

On a phone the table becomes a group of switches per category. «Save» confirms («Notification preferences saved.»). A cell turned on applies to the notifications that arrive from that moment.

At the start the cells are as the administrator left them in «Defaults and obligations»; if they were not touched, these apply:

Category Who sees it On at the start Notes
«Modules: installation and removal» administrators Web UI
«Operations started from Settings» administrators Web UI certificates, VPN, proxy, internet name, the domain
«Updates» administrators Web UI
«Nightly update report» administrators none the mail goes to the system destination «Destinatario degli aggiornamenti»
«EDON agents to update by hand» administrators Web UI the mail goes to the same destination
«Argos block pages: authorities on the domain PCs» administrators Web UI, Browser, Desktop, Mail a site’s authority to approve, approved, withdrawn, off the PCs or that cannot be taken off (see System)
«Argos satellites» administrators Web UI, Browser, Desktop a satellite not connected for more than 15 minutes, a new satellite, one to accept, one with a changed key, a contended channel, the enrolment of a revoked satellite (see System)
«State of the services» administrators Web UI, Browser, Desktop almost every critical event is here
«Disk quotas» administrators Web UI
«Your personal folder» everyone Web UI, Browser, Mail your folder is almost full
«Mail imports» everyone Web UI, Browser
«Calendar reminders» everyone Web UI the reminders of your calendars in the bell and in the history; no Desktop column: Edon Client already shows the reminders
«Voicemail messages» everyone Web UI, Mail the mail carries the recording; the other channels only the notice
«Backups and restores: problems» administrators Web UI, Browser, Desktop
«Backups waiting for a storage» administrators Web UI
«Backups and restores: completed» administrators Web UI
«Monitoring» administrators Web UI, Browser, Desktop
«Monthly availability report» administrators none the mail goes to the destination «Monitoraggio · report mensile»
«Your notification channels» everyone Web UI, Mail for example a new Telegram chat linked to your account
«Argos sites: …» (security, certificates, VPN, updates, system) whoever the Argos site addresses Web UI, Browser, Mail only with a linked site
«Helm: …» (assignments, deadlines, service levels) Helm’s users Web UI, Browser, Desktop only with Helm installed

SMS, Telegram, Matrix and Home Assistant are off in every category until you turn them on.

Language and quiet hours

«Language of the notifications»: «Language» is «As the interface» (at the start), «Italiano» or «English». It applies to mail and to the channels outside Atlas; an explicit choice stays even when you change the console’s language.

«Quiet hours»: with «On» on, in the hours between «From» and «To» of the chosen «Days» the «Silenced channels» wait: the notifications go out at the end of the quiet time, several together as a digest. The times are the appliance’s. «Critical events arrive anyway. The Web UI and mail are never silenced.» With «On» off the fields are disabled but keep their values.

Your channels

Each block shows up only if the administrator turned its channel on. Where there is a list, the + in the header adds an entry and a click on a row opens it in a dialog with «Name» and the buttons «Delete», «Test», «Cancel» and «Save». An entry has a state: «To confirm», «Active», «To renew», «Off», «Not working».

Block What you do
«This browser» «Permission», «Secure connection» and «Web Push» say whether the browser can show notifications. «Turn on» asks the browser for permission and, if the administrator turned Web Push on, subscribes the browser: notifications arrive also with Atlas closed. «Turn off» removes it. «Hide the content of push notifications»: a push only says that there is a new notification, the rest is read in Atlas. «Test»
«Other browsers» the browsers where you turned notifications on; a row is renamed, tested or removed
«Edon Client» the phones and PCs with Edon Client signed in to your account: they register by themselves, no +
«PC» explains what arrives on PCs and Macs (see the table below) and what the EDON agent tells Atlas about the open sessions; «Test on the PC in use»
«Mail» your account’s address (from the directory, not changed here) and «Test»
«Alternative addresses» + («Add address»): type the address and press «Send code»; type in «Code» the one that reaches the address and press «Verify». At most 3 addresses. The administrator chooses which categories may reach them (at the start only the users’ ones)
«SMS» + («Add number»): «Number» in international format (only the prefixes the administrator allows), the consent «I agree to receive notifications by SMS from … on this number», «Send code», the six-digit «Code» (valid 10 minutes, 5 attempts), «Verify». At most 3 numbers
«Telegram» + («Link Telegram»): open the link or scan the QR code («Open Telegram»), press Start in the bot’s chat; when the dialog shows «A Telegram account asked to receive the notifications of this account:» with the account’s name, press «Confirm» only if it is yours
«Matrix» with the appliance’s chat the notifications arrive in your chat of Edon, from the notices’ account; with an external homeserver + («Add Matrix address») and then you accept the invitation that arrives
«Home Assistant» + («Add destination») opens the list of the destinations the administrator offers you; a destination no longer active stays with «Not active»

Codes have limits: at most 3 codes an hour and 5 a day, a minute apart. Once a new channel is linked you receive the notification «A new Telegram account was linked to your notifications: …» (category «Your notification channels»): if it was not you, remove it at once.

What each channel carries

Not every channel carries the whole text. Those that go through a service outside the appliance carry the summary only.

Channel What arrives Does the text leave the appliance?
Web UI the whole notification no
Mail the mail in the system mails’ layout, with the button «Open in Atlas». With «Reduced text on the external channels» on (it is at the start) the mails to addresses outside the appliance carry only the summary only towards external addresses
Browser a system notification, with Atlas open; with Web Push also with Atlas closed, encrypted up to the browser. With «Hide the content of push notifications» only “there is a new notification” no: the browser’s push service carries it encrypted
Desktop through Edon Client, the notification with its text; through the EDON agent, only a generic notice (“Atlas: new notification”) that opens Atlas, with no content no
Phone (Edon Client) the push carries an identifier only: the app asks Atlas for the text no
SMS, Telegram, Home Assistant the summary: title, what it is about, link yes
Matrix with the appliance’s chat the text stays on the appliance; with an external homeserver the summary only only with an external homeserver

A voicemail message carries the recording by mail only; on the other channels the notice arrives. When several notifications wait for the same channel, only one goes out, «N new notifications», with the first titles and the link to the history; calendar reminders, voicemail messages, the update report and critical events always go out on their own.

Example: John Smith wants the calendar reminders by mail and in the bell

Situation. John Smith (jsmith) uses Atlas’s calendar and wants to receive the events’ reminders by mail and in the bell of the console.

  1. Open the account menu and choose Preferences.
  2. In the block «Notifications», on the row «Calendar reminders», turn on «Mail» («Web UI» is already on).
  3. Press «Save»: «Notification preferences saved.»
  4. In Tools → Calendar create an event with a reminder 15 minutes before (see Groupware).

Check. At the reminder’s time the mail «Reminder: title (when)» reaches jsmith@johnsmith.test with times, place and calendar; the row shows up in the bell and, if the console is open, the pop-up notice.

If something goes wrong. The «Mail» column is disabled with «No mailbox»: the account has no mailbox; ask the administrator. The reminder still reaches the bell and the history, without a mailbox and without the Mail module. The reminders of your calendars count, invitations included, not those of calendars shared with you; a reminder that fired while the appliance was off is not recovered.

Example: Laura White receives failed backups on Telegram

Situation. Laura White (lwhite, administrator) wants to know on her phone, through Telegram, when a backup fails. The appliance has no bot yet.

  1. On Telegram write to @BotFather, create a bot (for example @johnsmith_atlas_bot) and copy the token it gives you.
  2. In System → Settings → Notifications, block «Telegram»: turn on «Active», paste the «Bot token» and press «Save».
  3. Open the block again and press «Test» in the block «Telegram»: the status line says «Last test: …».
  4. Account menu → Preferences, block «Telegram»: press + («Link Telegram») and «Open Telegram» (or scan the QR code with the phone). In the bot’s chat press Start.
  5. In Atlas’s dialog «A Telegram account asked to receive the notifications of this account:» shows up with your Telegram name: press «Confirm» («Telegram linked.»).
  6. In the block «Notifications», on the row «Backups and restores: problems», turn on «Telegram» and press «Save».

Check. Open the chat’s row in the block «Telegram» and press «Test»: the message reaches the phone. At the next failed backup the bot writes the title («Daily backup · atlas · Failed»), what it is about and the link to the console; the error’s detail is read in the console.

If something goes wrong. «The link expired.»: press «New link». «The Telegram bot’s name is not known yet: test the Telegram card first.»: go back to step 3. If the bot does not answer, look at «Last error» in the block «Telegram» of Settings and at the block «Failed deliveries».

The settings of the notification centre

The Notifications block of the settingsThe Notifications block of the settings
The Notifications block of the settings

System → Settings → Notifications is for administrators and is always there, after the block «Backup». The subtitle says how many channels are on besides the Web UI («2 channels on besides the Web UI»); a number beside the name says how many deliveries failed. Each block saves on its own; after a successful «Save» the page goes back to the list of blocks, while the tests and the records’ dialogs stay on the block.

The connectors

One block per channel: «Mail», «Browser and Web Push», «Desktop», «Edon Client», «SMS», «Telegram», «Matrix», «Home Assistant». Each has the switch «Active» (off until you turn it on), its fields, a status line («Last test: …», «Never tested.», «Last error: …»), «Test» and «Save». Secret fields (tokens, passwords) are never shown again: below there is «Set: leave empty to keep it». For «Mail», «SMS», «Telegram» and «Matrix» a field says where to send the test («Test recipient», «Test number»…; empty: to you). «Test» uses the saved settings: turn on and save first. The block of a channel whose text leaves the appliance says so in amber: «The text leaves the appliance: only the summary is sent (title, about and link).»

Block Fields Typical value
«Mail» «Reduced text on the external channels»; «Categories allowed towards alternative addresses» (at the start the users’ ones) on; empty. It goes through the appliance’s mail server, from the postmaster
«Browser and Web Push» «Also Web Push» (off: only with Atlas open in a tab; on: also with Atlas closed, a trusted certificate is needed); «Canonical address» (https://atlas.johnsmith.test); «VAPID contact» (a real mailto: of whoever runs the appliance); «Key version», «Public key» and «Regenerate the keys» Web Push on with Let’s Encrypt
«Desktop» «Through Edon Client» (the notification with its text); «Through the EDON agent» (a generic notice on the PCs of the domain with no Edon Client open) both
«Edon Client» «Accepted apps» (empty: the default ones). The push goes through EDON’s gateway: identifiers only empty
«SMS» «Mode» («Local server (on the LAN)», «Cloud (api.sms-gate.app)», «Private server»), «Address of the gateway», «Username» and «Password» or «Token», «SIM», «Priority of the critical events», «SMS a minute», «Allow HTTP on the LAN» (required for the local server, which has no TLS), «Allowed international prefixes» a dedicated Android phone with SMS Gateway for Android
«Telegram» «Bot token» (from @BotFather)
«Matrix» «Homeserver» («The appliance’s chat» or «External homeserver»); with the external one «Address of the homeserver», «Bot’s Matrix address», «Bot’s access token» the appliance’s chat
«Home Assistant» «Address of Home Assistant», «Mode» («REST (long-lived token)» or «Webhook»), «Long-lived token» or «Webhook id», «Own certificate authority», «Allow HTTP on the LAN» REST

Text that leaves the appliance: SMS (even with the local server the message goes through the phone’s network), Telegram, Home Assistant, Matrix with an external homeserver and the syslog destinations. Web Push goes through the browser’s push service but encrypted; Edon Client’s push carries identifiers only.

Warning «Regenerate the keys» (Web Push) asks for confirmation: «Every browser will have to turn the notifications on again. The ones already allowed will do it by themselves the next time Atlas opens.» Use it only if the private key ended up where it should not.

«Home Assistant destinations»: the destinations the users can choose. The + («Add destination») opens the dialog with «Name» and «Target» (notify.mobile_app_<device>), «Offered to» (the users who can choose it) and, last, the «Visibility» block with «Active» and «Valid until» (empty: no end).

Defaults and obligations

The matrix of every category by the channels turned on, with an extra first row, «Critical events». In each cell you choose:

Choice Effect
«Default (on)» or «Default (off)» the catalog’s value, the one of the preferences table above
«On» on for whoever has not chosen; anyone can turn it off
«Off» off for whoever has not chosen; anyone can turn it on
«Required» on for everyone, locked in the preferences («Required»)

The row «Critical events» offers only «—» and «Required» and applies to the critical events of any category. Atlas creates it with Web UI and Mail required: with the Mail connector on, every critical event reaches every administrator by mail. You can change it: your choice stays, «—» too. Critical are, for example, «SMTP send limits not enforced: the policy daemon is not answering», the replication’s tombstone limit, the firewall not reloaded after a reboot, the directory services failed, a failed backup of the appliance.

The columns are the channels turned on: a channel switched on later shows up here. «Save» at the bottom.

System destinations

The notifications of the chosen categories also reach addresses that are not people. The + («Add destination») opens a menu with the kind: «Syslog», «Mail list», «Telegram chat», «Matrix users». The dialog («New destination: Mail list») asks for:

Field Meaning
«Name» how it shows up in the list
«Categories» the categories it receives; none: every category
«Least severity» «Information», «Warning», «Error», «Critical»
«Updates recipient» (mail list) on, the mails go to the «Report email» of Settings → Updates, read at every send, and «Addresses» is disabled
«Addresses» (mail list) one per line; a name without @ is a local recipient (root). Required while «Updates recipient» is off
«Chat or channel» (Telegram) the chat’s id (-100…) or @channel; the bot of the «Telegram» block must be in it
«Users» (Matrix) Matrix addresses (@name:server) or accounts of the appliance’s chat
Syslog «Collector», «Transport» («TLS (6514)», «TCP (514)», «UDP (514)»), «Port», «Facility», «APP-NAME», the authorities and certificates for TLS, «Collector’s certificate fingerprint». Syslog gets title, category, severity and status, never the detail or the recipients
«Visibility» last, «Active»

«Test» sends a test to the destination, «Save» saves it. Atlas creates its own destinations by itself (their names are the same in both languages):

Destination Receives Follows
«Destinatario degli aggiornamenti» the nightly update report and the EDON agents to update by hand the report’s address of Settings → Updates (root at the start), read at every send
«Monitoraggio · posta» the monitoring’s outages and recoveries the recipients of the «Mail» block of Settings → Monitoring (empty: the updates’ recipient)
«Monitoraggio · report mensile» the monthly availability report the report’s recipients (empty: those of the mails)
«Backup · esiti» the backup outcomes, according to the mode the mail notification fields of Settings → Backup (address, mode, requests)

Tip The address of these four is changed where it comes from, not here: the monitoring’s and the backups’ destinations are written again at every «Save» of those blocks (name and «Active» stay as you left them), the updates’ one reads the address at every send.

Failed deliveries

The last 50 failed deliveries: date, channel, recipient partly hidden, error, and «Retry» for each row. A failed delivery is retried by itself after 30 seconds, 2 minutes, 10 minutes, half an hour, an hour and then every two hours, until it expires (mail after 24 hours, an SMS after 6); a final error, such as an address that does not exist, is not retried. If a channel fails five times in a row, the administrators receive «The … notification channel is not working: 5 sends failed in a row (…)»; if a system destination does not answer, «The system destination «…» cannot be reached (…)».

The Argos sites

A linked Argos site (Network → Argos, see System) sends its notifications to Atlas’s centre: the categories «Argos sites: …». Every site row has the action «Notifications», with:

  • «Receive notifications»: on, Atlas accepts the site’s notifications; off, it refuses them;
  • «Fallback administrator»: who receives a notification the site sends to an address Atlas does not find or does not allow; at the start the administrator who linked the site. A warning says whether that account no longer exists, is disabled or is no longer an administrator;
  • «Allowed recipients»: the users and groups the site may write to besides the administrators; the others go to the fallback administrator.

A site’s notification always says where it comes from («Argos site “name”: …»), the links of its text are not clickable, and its mail has only Atlas’s button, with the line «Sent by … through Atlas: the text is the origin’s own.».

Example: required mail for failed backups

Situation. Laura White wants every administrator to receive the backup problems by mail, without being able to turn them off.

  1. System → Settings → Notifications, block «Defaults and obligations».
  2. Row «Backups and restores: problems», column «Mail»: choose «Required».
  3. Press «Save».

Check. In the Preferences of root and of lwhite the cell is on with the padlock and «Required». At the next failed backup the mail goes out for both; for root it is a local recipient of the host.

If something goes wrong. There is no «Mail» column: the «Mail» connector is off. An administrator without a mailbox does not receive the mail; in the notification’s detail, block «Deliveries», the delivery is «Not sent» with the reason.

Disabled and deleted accounts

  • A disabled account keeps its notifications and preferences, but its personal channels (Telegram chats, numbers, subscribed browsers and devices) turn off («Off») and the deliveries waiting no longer go out. If the account becomes active again, the channels turned off are linked again from its Preferences.
  • A deleted account loses notifications, preferences and channels. A new account with the same name starts from scratch: it inherits nothing.
  • Whoever stops being an administrator no longer sees the notifications of the administrators’ categories and no longer receives them on any channel.

After the update

The Atlas update that brings the notification centre works by itself; you have nothing to do, but it is worth knowing what changes.

  • The bell and the history. At the first start the notifications the appliance already had (the recent backups and restores, the commands to the backup clients, the monitoring’s outages and recoveries) enter the history at their own time, already read, with no mail and no notice; those you had removed from the old bell are archived.
  • The switch of the system mail. Once per appliance, if the appliance can send mail (the Mail module’s mail server, or the host’s mail sending for local recipients such as root):
    • the «Mail» connector turns on, unless an administrator already set it up;
    • whoever had turned on «Send calendar reminders by mail» finds the «Mail» cell of the row «Calendar reminders» on;
    • the system destinations «Destinatario degli aggiornamenti», «Monitoraggio · posta», «Monitoraggio · report mensile» and «Backup · esiti» are created, with the addresses of the settings of before.
  • From then on the centre sends the mails, to the same recipients as before: the calendar reminders, the voicemail messages (with the recording), the nightly update report, the quota warning to the owner of the folder, the EDON agents to update by hand, the monitoring’s mails, the backup outcomes. The monitoring’s Telegram and chat messages are still sent by the monitoring.
  • Critical events reach every administrator by mail (the row «Critical events», see above).
  • With no way to send mail the switch waits: Atlas tries again at every start and every hour, and meanwhile the mails of before stay as they were.

Check. In System → Settings → Notifications the block «Mail» is «Active» and «System destinations» has the four destinations. Press «Test» in the block «Mail»: the mail reaches you.

For the technician The keys. Atlas’s setup (/usr/lib/atlas/setup.ts, at every run and on fresh installs too, before atlas.service starts) creates two files if missing, root’s, 0600, exclusively and never overwriting them: /etc/edon/notify-keys.json, the keyring that encrypts the centre’s secrets (bot tokens, SMS gateway credentials, push subscription keys), which goes in the backup of /etc together with the database; and /etc/edon/notify-ingest.json ({"version":1,"keys":{"helm":"…","edon-backup":"…"}}), the keys Helm and edon-backup sign their events with. A missing key is added, an existing one never changes. When it creates the keys file or adds a key, and Helm is installed, the setup runs Helm’s setup again (which copies its key into helm.env as HELM_NOTIFY_KEY) and restarts Helm; edon-backup reads its own from the file by itself within a minute. To rotate a key remove it from the file and run the setup again, with the command the package prints when the setup does not complete:

cd /usr/lib/atlas && NODE_ENV=production DENO_DIR=/var/cache/edon/deno/atlas /usr/bin/deno run --allow-all --no-remote --cached-only --node-modules-dir=manual --no-lock setup.ts

If notify-keys.json is not root’s or has permissions wider than 0600 the centre does not start (the bell says «The notification centre does not answer right now: try again in a moment.») and the setup says so. Do not delete the keyring: the secrets encrypted with it would no longer open.

The switch is recorded in the centre’s table notify_meta (key atlas:centreSwitch) and is not repeated. To go back: in /etc/edon/atlas.json write "notify": { …, "systemMail": "direct" } (the producers send their mail by themselves again); in Atlas’s database, the one of the backup_* tables (name, user and password are in the pgsql section of atlas.json), run UPDATE backup_settings SET notify_via = 'mail' WHERE id = 1; (edon-backup sends its mail by itself again); then systemctl restart atlas. For example with podman exec -it edon-pgsql psql -U <user> <database>. To run the switch again remove the row atlas:centreSwitch from notify_meta and restart Atlas.

If the centre cannot take a backup outcome (the key is missing, Redis does not answer), edon-backup mails it by itself as before: an outcome is not lost.

Limits

  • The history keeps at most 500 notifications per person and 90 days; the deliveries’ log 30 days.
  • The EDON agent’s notice on the desktop does not say what it is about, and on macOS it does not open Atlas.
  • SMS, Telegram and Home Assistant receive the summary only; the detail is read in the console.
  • Web Push works only on the address with a trusted certificate («Canonical address»): opened on another address, the page says «Web Push works on the address with a trusted certificate: open Atlas at …».
  • A required cell applies also to whoever has nowhere to receive it: the delivery stays «Not sent», with the reason, in the notification’s detail.
  • The notifications of an Argos site or of Helm have limits of their own: beyond a certain number a day per recipient they arrive in the Web UI only.
LET’S TALK INFRASTRUCTURE

Control starts with a conversation.

Tell us about your infrastructure. Let’s start with what you actually need.

Talk to an engineer