Oxford Nanopore has recently introduced a new service called ont-platform-data-offload to manage data offloading from their sequencing devices.
This project provides a convenient way to monitor the status of this service directly from your GNOME desktop environment.
The main component is an Argos script to monitor the ont-platform-data-offload service directly from the GNOME top bar. It provides real-time status updates on data offloading processes, specifically tracking active rsync transfers.
- Status Icons: Visual indicators for service state:
- ⚪ Idle (No active transfers)
- 🟢 Syncing (Active transfers in progress)
- 🔴 Error (Service is down or ghosted)
- Active Transfer Monitoring: Lists the filenames of files currently being transferred via
rsync. - Quick Actions:
- Start/Restart the
ont-platform-data-offloadservice. - View service logs in a terminal.
- Open the main log file.
- Start/Restart the
- Log Preview: Shows the last log entry in the dropdown menu.
- OS: Linux (GNOME Desktop Environment)
- Extension: Argos GNOME Shell Extension.
- Dependencies:
bashsystemd(forsystemctl)rsyncgnome-terminalpgrep
-
Install Argos: Follow the instructions on the Argos GitHub page to install the extension.
-
Download the Script: Clone this repository or download
argos-monitor.1m.sh. -
Deploy: Copy the script to the Argos configuration directory.
mkdir -p ~/.config/argos cp argos-monitor.1m.sh ~/.config/argos/
-
Make Executable:
chmod +x ~/.config/argos/argos-monitor.1m.sh
The indicator should appear in your top bar immediately (or within 1 minute).
You can customize the script by editing the variables at the top of argos-monitor.1m.sh:
SERVICE_NAME: The name of the systemd service to monitor (default:ont-platform-data-offload).LOG_FILE: Path to the log file for quick access (default:/data/data-offload.log).
The script refreshes every minute by default. You can change the refresh interval by renaming the script file to argos-monitor.Xm.sh, where X is the number of minutes between refreshes.
- Service Down: If the icon is red, click it and select "Start Service" or "View Logs" to investigate.
- Ghost Service: If the service is active but the main PID is missing, the script will report a "Ghost" status. Use the "Restart" option.
See LICENSE file.