Repository navigation
Servers and Monitoring
This page explains how NodePilot monitors servers without agents, what the statuses mean, and what you can do on a server's page: metrics and history, terminal, files, processes, systemd services, notes, backups, and reboot or shutdown. The last section describes how the panel keeps SSH usage low enough to handle hundreds of servers.
Nothing is installed on your servers. On every poll the panel runs one small shell script over the server's existing SSH connection and parses the output.
| Metric | Source |
|---|---|
| Hostname, OS, kernel, CPU cores |
hostname, /etc/os-release, uname -r, nproc
|
| Uptime | /proc/uptime |
| Load average (1, 5, 15 min) | /proc/loadavg |
| CPU usage, % |
/proc/stat, computed from the difference between two polls |
| Memory and swap |
/proc/meminfo (used memory = total minus available) |
| Disks |
df, per mount point. Virtual and pseudo filesystems (tmpfs, overlay, squashfs, proc, cgroup and similar), /run and /snap mounts are skipped. |
| Network in/out, bytes per second |
/proc/net/dev, summed over all interfaces except lo and names starting with veth, docker, br-, virbr, cni, flannel, cali, vxlan, kube, tap or lxc. |
CPU usage and network rates need two samples, so they appear from the second poll after the panel connects.
- The panel polls every server every 30 seconds by default. Change it with
--stats-intervalorNODEPILOT_STATS_INTERVAL(minimum 5 seconds). See Configuration. - Up to 32 servers are polled at the same time.
- Each poll has a 20-second time limit for the script, after a 10-second limit for connecting.
- The browser refreshes the numbers it shows every 10 seconds. That only reads the panel's latest results and does not cause extra SSH traffic.
When a poll fails (no route, timeout, wrong password, host key mismatch), the server is marked Unreachable and skipped for a while. Each consecutive failure doubles the wait, up to 16 times the interval, and never more than 5 minutes:
| Consecutive failures | Next attempt after (default 30 s interval) |
|---|---|
| 1 | 1 min |
| 2 | 2 min |
| 3 | 4 min |
| 4 and more | 5 min |
The first successful poll resets the counter. To check a server right away, use Test on its page.
Every successful poll is also written to the panel's SQLite database. History is kept for 7 days by default
(--metrics-retention-days / NODEPILOT_METRICS_RETENTION_DAYS) and older points are purged every hour.
| Status | Meaning |
|---|---|
| Online | The last poll succeeded. |
| Unreachable | The last poll failed. Hover the status dot to see the error. The server's Overview tab shows it under The last metrics collection failed. |
| Unknown | Not polled yet. Statuses live in memory, so every server starts as Unknown after a panel restart, until its first poll (which starts right away). |
The footer of the server list shows how many servers are in each status and when the metrics were last refreshed.
Click a server in the list (or open it from search). The header shows the status, user@host:port, tags, projects
and the description, plus three buttons:
- Test: reconnects from scratch and runs a trivial command, then shows the latency or the error.
- Edit: opens the server dialog (see Getting started).
- Delete (trash icon): removes the server from the panel together with its notes and backup jobs. The machine itself is not affected.
Each tab has its own URL (/servers/<id>/files, /servers/<id>/services, and so on), so you can bookmark or share it.

