User guide

Using other tools

Prometheus, OpenTelemetry Collector, Grafana and webhooks.

Prometheus

Every agent (Windows and Linux) serves its current readings at https://<machine>:9070/metrics in Prometheus text format. Prometheus, Grafana Agent, VictoriaMetrics, Telegraf and other scrapers can use it. Available in every edition, including free.

What it serves

One metric per sensor type, named with its unit:

MetricWhat it is
metis_temperature_celsiusCPU, GPU, drive and board temperatures
metis_load_percentPer-core CPU, GPU, memory and drive load
metis_data_gigabytesMemory and drive space, used and free
metis_power_wattsPower draw, where reported
metis_clock_megahertzClock speeds
metis_fan_rpmFan speeds
metis_voltage_voltsVoltages
metis_throughput_bytes_per_secondNetwork and drive throughput
metis_agent_infoAlways 1; labels carry the machine name, agent version and OS

Labels on each reading: hardware (for example the CPU name), hardware_type, sensor (for example CPU Package) and id (the sensor identifier). Available sensors depend on the machine; VMs usually expose no temperatures.

Scraping it with Prometheus

Add the agents to prometheus.yml. Agent certificates are self-signed, so verification is disabled for these targets:

scrape_configs:
  - job_name: metis
    scheme: https
    metrics_path: /metrics
    tls_config:
      insecure_skip_verify: true
    authorization:
      credentials: YOUR-AGENT-KEY      # only if the agent has a key
    static_configs:
      - targets: ['frontdesk:9070', 'server1:9070']

If the agent has an API key, the scrape must send it, either as a bearer token (what authorization sends) or in an X-Metis-Key header. An agent without a key needs neither.

Example queries

# the hottest processor temperature on each machine
max by (instance) (metis_temperature_celsius{hardware_type="Cpu"})

# memory load per machine
metis_load_percent{sensor="Memory"}

# drives that are more than 85% full
metis_load_percent{hardware_type="Storage", sensor=~"Used Space.*"} > 85

Sensor names vary between Windows, Linux and machines: inspect your own agents' /metrics output first.

Grafana

Add Prometheus (or VictoriaMetrics) as a data source and build panels from the queries above. Every reading carries hardware and sensor labels, so panels can group by sensor or hardware, or select one machine by its instance label.

OpenTelemetry Collector

Agents do not push OTLP. The Collector's prometheus receiver scrapes /metrics and forwards the readings over OTLP to any backend. It needs the contrib distribution (otelcol-contrib). The receiver takes the same scrape_configs as Prometheus:

receivers:
  prometheus:
    config:
      scrape_configs:
        - job_name: metis
          scheme: https
          metrics_path: /metrics
          scrape_interval: 30s
          tls_config:
            insecure_skip_verify: true
          authorization:
            credentials: YOUR-AGENT-KEY      # only if the agent has a key
          static_configs:
            - targets: ['frontdesk:9070', 'server1:9070']

exporters:
  otlphttp:
    endpoint: https://otel.example.com:4318

service:
  pipelines:
    metrics:
      receivers: [prometheus]
      exporters: [otlphttp]

Metric names and labels are unchanged (metis_temperature_celsius, hardware, sensor, and so on). The Collector adds job and instance as resource attributes (service.name and service.instance.id) and an up series per target. Readings are gauges.

Fleet-wide metrics from the dashboard

The dashboard serves the whole fleet at one address, https://<dashboard>:9443/metrics: status and health score per machine, hypervisor, management controller and SNMP device, plus key readings per machine. It is built from the data behind the Health page, so a scrape never calls the agents. Available in every edition. The agents' own /metrics (above) still carries every sensor.

The page is off until you make a token: System, Usage, Metrics endpoint, Turn on. The token is shown once; New token replaces it, Turn off removes it. A scraper sends it as a bearer token (authorization in prometheus.yml or the Collector's prometheus receiver) or in an X-Metis-Key header. It only reads this page. Use port 9443; port 9080 is plain HTTP and would send the token unencrypted.

scrape_configs:
  - job_name: metis-fleet
    scheme: https
    metrics_path: /metrics
    tls_config:
      insecure_skip_verify: true
    authorization:
      credentials: YOUR-METRICS-TOKEN
    static_configs:
      - targets: ['dashboard:9443']
MetricWhat it is
metis_fleet_health_score0-100 across everything watched
metis_systems{status}, metis_machines{status}Counts by status (ok, warning, critical, offline; machines also ignored, unlicensed)
metis_machine_up, _health_score, _status{status}, _issues{level}Per machine; labels machine, id and, when the machine has tags, tags (comma-separated, for example metis_machine_up{tags=~".*prod.*"})
metis_machine_cpu_load_percent, _cpu_temperature_celsius, _cpu_power_watts, _gpu_load_percent, _gpu_temperature_celsius, _memory_load_percent, _disk_used_percent, _disk_temperature_celsius, _network_upload_bytes_per_second, _network_download_bytes_per_secondKey readings, where the machine has them
metis_system_up, _health_score, _issues{level}Per hypervisor, management controller and SNMP device; labels type (hypervisor, controller, snmp), system, id and tags when it has any
metis_hypervisor_hosts, _hosts_online, _vms, _vms_running, _cpu_load_percent, _memory_load_percentPer hypervisor
metis_controller_hottest_temperature_celsius, _power_watts, _sensorsPer management controller
metis_licence_machines_watched, _limitMachines watched against the edition's limit

The dashboard keeps no long history for these series; Prometheus or your backend does. Each agent still keeps its own sensor history, so Prometheus is optional.

Webhooks

Alerts can call a webhook, which reaches Teams, Slack, Discord, ntfy, Home Assistant or your own script. The JSON body has a ready text (Slack, Teams and most chat tools) and content (Discord), plus event, machine, level, issues and time. With a signing secret, each call carries an X-Metis-Signature header. Full payload on the alerts page.

Something missing or unclear? Ask us.