debugger.help VPS Agent — Deep system monitoring for logs, GPU, PM2, Docker, and more
Project description
debugger-help
Deep VPS monitoring agent for debugger.help. Captures PM2, GPU metrics, Docker containers, system health, and streams everything to your dashboard in real time.
Install
python3 -m pip install --upgrade debugger-help
With GPU monitoring:
python3 -m pip install --upgrade debugger-help[gpu]
With everything:
python3 -m pip install --upgrade debugger-help[all]
Quick Start
# 1) Install the Python package
python3 -m pip install --upgrade debugger-help
# 2) Add your project credentials
export DEBUGGER_API_KEY="your-api-key"
export DEBUGGER_INGEST_URL="your-ingest-url"
# 3) Start the agent
debugger-agent
Do not use placeholder commands like git+https://github.com/YOUR_ORG/... — install from PyPI with debugger-help.
Or keep it running with PM2:
pm2 start "debugger-agent" --name debugger-agent
pm2 save
Important naming
debugger-help= the Python package you install with pipdebugger-agent= the CLI command that package installspip install debugger-agentwill fail because there is no separate package with that name- placeholder GitHub commands like
git+https://github.com/YOUR_ORG/...are not real install commands
What it captures
- PM2 process states, restart counts, logs, error logs
- GPU: VRAM per-process, temperature, power, utilization, clock speeds, throttle reasons, ECC errors
- CPU: per-core usage, load average, frequency, context switches
- Memory: RAM, swap, shared, buffers, cached
- Disk: usage per mount, I/O rates, inode usage
- Network: per-interface stats, TCP connection states, open ports, DNS resolution
- Processes: top CPU/memory consumers, zombies, open file descriptors
- Docker containers: status, CPU, memory, restart counts
- Systemd: failed units
- SSL certificates: expiry checks
- System logs: dmesg, OOM kills, journalctl errors
- File watchers: syslog, PM2 logs, custom log files
Resource Usage
The agent is designed to be as lightweight as possible:
| Resource | Typical Usage | Notes |
|---|---|---|
| RAM | ~20–30 MB | Pure Python with psutil + requests |
| CPU | <1% | Polls every 10s by default, minimal processing |
| VRAM | 0 MB | Reads GPU stats via pynvml driver queries — nothing is loaded onto the GPU |
| Disk | ~5 MB installed | No local buffering or log storage |
| Network | ~2–5 KB/s | Small JSON payloads sent every collection interval |
The agent never interferes with your workloads. GPU monitoring uses NVIDIA's management library (pynvml) which queries the driver directly — no CUDA contexts are created, no VRAM is allocated.
Environment Variables
| Variable | Required | Description |
|---|---|---|
DEBUGGER_API_KEY |
Yes | Your debugger.help API key |
DEBUGGER_INGEST_URL |
Yes | Your ingest endpoint URL |
DEBUGGER_SOURCE |
No | Source name (default: vps-{hostname}) |
DEBUGGER_INTERVAL |
No | Collection interval in seconds (default: 10) |
DEBUGGER_WATCH_LOGS |
No | Comma-separated extra log file paths |
DEBUGGER_SSL_DOMAINS |
No | Comma-separated domains for SSL checks |
FAQ
Will it slow down my GPU workloads?
No. The agent uses zero VRAM and creates no CUDA contexts. It reads metrics through NVIDIA's management API, which is the same interface nvidia-smi uses.
Can I run it alongside my ML training / inference? Yes. It's completely passive — it only reads system stats. Many users run it on the same machines serving Flux, SDXL, and other heavy models without any impact.
What happens if the ingest endpoint is unreachable? The agent silently skips the send and retries on the next interval. No data is buffered to disk, so there's no risk of filling up storage.
Does it need root?
No. Standard user permissions are sufficient for most metrics. Some system log files (like /var/log/syslog) may require adding your user to the appropriate group (e.g., adm).
Can I adjust the collection interval?
Yes. Set DEBUGGER_INTERVAL to any number of seconds. Lower values give more granularity but slightly increase network usage.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file debugger_help-4.2.3.tar.gz.
File metadata
- Download URL: debugger_help-4.2.3.tar.gz
- Upload date:
- Size: 28.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42361a476c83a39dbc14aaf83fbcf053342c10e61e96cc30f54cfc02abb8386b
|
|
| MD5 |
605cdaea429e0e261425756e8b391fec
|
|
| BLAKE2b-256 |
e7dfa6c5790d5840c457d25863aa9e706039f9250ddf40231e17f2f59e1419b5
|
File details
Details for the file debugger_help-4.2.3-py3-none-any.whl.
File metadata
- Download URL: debugger_help-4.2.3-py3-none-any.whl
- Upload date:
- Size: 27.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e80fd48bc6b634a1fdc5d9f0f1d1e22630534ae13ea10c859b4f6e54a805eb3e
|
|
| MD5 |
c4f1ec07a1f20c0e77aed74defa9cf1c
|
|
| BLAKE2b-256 |
2239397f63a9c8e533572a4e82a4fb8532ad4c35b6ac72b0c670c9ff90e7db6c
|