Alarms

Alarms send you a short message when something you care about finishes or fails — a project run, a session daemon, a project transfer, or a filesystem running low on space — without watching the website.

You choose the destination (Slack, Microsoft Teams, Discord, and/or email) and which events each destination should receive. Settings are per user: your choices do not affect anyone else.

Open the Alarms tab

  1. Sign in to nextPYP.

  2. Open Your Account from the account menu (your name / user icon in the navbar).

  3. Open the Alarms tab.

Turn on Enable alarms at the top of the panel. That master switch gates every channel; leave it off and nothing is sent, even if a channel is configured.

Channels

Each channel has its own enable toggle, destination, event list, and test button. Configure Slack, Teams, Discord, and email independently — you can use one channel or several.

  1. Create a Slack Incoming Webhook in Slack and copy the URL (https://hooks.slack.com/services/...).

  2. On the Slack tab, turn on Enable Slack.

  3. Paste the URL into Webhook URL.

  4. Turn on the events you want for this channel.

  5. Click Save, then Send Slack test.

  1. Create a Teams Teams Incoming Webhook (or a Power Automate workflow URL) and copy it.

  2. On the Teams tab, turn on Enable Teams.

  3. Paste the URL into Webhook URL.

  4. Turn on the events you want for this channel.

  5. Click Save, then Send Teams test.

  1. Create a channel Webhook in Discord and copy the URL (https://discord.com/api/webhooks/...).

  2. On the Discord tab, turn on Enable Discord.

  3. Paste the URL into Webhook URL.

  4. Turn on the events you want for this channel.

  5. Click Save, then Send Discord test.

  1. On the Email tab, turn on Enable email.

  2. Enter the address that should receive messages in Email address.

  3. Turn on the events you want for this channel.

  4. Click Save, then Send email test.

Note

Email delivery needs web.sendmail on the server (see For administrators below). If that command is missing, the test reports Email is not configured (web.sendmail).

Saved webhook URLs are shown masked (host plus the last few characters). To replace one, paste a new full URL and save. Clear webhook / Clear email removes the destination for that channel.

Events

Every channel has the same event toggles. Only events you turn on for that channel are sent there.

Event

When it fires

Project run succeeded

A project run finishes successfully.

Project run failed

A project run finishes as failed.

Project job failed

One block/job inside a run fails (you may still get a run-level message later).

Session daemon finished

The main session daemon (streampyp) ends. Sub-daemons do not send a separate alarm.

Session job failed

A non-daemon session cluster job fails.

Transfer finished

A project export/import transfer finishes successfully.

Transfer failed or canceled

A project transfer fails or is canceled.

Filesystem low space

A monitored filesystem drops below the administrator’s free-space threshold (see For administrators).

Messages include a short summary and a link back to the project or session (using web.publicUrl when set, otherwise web.webhost, with a /#/… SPA path).

Test and save

Send … test saves your current settings first, then posts a test message on that channel only. The master Enable alarms switch and that channel’s own enable toggle must both be on, and a destination must already be saved.

Use Save when you change destinations or events without running a test.

For administrators

Users configure their own destinations under Your Account → Alarms. Two server settings affect whether some alarms can leave the machine.

Email (web.sendmail)

Set the sendmail-compatible command path so the website can hand off alarm email. Treat it as a secret and set it from the shell (see Operate), for example:

nextpyp config set web.sendmail /usr/sbin/sendmail
nextpyp config apply

Without this value, Slack / Teams / Discord still work; only the email channel fails.

Filesystem low-space thresholds ([[web.filesystem]])

Disk monitoring is optional. When you define one or more [[web.filesystem]] tables with a lowSpaceAlert block, nextPYP watches free space on those paths. If free space falls below gib, every user who enabled Filesystem low space on an active alarm channel is notified, at most once per hrs for that filesystem (default interval is 6 hours when hrs is not positive).

[[web.filesystem]]
path = "/nfs/nextpyp/shared"
name = "shared data"
lowSpaceAlert = { gib = 500, hrs = 6, email = "ops@example.org" }

path and name identify the mount; gib and hrs control the threshold and cooldown. The email field is required by the configuration schema; delivery for this event goes to users who opted in under Alarms, not to that address alone.

See Configuration file for the full option reference.

Tips

  • Turn on only the events you want — a busy project can produce many run and job messages.

  • Webhook URLs are secrets. Prefer the in-app field (values are masked when reloaded) over sharing them in chat or tickets.

  • If a test fails, read the toast: common causes are the master switch off, the channel disabled, a missing destination, an invalid webhook URL, or web.sendmail unset for email.

  • Links in alarm messages use web.publicUrl when set, otherwise web.webhost, plus a /#/… path. If the host part is wrong for browsers, set web.publicUrl (see Operate) so recipients can open the project or session from the message.