Sign inSign up

notrius/serverlens

By notrius

•Updated 12 months ago

Lightweight observability dashboards for self-hosted servers (CPU, GPU, ML, etc). #Grafana #Loki

Image
Networking
Operating systems
Monitoring & observability
1

473

notrius/serverlens repository overview

⁠ServerLens

ServerLens is a plug-and-play monitoring stack powered by Grafana and designed for self-hosted or cloud-based deployments — including RunPod, Vultr, and Docker-based servers.
It provides instant observability into system, network, and GPU/AI workloads with zero manual dashboard setup.


⁠Features

  • Based on Ubuntu 24.04 LTS
  • Preinstalled Grafana 10.3.1
  • Preloaded Grafana dashboards:
    • System Monitoring:
      • CPU, RAM, Disk I/O, Network traffic
      • Service uptime, system load, and process stats
    • GPU / AI Workloads:
      • NVIDIA GPU memory, power, temperature, utilization
      • LLM inference and ML training metrics
      • Cluster workers and job queue health
  • Ready for:
    • Docker & Docker Compose
    • TLS via NGINX + Let’s Encrypt (optional)
    • Cloud-init installation (Vultr-compatible)
    • Future support for Loki/Promtail (logs) and Prometheus (metrics)

⁠Quick Start (Docker)

To launch ServerLens locally:

docker run -d -p 3000:3000 notrius/serverlens:latest

Then open Grafana in your browser:

http://localhost:3000

Login credentials:

  • Username: admin
  • Password: admin

⁠Ports

PortPurpose
3000Grafana Web UI
3100Loki (planned)
9090Prometheus (planned)
9080Promtail (planned)

Only port 3000 is required for the current build.


⁠Volumes

To persist dashboards and settings across restarts:

docker run -d \
  -p 3000:3000 \
  -v grafana_data:/var/lib/grafana \
  notrius/serverlens:latest

⁠RunPod Template

ServerLens is available as a community template on RunPod:

  1. Go to runpod.io⁠
  2. Search for ServerLens
  3. Deploy using a low-cost CPU-only pod
  4. Access Grafana via public pod URL on port 3000

⁠Vultr Marketplace

ServerLens is compatible with Vultr cloud-init and .sh bootstrap installs, making it easy to deploy across Vultr VPS, Bare Metal, and Marketplace offerings.

The stack includes:

  • Docker-based provisioning
  • NGINX reverse proxy config
  • Let’s Encrypt integration
  • Preprovisioned dashboards and templates

⁠Directory Structure

Key components in the GitHub repo:

/
├── Dockerfile
├── dashboard-templates/         # 10+ JSON dashboards (CPU, GPU, LLM, etc.)
├── provisioning/
│   └── dashboards/              # Grafana provisioning YAMLs
├── docker-compose.yml           # Optional local deployment
├── entrypoint.sh                # Optional runtime script

⁠Roadmap

  • GPU-optimized container variant
  • Preconfigured Prometheus + node_exporter
  • LLM inference dashboards for OpenAI and HuggingFace
  • Loki & Promtail log observability
  • Helm chart for Kubernetes clusters

⁠Building From Source

Clone the repo:

git clone https://github.com/vavo/ServerLens.git
cd ServerLens
docker build -t serverlens:latest .

Or use the public Docker image:

docker pull notrius/serverlens:latest

⁠License

MIT License — see LICENSE file in the repository.


Tag summary

Content type

Image

Digest

sha256:d1fa86656…

Size

351.7 MB

Last updated

12 months ago

docker pull notrius/serverlens