Skip to main content
Servers Are Up
Virtual Datacenter
PricingFree Tools
Sign inBrowse catalog
Servers Are Up
Virtual Datacenter
PricingFree Tools
Sign inBrowse catalog

Loading…

Servers Are Up

Your apps, automation and data on hardware we own. Build a private stack with predictable capacity and access through your dashboard, API or SSH.

SLA with service creditsOwned hardwareUS-based

Make room for your next idea

Explore the capacity, apps and access options that fit your workload. Check current availability and your total before you buy.

Sign up freeView Pricing

Products

  • Linux VPS
  • Windows VPS
  • Cloud & SaaS Services
  • Cloud Storage (Azure)
  • Virtual Datacenter
  • AI & Agent Hosting
  • Containers
  • Instant Apps
  • Software Platforms
  • Network builder
  • Game Servers
  • Free Game Servers
  • Pricing

Resources

  • Free Network Tools
  • 2026 Pricing Benchmark
  • Live SVG Badges
  • Latency & Speed Test
  • Guides & Tutorials
  • Documentation
  • API Reference
  • MCP Server
  • CLI & SDKs
  • OpenAPI & llms.txt
  • Use Cases
  • Free Migration
  • Uptime & Reliability
  • Datacenter
  • System Status
  • Network
  • Provider Comparisons Hub
  • Compare Providers

Company

  • About Us
  • Enterprise
  • Security Architecture
  • Trust Center
  • Blog
  • FAQ
  • Compliance
  • Startup Program
  • Open-Source Sponsorship
  • Press & Media Kit
  • Referral Program
  • Help Center
  • Contact Us
© Servers Are Up
TermsPrivacySLARefund PolicyDPAAcceptable Use
Service information
Docs
  • Documentation Hub
  • Technical Knowledge Library
    Runbooks & 187 Blueprints
  • Choose a Product
    VMs, Containers & Cloud
  • First Linux Server
    SSH, Firewall & Apps
  • Windows Server 2025
    BYOL & Remote Desktop
  • Remote Access
  • Troubleshooting
  • FAQ
  • All Product Guides
    29 Step-by-Step Guides
  • Cloud & SaaS Catalog
    112 Cloud & SaaS Offerings
  • Azure Cloud Storage
    Hot/Cool/Archive & WORM
  • Resource Manager & RBAC
    Groups, Tags & Locks
  • Multi-Model Cloud DB
    JSONB, SQL & pgvector
  • Cloud Identity & ZTNA
    OIDC, SCIM & PIM
  • Key Vault & KMS
    Secrets & Envelope Keys
  • Cloud SIEM, SOAR & DLP
    Posture & Threat Response
  • API Gateway & Cloud DNS
    Edge WAF & DNS Zones
  • Serverless, Workflows & IoT
    Functions, Queues & DAGs
  • SaaS, Governance & Vault
    Budgets & Off-Host GRS
  • Linux Systems & Kernel
    SSH, UFW, sysctl & OOM
  • Self-Hosted Apps & Stacks
    Caddy, Nextcloud & Auth
  • Build Web Apps with AI
  • Next.js and React
  • TypeScript and Node.js
  • npm and Tooling
  • Data and APIs
  • Deploy and Operate
  • Tutorials
  • Infrastructure
  • Automation & Regions
  • API Overview
  • API v1 Reference
    Endpoints & 23 Scopes
  • MCP Server
    129 AI Agent Tools
  • Swagger / OpenAPI 3.1
  • API Playground
  • Versioning & Sunset
  • API Token Security
    Authentication & Tokens
  • Instances API
    Compute Resources
  • Networking API
    Networks & Ports
  • Storage API Availability
    Volumes & Backups
  • Webhooks & Events
    Event Notifications
  • Rate Limits & Best Practices
    Throttling & Retries
  • sau CLI Reference
    34 Commands (v0.2)
  • Browser Web CLI
  • SDKs
  • Infrastructure as Code
    Terraform & Ansible
  • Code Examples
  • CLI & SDK Guides
  • Security Guides
  • Security at a Glance
  • Zero Trust Architecture
  • Live Trust Center
  • Compliance
Need help?

Loading documentation...

Documentation/self hosted apps

