Linux
Add the repository once and the desktop client updates with the rest of
your system. The packages are signed with Alarm Sender's own key
(4718 3431 C108 E617 5D4A 5D38 0F43 02DF FE8D 9D5E),
and your package manager will refuse them if that signature does not check
out.
Debian, Ubuntu, Mint, Pop!_OS
sudo install -d /etc/apt/keyrings
sudo curl -fsSLo /etc/apt/keyrings/alarmsender-archive-keyring.gpg \
https://dl.alarmsender.com/alarmsender-archive-keyring.gpg
echo "deb [signed-by=/etc/apt/keyrings/alarmsender-archive-keyring.gpg]" \
"https://dl.alarmsender.com/deb stable main" \
| sudo tee /etc/apt/sources.list.d/alarmsender.list
sudo apt update && sudo apt install alarmsender
Fedora, RHEL, openSUSE
sudo curl -fsSLo /etc/yum.repos.d/alarmsender.repo \
https://dl.alarmsender.com/alarmsender.repo
sudo dnf install alarmsender
The desktop client is x86_64 only. If you are on a
Raspberry Pi, an ARM NAS or any machine with no screen, what you want is
the headless agent below — it ships for arm64 as
well, and it is a better fit than a window would be.
Running it
The package installs a launcher in your applications menu and a
user systemd unit, which is deliberate: there is no screen
to ring on before somebody logs in. To have it start with your session and
keep running:
systemctl --user enable --now alarmsender
Pairing happens in the app: sign in, and it offers the code the console
asks for. Support covers what to do when an alarm
does not arrive.
A machine with no screen
A NAS, a Raspberry Pi, a rack server, a VM — anything with no desktop to
draw on. alarmsender-agent is a single static binary that
holds one connection open and runs a command of your choosing when an alarm
arrives. That command is the alarm: sound a klaxon, light the
chassis LED, write to every terminal, close a relay.
sudo apt install alarmsender-agent # or dnf install
sudoedit /etc/alarmsender/agent.conf # set hook = ...
sudo alarmsenderd test-hook # can it raise an alarm?
sudo alarmsenderd pair XXXX-XXXX # code from the console
sudo systemctl enable --now alarmsenderd
It ships for amd64 and arm64 and depends on nothing. Pair
before you enable the service: an unpaired agent exits rather than retrying
for ever, and the journal says so.
The handler answers with its exit code — 0 rang,
10 a person acknowledged it, 11 dismissed. Exit
10 is the useful one: a button on the machine in front of you
silences the phone in your pocket, because an acknowledgement reaches every
other device on the account.
For a platform with no package — FreeBSD, OpenBSD, NetBSD, macOS, 32-bit
ARM, riscv64 — the same binary is a plain download, with checksums:
1.0.11.
FreeBSD, TrueNAS CORE, OPNsense, pfSense
All FreeBSD underneath, so the agent ships with an
rc.d
script rather than a systemd unit. Config lives in
/usr/local/etc and state in /var/db, which is
where FreeBSD keeps them — the binary knows the difference.
V=$(fetch -qo- https://dl.alarmsender.com/headless/latest)
fetch https://dl.alarmsender.com/headless/$V/install-freebsd.sh
sh install-freebsd.sh
alarmsenderd setup
sysrc alarmsenderd_enable=YES && service alarmsenderd start
The installer checks every file against the published
SHA256SUMS before it writes anything, lays out the binary, the
rc.d script and the a-ack / a-nack commands,
creates the alarmsender group, and stops there. It will not
overwrite an existing agent.conf, enable the service or start
it — alarmsenderd setup asks those questions instead. It runs
as root, so it is worth reading before you run it.
There is no pkg repository for this yet. The install is five
files and a group, with nothing to compile and no dependencies to resolve,
while a pkg repository would need an RSA signing key separate from the GPG
key that signs apt and yum, and a build step that only runs on FreeBSD.
service alarmsenderd onecheckconf answers "would it start?"
before you enable it, and onetesthook raises a synthetic alarm
through your handler. The one prefix matters — rc.subr refuses
every command on a service that is not yet enabled, and the un-prefixed
form prints a notice and exits 0 without checking anything. Full steps are
in the
agent's
README.
Tested on FreeBSD 14.5 — these exact files, fetched from
this page's own links, installed and paired, with an alarm rung through a
handler and logged to syslog.
Not tested on the appliances themselves. TrueNAS CORE,
OPNsense and pfSense are FreeBSD underneath and share everything above,
but each adds its own layer — a read-only root on some, jails, their own
service handling. If you run it on one, we would like to hear how it
went.
QNAP (QTS)
QTS is Linux with a busybox userland and no systemd, and most QNAP boxes
are 32-bit ARM — so the build is linux-arm, taken as a plain
download rather than from a package. You are admin over SSH,
which is uid 0, so nothing here needs sudo.
V=$(curl -fsSL https://dl.alarmsender.com/headless/latest)
D=/share/CACHEDEV1_DATA/.alarmsender # a data volume, not /etc
mkdir -p $D/bin $D/state && cd $D
curl -fLO https://dl.alarmsender.com/headless/$V/alarmsenderd-$V-linux-arm
curl -fLO https://dl.alarmsender.com/headless/$V/SHA256SUMS
grep -- -linux-arm$ SHA256SUMS | sha256sum -c # must say OK
install -m 755 alarmsenderd-$V-linux-arm bin/alarmsenderd
Write agent.conf beside it with your
hook = …, then pair. Pass
-config and -state every time, before
the command — the reason is the next paragraph:
$D/bin/alarmsenderd -config $D/agent.conf -state $D/state test-hook
$D/bin/alarmsenderd -config $D/agent.conf -state $D/state pair XXXX-XXXX
QTS rebuilds /etc, /var and
/root from flash at every boot. All three of the
agent's default locations live there, so an install that takes the
defaults loses its configuration and its pairing token on the
first reboot — and a device that has forgotten its token does not ring.
Keep everything on a data volume and name it explicitly.
There is no service manager, so pair's closing advice to run
systemctl enable --now does not apply. Run the agent from a
small wrapper that restarts it after a crash but not on exit
2, which is how it reports "unpaired, stop retrying".
To start it at boot, use QTS's autorun.sh. Enable it first
under Control Panel → Hardware → General → "Run user defined
startup processes" — getcfg Misc Autorun answers
TRUE once it is on. The file itself lives on a flash
partition that is not normally mounted:
/etc/init.d/init_disk.sh mount_flash_config # appears at /tmp/nasconfig_tmp/
vi /tmp/nasconfig_tmp/autorun.sh && chmod 755 /tmp/nasconfig_tmp/autorun.sh
/etc/init.d/init_disk.sh umount_flash_config
autorun.sh can run before the data volume is
mounted, so start the wrapper in the background and wait for it to exist
rather than assuming it is there.
A QNAP will email you with no mail configuration in the agent at
all. Have the handler write to the QNAP event log —
/sbin/log_tool -a "$MSG" -t 1 -N "Alarm Sender" — and let
Notification Center mail you about warnings, which it already knows how to
do. Pick the severity from $ALARM_CHIME so only the chimes
that matter become mail. To read the log back:
log_tool -q -v | grep "Alarm Sender" — without
-v it prints nothing at all.
Tested on a TS-X41 running QTS 5.2.11, armv7l, agent
1.0.11. Paired, and live alarms arrive in about a second — the handler
ran in 51–55 ms — with the event-log entry turning into an email
within a minute or two.
Not yet verified across a reboot, nor across a QTS
firmware update, which is the open question for
autorun.sh on any QNAP. If you get there first, we would
like to hear how it went.
Windows
One installer, no admin rights needed — it installs for your account only
and sets itself to start with your session, sitting in the notification
area until an alarm arrives.
Download
for Windows
11.2 MB · Windows 10 and 11, 64-bit
Windows will warn you about it, and it is right to. The
installer is not code-signed yet, so SmartScreen shows a blue
“Windows protected your PC” box. The way through is
More info then Run anyway. A signing
certificate is on the list; until then the honest thing is to say so
rather than let the warning look like a mistake.
If you would rather check the download than trust it, compare the hash:
Get-FileHash .\AlarmSender-1.0.0-2-setup.exe -Algorithm SHA256
It should match this, which is also served as
a
file beside the installer:
D9FF7B350D7418FE72FE2043F56A2E7681ABB97C445C0FE50AC07A024674607D
macOS
One universal image — Apple silicon and Intel in the same download. Drag
it to Applications, and the mark sits in the menu bar until an alarm
arrives. Closing the window puts it away rather than quitting; the menu
bar icon and the Dock icon both bring it back.
Download
for macOS
20.6 MB · macOS 12 Monterey and later · Apple silicon and Intel
It is signed and notarised, so it opens the way anything
from the App Store does: no warning, no override, nothing to click past.
Apple has checked it for malware and the ticket saying so travels inside
the image, which means it opens on a Mac that is offline too.
If you would rather check the download than trust it, compare the hash:
shasum -a 256 ~/Downloads/alarmsender-1.0.0-2-universal.dmg
It should match this, which is also served as
a
file beside the image:
71a0da39d9f3257ff9e35e82ca741f66408442c57a220c3dedc6c8ab0cca9437
Starting it at login
The image carries a Start at login folder. After dragging
the app to Applications, run:
"/Volumes/Alarm Sender/Start at login/login-item.sh" install
That installs a LaunchAgent: it starts the app hidden in the menu bar when
you log in, and starts it again if it ever dies — which a plain
Login Item will not do. login-item.sh uninstall removes it,
and status says what is in place. Quitting from the menu bar
stops the agent too, so quitting means quitting.
A sleeping Mac does not get alarms. This is worth
knowing rather than discovering. macOS holds the network connection open
while it sleeps, so the server believes the alarm was delivered —
but nothing on the Mac is awake to ring it, and it stays silent until
somebody wakes the machine. Measured, not assumed.
A phone is the dependable alarm; treat a computer as the convenient one.
If a Mac has to be relied on, give it wired Ethernet and turn off
automatic sleeping in Energy Saver.
Browsers
The extension rings in any window you have open, with its own sound and
its own notification — useful on a machine where you do not want a desktop
app at all.
Everything else
| Platform | State |
| Android | live on Google Play |
| iOS | planned; it needs Apple's Critical Alerts entitlement to ring a silenced phone at all |
| FreeBSD | the headless agent, with an rc.d script; tested on 14.5, not on the appliances |
| OpenBSD, NetBSD | the headless agent builds and ships; no rc script |
| Linux arm, riscv64 | the headless agent, as a plain binary — including QNAP NAS boxes |
Nothing on this page needs an app at all to send an alarm. A
trigger URL and curl are enough, from anything that can make an
HTTP request — see the API.
Verifying by hand
If you would rather check the key before trusting it, the fingerprint above is the
one to compare against — the armoured copy is the readable one:
curl -fsSL https://dl.alarmsender.com/KEY.asc | gpg --show-keys
Alarm Sender is operated by Single Breath LLC.