ServerMonitor

A server status monitor in six stand-alone editions: three languages, each for Linux and for Windows. It watches machines in detail (CPU, memory, disks, network, processes, services, temperatures, GPUs), keeps their history from seconds to years, analyzes that history with plain statistics (no AI, nothing installed on the servers), and keeps machines working with alert rules and an autopilot that can also run in "dry run" (report only).

Folder Language / UI Runs on and monitors Code lines
Server Monitor(cqt-linux) C++17, Qt 5 Widgets Linux 3,867
Server Monitor(cqt-window) C++17, Qt 5 Widgets Windows 3,873
Server Monitor(python-linux) Python 3, standard library only (tkinter) Linux 3,090
Server Monitor(python-window) Python 3, standard library only (tkinter) Windows 3,096
Server Monitor(web-linux) Node.js built-ins + plain browser JavaScript Linux 2,225
Server Monitor(web-window) Node.js built-ins + plain browser JavaScript Windows 2,214

No third-party libraries are used: only Qt, the Python standard library, and Node's built-in modules. Each edition monitors the machine it runs on and remote machines of the same OS over the system ssh client. Within a language, the Linux and Windows editions are the same files except for one platform file (src/core/Platform.cpp, plat.py, core/platform.js + collector script).

All editions use the same servers.json and the same binary history files, so data can be copied between them.

Quick start

Edition Start
cqt-linux ./build.sh run (needs Qt 5.15 development files and g++)
cqt-window Qt command prompt: build.bat, then build\release\ServerMonitor.exe
python-linux ./run.sh (needs python3-tk)
python-window run.bat
web-linux ./run.sh, then open http://127.0.0.1:8765
web-window run.bat, then open http://127.0.0.1:8765

Each folder has its own README with details. Installers and packages for offline installation are in requirements/: Qt 5 for Ubuntu and for Windows (with compiler), Python with tkinter, Node.js.

What every edition does

  • Servers: add, edit, remove, reorder; "This computer" or SSH (key or password); test connection.
  • Dashboard: a live card per server with gauges, sparkline, health grade and alert count; totals; recent events.
  • Server page: Overview, CPU (per core, temperatures, GPUs), Memory, Storage, Network, Processes (end, kill, priority), Services (start, stop, restart, enable, disable, logs), History, Insights & Autopilot, Alert rules, Console.
  • History: every sample for 6 hours, minutes for 30 days, hours for 2 years, days for 20 years; downtime included; min / average / 95th percentile / peak; CSV export.
  • Analysis every minute: disk-full forecast, memory growth, leaking and runaway processes, failed or flapping services, overload, swap thrashing, anomalies against the same weekday and hour, availability, capacity advice, a health score with grade, and a weekly busy-hours heatmap.
  • Autopilot: restarts failed services (with an hourly limit, never ones that were already failed when monitoring started), lowers or ends runaway processes, optional disk cleanup; every action has a cooldown and is logged.
  • Alert rules: "metric above/below a value for N seconds β†’ severity β†’ action", with events and alerts.log.

Test status

Tested on Ubuntu 26.04 (x86-64). Tests never changed the test machine: scratch settings, autopilot in dry run, no kill / restart / cleanup / reboot command was run for real.

Check cqt python web
Linux edition against the real machine + an unreachable SSH host: scripted click-through of every page, dialogs, console, rules, autopilot form, test connection 38 / 38 47 / 47 36 / 36 (browser) + 59 / 59 (API)
Windows edition, same click-through, fed with simulated Windows data 34 / 34 47 / 47 36 / 36 + API all passed
Analysis on a synthetic 3-day history: same findings, same numbers, same autopilot decisions in all editions yes yes yes
History files written by the C++ edition load in the other editions β€” yes yes
No child process survives the app (normal stop and forced kill) yes yes yes
Web only: wrong Host / Origin, missing header, path traversal, HTML injection through server data β€” β€” all rejected

Each pair was also reviewed independently after it was written; the defects found (among them: a process selection that could slide to another process, history buckets lost at restart, understated downtime) were fixed in all editions and are covered by the tests above.

Not tested: real Windows. No Windows machine was available. The Windows editions were run on Linux with a stand-in for PowerShell, which exercises the parser, analysis and the whole UI, but not the PowerShell collector script and not the Windows control commands; those were checked by careful reading only. Before relying on a Windows edition, run the self-test on a Windows PC from this folder:

powershell -ExecutionPolicy Bypass -File windows-selftest.ps1

It runs the collector once exactly the way the apps start it, checks every section of its output and the command wrapper, changes nothing on the machine, and prints PASS / FAIL per check.

Also not tested: a successful SSH session to a remote server (only a refused connection), sudo actions, GPUs and temperature sensors (the test machine has none), runs longer than about 12 minutes, browsers other than Chrome.

Security notes

  • Saved SSH passwords are only lightly disguised in servers.json (file mode 600), not encrypted. Prefer keys.
  • The web editions listen on 127.0.0.1 only and reject requests from other sites; the page can run commands on your servers, so do not expose the port to a network.
  • Control actions run as the user the app (or the SSH login) runs as.

For developers

dev/ holds the shared specification all six editions follow, the two collector scripts, a stand-in PowerShell for running the Windows editions on Linux, and the test scripts used above.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support