Deploy Grafana, VictoriaMetrics, and Uptime Kuma cleanly

Run low-overhead time-series metrics with VictoriaMetrics, Grafana dashboards, Docker stats exporters, and Uptime Kuma external probing without filling disk.

Intermediate
25 min
Updated 2026-11-23

Deploy Ready-to-Run Infrastructure in Seconds

Linux VMs from $6/mo · Pooled Virtual Datacenters from $12/mo · Use code WELCOME20 for 20% off your first order.

Browse ServersView Pricing

Commands checked on 2026-11-23 with VictoriaMetrics v1.106+, Grafana 11+, Uptime Kuma 1.23+, Node Exporter 1.8.

What you will have at the end

A lightweight, high-retention observability stack using VictoriaMetrics (Prometheus-compatible remote write and PromQL/MetricsQL queries at a fraction of Prometheus RAM usage), Grafana dashboards, node-exporter / cadvisor, and Uptime Kuma synthetic checks—all isolated behind reverse-proxy HTTPS.

Before you start

  • A Linux host running Docker Compose v2; see Managed Docker first stack.
  • Shared proxy_net and isolated monitoring_net as configured in Configure Caddy and Traefik reverse proxies reliably.

Steps

1. Define a minimal Prometheus-style scrape config for VictoriaMetrics

VictoriaMetrics can ingest directly via --promscrape.config=/etc/victoria/scrape.yml so you do not need to run a separate heavy Prometheus server on a single host:

# ./scrape.yml
global:
  scrape_interval: 30s

scrape_configs:
  - job_name: node
    static_configs:
      - targets: ['node-exporter:9100']
  - job_name: cadvisor
    static_configs:
      - targets: ['cadvisor:8080']

Using a 30s scrape interval cuts disk write amplification and storage consumption by 2–3× compared to aggressive 5s loops while still catching CPU, memory, and disk alerts quickly.

2. Deploy VictoriaMetrics, Node Exporter, cAdvisor, Grafana, and Uptime Kuma

services:
  victoriametrics:
    image: victoriametrics/victoria-metrics:v1.106.1
    container_name: victoriametrics
    restart: unless-stopped
    command:
      - "--storageDataPath=/victoria-metrics-data"
      - "--retentionPeriod=30d"
      - "--promscrape.config=/etc/victoria/scrape.yml"
      - "--memory.allowedPercent=40"
    volumes:
      - vm_data:/victoria-metrics-data
      - ./scrape.yml:/etc/victoria/scrape.yml:ro
    networks:
      - internal_net
    deploy:
      resources:
        limits:
          memory: 768M

  node-exporter:
    image: prom/node-exporter:v1.8.2
    restart: unless-stopped
    pid: host
    command:
      - "--path.rootfs=/host"
    volumes:
      - "/:/host:ro,rslave"
    networks:
      - internal_net

  cadvisor:
    image: gcr.io/cadvisor/cadvisor:v0.51.0
    restart: unless-stopped
    command:
      - "--docker_only=true"
      - "--housekeeping_interval=30s"
    volumes:
      - /:/rootfs:ro
      - /var/run:/var/run:ro
      - /sys:/sys:ro
      - /var/lib/docker/:/var/lib/docker:ro
    networks:
      - internal_net

  grafana:
    image: grafana/grafana:11.3.0
    container_name: grafana
    restart: unless-stopped
    environment:
      - GF_SECURITY_ADMIN_USER=${GRAFANA_ADMIN_USER:-admin}
      - GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_ADMIN_PASSWORD}
      - GF_USERS_ALLOW_SIGN_UP=false
      - GF_SERVER_ROOT_URL=https://metrics.YOUR_DOMAIN
    volumes:
      - grafana_data:/var/lib/grafana
    networks:
      - internal_net
      - proxy_net
    deploy:
      resources:
        limits:
          memory: 512M

  uptime-kuma:
    image: louislam/uptime-kuma:1
    container_name: uptime-kuma
    restart: unless-stopped
    volumes:
      - uptime_kuma_data:/app/data
    networks:
      - internal_net
      - proxy_net

Notice only grafana and uptime-kuma join proxy_net; neither victoriametrics, node-exporter, nor cadvisor is published on host ports or public reverse proxies.

