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¶
Sign in to
nextPYP.Open Your Account from the account menu (your name / user icon in the navbar).
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.
Create a Slack Incoming Webhook in Slack and copy the URL (
https://hooks.slack.com/services/...).On the
Slacktab, turn onEnable Slack.Paste the URL into
Webhook URL.Turn on the events you want for this channel.
Click Save, then Send Slack test.
Create a Teams Teams Incoming Webhook (or a Power Automate workflow URL) and copy it.
On the
Teamstab, turn onEnable Teams.Paste the URL into
Webhook URL.Turn on the events you want for this channel.
Click Save, then Send Teams test.
Create a channel Webhook in Discord and copy the URL (
https://discord.com/api/webhooks/...).On the
Discordtab, turn onEnable Discord.Paste the URL into
Webhook URL.Turn on the events you want for this channel.
Click Save, then Send Discord test.
On the
Emailtab, turn onEnable email.Enter the address that should receive messages in
Email address.Turn on the events you want for this channel.
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 |
|---|---|
|
A project run finishes successfully. |
|
A project run finishes as failed. |
|
One block/job inside a run fails (you may still get a run-level message later). |
|
The main session daemon ( |
|
A non-daemon session cluster job fails. |
|
A project export/import transfer finishes successfully. |
|
A project transfer fails or is canceled. |
|
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.sendmailunset for email.Links in alarm messages use
web.publicUrlwhen set, otherwiseweb.webhost, plus a/#/…path. If the host part is wrong for browsers, setweb.publicUrl(see Operate) so recipients can open the project or session from the message.