- Cards: CPU (with core count), Memory, Swap, Load average (1 min, with 5 and 15 min below), Network (↓ in, ↑ out) and Uptime with the time of the last collection.
- System: Hostname, OS, Kernel, CPU cores, Collected.
- Disks: every mount point with its filesystem type, used / total and a usage bar.
- History: charts for CPU, %, Memory, %, Network, Load average (1 min) and Disk, %. Pick the range with 1h, 6h, 24h or 7d. Points are averaged so that a chart never has more than about 600. Short ranges refresh every 30 seconds, longer ones every 2 minutes. The disk chart is the combined usage of all listed mounts. A new server shows Not enough data until a few polls have been stored.
- Host key (SSH): the pinned fingerprint and Forget host key. See Getting started.
- Power: Reboot and Shut down (below).
The 7d range can only show as much history as the retention setting keeps.
An interactive shell in the browser, with several sessions per server. See Multi-exec and terminals.
An SFTP file manager, starting in the SSH user's home folder.
| Action | How |
|---|---|
| Navigate | Double-click a folder. Use Home folder and Up one level, click a breadcrumb, or double-click the breadcrumbs (or the pencil) to type a path and press Enter. |
| Filter, hidden files | Filter box. The eye button toggles Show hidden files. |
| Sort | Click Name, Size or Modified. Permissions are shown in their own column. |
| Upload | Upload button, or drag files onto the list. Up to 512 MB per file. Progress is shown per file. Folders can't be uploaded. |
| Download | Row menu → Download. |
| Edit | Double-click a file, or row menu → Edit. Opens a code editor with syntax highlighting, Wrap lines and Ctrl+S to save. Files over 5 MB are offered as a download instead, and binary files can't be opened. |
| New folder | Folder button. |
| Rename or move | Row menu → Rename / move. Enter a new name, or a full path to move the item. |
| Delete | Row menu → Delete. Deleting a folder deletes it recursively and asks you to type its name to confirm. |
Files are read and written with the permissions of the server's SSH user.
The top 200 processes by CPU (ps), with PID, User, CPU %, memory %, RSS and Command.
- Sort by clicking a column, filter with Filter: command, user, PID.
- Refresh reloads the list, Auto-refresh (5 s) keeps it updating.
- The Signal menu on each row sends Terminate (TERM), Kill (KILL) or Reload (HUP) after a confirmation. PID 1 can't be signaled.
All systemd service units (systemctl list-units --type=service --all) with their Load, Active and Sub states.
- Filter by name or description, and by state: All, Active, Failed, Inactive.
- Row buttons: Restart (for active services) or Start (for others), and Logs.
- The row menu adds Reload config, Stop, Enable autostart and Disable autostart. Stop, restart and disable ask for confirmation.
-
Logs shows
journalctl -u <service>output: the last 100 to 2000 lines, with refresh and copy buttons.
Markdown notes attached to this server. See Notes.
The backup jobs for this server and their runs. See Backups.
The Power card on the Overview tab has Reboot and Shut down.
- Click the button. The confirmation asks you to type the server's name.
- The panel runs
systemctl reboot(orsystemctl poweroff), falling back toreboot/poweroff, delayed by one second so the command returns before the connection drops. - The panel closes its SSH connection to the server. A rebooted server comes back on a later poll.
The commands run as the server's SSH user. A non-root user needs passwordless sudo (sudo -n). After a shutdown you
can't power the machine back on from the panel.
The same sudo -n rule applies to signals, service actions and service logs.
NodePilot is designed so that hundreds of servers cost little on both sides.
One SSH connection per server. Stats polls, commands, multi-exec, the file manager, web terminals and persistent terminal sessions all share a single long-lived connection to each server.
- The connection is opened on first use and reopened automatically if it drops or if you change the server's address, user or authentication.
- Keepalive packets go out every 30 seconds. After 3 unanswered ones the connection is considered dead.
- A connection unused for 10 minutes is closed. Open terminals keep it alive. With the default 30-second polling, connections to reachable servers simply stay open.
Limits:
| What | Limit |
|---|---|
| New SSH connections being set up at the same time | 32 |
| Connect timeout | 10 s |
| Commands running in parallel on one connection | 6 (OpenSSH allows 10 channels per connection by default; terminals and SFTP use the rest) |
| Servers polled for stats at the same time | 32 |
| Servers running a multi-exec command at the same time | 32 |
| Output kept per command | 1 MiB of stdout and 1 MiB of stderr |
| Points per history chart | about 600 at most |
| File upload | 512 MB per file |
Storage. Metrics live in SQLite in WAL mode. Charts are averaged into buckets on the server side, so the browser never loads raw data for long ranges.
NodePilot · Releases · Report a vulnerability · Apache-2.0
Set up
Use
Secure
Integrate
Reference