3. Connect Grafana to VictoriaMetrics cleanly

Sign in to https://metrics.YOUR_DOMAIN, open Connections -> Data sources -> Add data source -> Prometheus, and point the Prometheus server URL to http://victoriametrics:8428. Click Save & test, then import Grafana dashboard ID 1860 (Node Exporter Full) and ID 14282 (cAdvisor Exporter).

Check that it works

Inspect VictoriaMetrics targets and verify time-series ingestion from inside your private network:

docker exec victoriametrics wget -qO- 'http://127.0.0.1:8428/api/v1/targets' | head -c 400
docker exec victoriametrics wget -qO- 'http://127.0.0.1:8428/api/v1/query?query=up'
curl -fsS https://metrics.YOUR_DOMAIN/api/health

Confirm "health":"up" on targets and "database":"ok" on Grafana /api/health.

What can go wrong

  • VictoriaMetrics storage grows rapidly and threatens /var/lib/docker. Lower --retentionPeriod=14d and add metric_relabel_configs to drop high-cardinality per-cgroup or ephemeral Kubernetes labels.
  • cadvisor consumes noticeable CPU polling idle containers. Passing --docker_only=true --housekeeping_interval=30s cuts cAdvisor background CPU overhead dramatically; alternatively consider lightweight beszel for simple multi-node host metrics.
  • Uptime Kuma marks external HTTPS sites down due to internal hairpin routing. If Uptime Kuma queries a domain whose DNS resolves back to the same host behind strict NAT/DOCKER-USER rules, probe the container directly over proxy_net or monitor from an external region.

Good practice

  • Always set GF_USERS_ALLOW_SIGN_UP=false and enforce strong passwords or Authentik OAuth on Grafana.
  • Alert on host disk < 15% free, OOM kills (node_vmstat_oom_kill), systemd failed units, and TLS certificate expiry < 14 days.
  • Never expose Prometheus/VictoriaMetrics :8428 or Node Exporter :9100 directly to the internet; internal metrics reveal running processes, mount paths, and package versions.

Where to go next

  • Diagnose Linux OOM kills, sysctl limits, and disk spikes
  • Fix Docker UFW bypasses with DOCKER-USER and nftables
  • Cloud SIEM, SOAR, Posture, and DLP

Related Articles

Wire Authentik, Gitea, and n8n cleanly behind a proxy

Read more

Configure Caddy and Traefik reverse proxies reliably

Read more

Run Nextcloud, Immich, and Vaultwarden reliably behind proxies

Read more

Frequently Asked Questions

What does the Deploy Grafana, VictoriaMetrics, and Uptime Kuma cleanly documentation guide cover?
Run low-overhead time-series metrics with VictoriaMetrics, Grafana dashboards, Docker stats exporters, and Uptime Kuma external probing without filling disk. It is rated intermediate difficulty (25 min) and applies to Servers Are Up infrastructure and workflows.
Can I manage or automate these steps through the Servers Are Up dashboard, REST API v1, or MCP server?
Yes. Every Servers Are Up server includes browser-based SSH, WebRDP, and VNC console access in the dashboard, plus programmatic control via the REST API v1 (/api/v1) and hosted Model Context Protocol server (/api/mcp/v1) using a scoped Personal Access Token.

Need hands-on help with Deploy Grafana, VictoriaMetrics, and Uptime Kuma cleanly?

Every Servers Are Up virtual machine and container includes an integrated HTML5 browser-based SSH, RDP, and VNC console in your dashboard, default-off inbound firewall rules with per-IP allow-lists, and full programmatic control via REST API v1 and Model Context Protocol (MCP). Explore our Virtual Datacenter Plans or reach out to Servers Are Up Support.

Was this article helpful?

On this page

What you will have at the endBefore you startSteps1. Define a minimal Prometheus-style scrape config for VictoriaMetrics2. Deploy VictoriaMetrics, Node Exporter, cAdvisor, Grafana, and Uptime Kuma3. Connect Grafana to VictoriaMetrics cleanlyCheck that it worksWhat can go wrongGood practiceWhere to go next
Need Live Commands?

Open Aria in Wide Engineering Mode for distro-specific commands, compose tweaks, and isolated environment troubleshooting.

Knowledge Library