Syntax
Global Options
| Option | Description |
|---|---|
--box TEXT | Lagerbox name or IP address |
--help | Show help message and exit |
Commands
| Command | Description |
|---|---|
tui | Launch interactive status monitoring TUI |
Usage Modes
All Boxes Overview
When invoked without--box, displays a summary table of all configured boxes:
| Column | Description |
|---|---|
| Box Name | Name of the configured box |
| Status | Online, Offline, or Error |
| Response (ms) | Ping or HTTP response time |
| IP Address | Box IP address |
| Nets | Number of configured nets |
| Last Error | Most recent error message |
Single Box Details
When invoked with--box, displays detailed information for a specific box including all configured nets:
- Box name, IP address, and connectivity status
- Response time (if online)
- Table of all configured nets with name, type, instrument, channel, and address
Command Reference
tui
Launch an interactive terminal UI for real-time box monitoring.
| Option | Type | Default | Description |
|---|---|---|---|
--refresh-interval | float | 10.0 | Auto-refresh interval in seconds |
- Left panel - All-boxes overview table with status, lock state, response time, and net count
- Right panel - Tabbed detail view for the selected box:
- Usage History - Session timestamps, users, actions, and durations
- Nets - Net name, type, instrument, channel, and status
- Activity Log - Timestamped system events
- Summary bar - Online/total boxes, total nets, auto-refresh status, last update time
| Key | Action |
|---|---|
q | Quit |
r | Manual refresh |
a | Toggle auto-refresh |
Tab | Next detail tab |
Shift+Tab | Previous detail tab |
Up/Down | Navigate table rows |
Connectivity Checking
For IP addresses,lager status sends ICMP pings. For box IDs, it makes an HTTP health check. Error types are distinguished:
| Error Type | Meaning |
|---|---|
| timeout | Host not responding |
| no_route | VPN or network connectivity issue |
| connection_refused | Service not running on box |
| dns_error | DNS resolution failure |
| unreachable | Network unreachable |
Examples
Notes
- Net information is loaded from local configuration, so nets are shown even if the box is offline
- The TUI requires a terminal that supports ANSI escape codes
- If
--boxrefers to a name not found in.lager, the command checks if it is a valid IP address - Use
lager boxes add --name <NAME> --ip <IP>to register a new box before checking status

