Glances — a cross-platform system monitor with a live web dashboard (CPU, memory, disk, network, processes, and Docker containers) and a REST API. Deployed as a stateless host-networked Nomad service. A lightweight at-a-glance view; pair with the monitoring pack for full Prometheus history.
Save as values.hcl, edit, then run:
# The name of the Nomad job.
job_name = "glances"
# The Nomad namespace to deploy into.
namespace = "default"
# The datacenters to deploy to.
datacenters = ["*"]
# The Glances container image (use a *-full tag for the web UI + all sensors). Pin a tag in production.
image = "nicolargo/glances:latest-full"
# Host port for the Glances web dashboard / REST API.
port = 61208
# Mount the Docker socket read-only so Glances shows per-container stats.
docker_socket = true
# Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
constraints = []
# The task resources.
resources = {
cpu = 300
memory = 256
}
| Name | Type | Default | Description |
|---|---|---|---|
| job_name | string | "glances" | The name of the Nomad job. |
| namespace | string | "default" | The Nomad namespace to deploy into. |
| datacenters | list | ["*"] | The datacenters to deploy to. |
| image | string | "nicolargo/glances:latest-full" | The Glances container image (use a *-full tag for the web UI + all sensors). Pin a tag in production. |
| port | number | 61208 | Host port for the Glances web dashboard / REST API. |
| docker_socket | bool | true | Mount the Docker socket read-only so Glances shows per-container stats. |
| constraints | list | [] | Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true". |
| resources | object | {
cpu = 300
memory = 256
} | The task resources. |
No variables match.
Glances — a cross-platform system monitor with a live web dashboard (CPU, memory, disk, network, processes, Docker containers) and a REST API.
Stateless, host-networked Nomad service. Runs with pid_mode = host so stats reflect the whole
node, and (by default) mounts the Docker socket read-only for per-container stats.
nomad-pack registry add nomploy https://github.com/Nomploy/nomad-packs
nomad-pack run glances --registry=nomploy
| Variable | Default | Description |
|---|---|---|
port |
61208 |
Web dashboard / REST API port. |
docker_socket |
true |
Mount /var/run/docker.sock:ro for container stats. |
image |
nicolargo/glances:latest-full |
Image (-full includes the web UI + all sensors). |
resources |
{ cpu = 300, memory = 256 } |
Task resources. |
A lightweight at-a-glance view of a single node (whichever one the alloc lands on). For multi-node history and alerting, use the monitoring pack. Glances has no built-in auth — front it with TLS/auth.