Montray - a tray icon for systemd service health
Montray is a lightweight tray-icon utility that monitors the health of systemd services and other command-line checks, both locally and remotely. The issue with Linux was that it didn't notify users when a systemd service broke, leading to unnoticed problems such as Syncthing service failures and silent certificate refresh issues. Montray addresses this by providing a simple icon in the tray, with green indicating everything is fine, and blinking yellow or red signaling a problem.
Montray consists of two components: montray-server, a server that can run locally or remotely, and montray-ui, a client that runs on a user's laptop. The setup includes a server reporting incidents, and the UI combining these incidents, prefixing them with the ID for the specific server. Snoozing an incident allows users to ignore it temporarily but ensures it resurfaces later.
To install, download the latest prebuilt binaries from GitHub and unpack them, resulting in two binaries: montray-server and montray-ui. The icons let users see the current non-snoozed state. To monitor remote machines, install montray-server on those machines and configure the local Montray UI to connect to the server using an SSH tunnel.
The default configuration settings include a yellow warning for failing systemd services and a red error for less than 100MiB of free space on the root partition. Users can customize this by listing specific services or adding custom exec checks. Montray UI also supports Windows and MacOS, enabling monitoring of remote Linux servers. For building Montray, specific dependencies are required, and the binaries can be installed under /usr/local/bin.
Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.