Cloud & Virtualization

Cloud Monitoring Tools: What to Watch and Which Tools to Use

By NileVPS Team · Published · 5 min read

اقرأ المقال بالعربي

A cloud server makes it easy to launch things quickly, and just as easy to lose track of them. Without monitoring, you usually learn about a problem from a customer: the site is slow, the bot stopped replying, the disk filled up overnight. Cloud monitoring is the habit of collecting the right signals from your servers and applications and turning them into alerts and dashboards before users notice anything. This guide breaks monitoring into layers, suggests proven open-source tools for each, and shows a minimal setup that works well for one or a few cloud VPS instances.

The four layers of cloud monitoring

Thinking in layers helps you avoid the classic gap where the server looks healthy while the application is broken.

LayerQuestions it answersExample signals
AvailabilityCan users reach the service?HTTP status, response time, SSL expiry
InfrastructureDoes the server have enough resources?CPU, RAM, disk space, disk I/O, network
ApplicationIs the software behaving correctly?Error rate, request latency, queue length
Logs and eventsWhat exactly happened and when?Nginx errors, system journal, auth failures

You do not need all four on day one. Availability and infrastructure checks catch most real incidents for small projects. Application metrics and centralized logs become valuable as traffic and team size grow.

Tools by layer

Availability: external uptime checks

Checks must run from outside the server, otherwise a crashed server cannot report that it crashed.

  • Uptime Kuma: a self-hosted dashboard for HTTP, TCP, ping, DNS and keyword checks, with notifications to Telegram, email, Slack and many others. Lightweight enough to run on a small separate VPS.
  • Blackbox exporter: the Prometheus way to probe HTTP, TCP, ICMP and DNS endpoints, useful if you already run Prometheus.

Running the monitor in a different region from the monitored server gives you an honest view of reachability.

Infrastructure: resource metrics

  • Prometheus + node_exporter: node_exporter exposes CPU, memory, disk and network metrics; Prometheus scrapes and stores them and evaluates alert rules.
  • Netdata: per-second metrics with almost no configuration, excellent for live troubleshooting on a single server.
  • Zabbix: a mature, all-in-one system with agents, templates and alerting, suited to larger fleets that prefer a central server.
  • Your provider's panel: the cloud dashboard usually shows basic CPU, network and disk graphs. Use it as a sanity check, not as your only source.

Application: what users actually experience

  • Prometheus client libraries for Python, Go, Node.js, PHP and others let you export request counts, error counts and latency histograms.
  • OpenTelemetry gives a vendor-neutral way to collect metrics and traces from your code. Our article on observability explains how traces fit in.
  • Exporters for common services: nginx, MySQL, PostgreSQL and Redis all have Prometheus exporters.

Logs: the details behind every alert

  • Grafana Loki + Promtail or Grafana Alloy: stores logs indexed by labels, cheap to run and queried from Grafana next to your metrics.
  • journalctl and standard log files remain useful for quick checks on a single server.

Grafana ties it together as the dashboard layer for Prometheus, Loki and many other data sources.

A minimal stack for a cloud VPS

For one to a few servers, this combination covers the essentials with modest resources:

  1. Uptime Kuma on a small separate VPS in another region, checking your public URLs.
  2. node_exporter on every server you want to watch.
  3. Prometheus + Grafana on the monitoring VPS, scraping node_exporter over a private network or a firewall-restricted port.

Installing node_exporter on Debian or Ubuntu:

sudo apt update
sudo apt install prometheus-node-exporter
systemctl status prometheus-node-exporter
curl -s http://localhost:9100/metrics | head

Port 9100 must never be open to the whole internet. Allow it only from the monitoring server's IP:

sudo ufw allow from <monitoring-server-ip> to any port 9100 proto tcp

A simple Prometheus alert rule for low disk space:

groups:
  - name: host
    rules:
      - alert: DiskSpaceLow
        expr: node_filesystem_avail_bytes{fstype!~"tmpfs|overlay"} / node_filesystem_size_bytes{fstype!~"tmpfs|overlay"} < 0.10
        for: 10m
        labels:
          severity: warning
        annotations:
          summary: "Less than 10% disk space left on {{ $labels.instance }}"

You can create both the monitored server and the monitoring VPS from the deploy page.

What to alert on, and what not to

Good alerts are rare, actionable and tied to user impact. A practical starting set:

  • service unreachable from outside for more than two or three minutes;
  • SSL certificate expiring within 14 days;
  • disk space below 10 to 15 percent;
  • memory pressure with swap use climbing steadily;
  • error rate or response time well above normal for several minutes;
  • backup job not completed within its expected window.

Avoid alerting on every CPU spike. Short bursts are normal; sustained saturation combined with slow responses is what matters. Every alert should have a clear first action, otherwise people learn to ignore them.

FAQ

Is my cloud provider's dashboard enough for monitoring?

It is a good start for basic resource graphs, but it usually cannot see inside your application, check your site from the outside, or tell you that a background worker has stopped. Combine it with external uptime checks and at least basic metrics from inside the server.

Should monitoring run on the same server it watches?

Agents such as node_exporter must run on the server, but the system that stores data and sends alerts is best placed elsewhere. If it shares the server, an outage or a full disk takes down your monitoring at the exact moment you need it.

How much do these monitoring tools cost?

Uptime Kuma, Prometheus, Grafana, Loki, Netdata and Zabbix are open source and free to self-host. Your real costs are the server that runs them and the time to set them up and maintain them. For small setups, a modest VPS is usually enough to monitor several servers.

Related guides