Skip to content

Instantly share code, notes, and snippets.

Grafana 監控 Node

Node Exporter 設定

Docker compose

services:
  node_exporter:
    image: quay.io/prometheus/node-exporter:v1.9.0
    container_name: node_exporter

Grafana 監控 MinIO

MinIO 設定

透過 MinIO Client(mc) 取得 bearer_token

~$ mc alias set myminio http://sc-dss-storage:9000 USER_NAME PASSWORD && mc admin prometheus generate myminio
scrape_configs:
- job_name: minio-job
 bearer_token: ey......
@stan1ey-shen
stan1ey-shen / pve_exporter.md
Last active March 4, 2025 07:36
Start PVE exporter

Grafana 監控 PVE

PVE 設定

  1. 在 PVE shell 內新增 PVE 使用者:
    pveum user add pve-exporter@pve -password "password"
    並且設定權限
{"schemaVersion":1,"label":"build","message":"2 warning(s), 1 error(s)","color":"red","style":"plastic"}