镜像概览

完整引用
docker.io/prezhdarov/vmware-exporter
Registry
docker.io
命名空间
prezhdarov
仓库
vmware-exporter
已缓存 Tag 数
12
最近同步
07/06/2026, 08:06 PM

简介

VMware vSphere Prometheus Exporter 镜像,抓取 ESXi 与 vCenter 主机、虚拟机及数据存储指标,供 Grafana 监控虚拟化集群容量与健康。

详细介绍

prezhdarov/vmware-exporter 基于 pyvmomi 连接 vCenter API,在 /metrics 端点暴露 CPU、内存、存储 latency 等时序数据。部署需配置 vCenter 地址与只读服务账户,并确保 exporter 容器能访问 443 管理端口。与 node_exporter 不同,本镜像专盯 VMware 层级对象;常与 Prometheus Operator ServiceMonitor 配合,替代已停更的官方 vmware_exporter。

快速启动

docker run -d --name vmware-exporter \
  -p 9272:9272 \
  -e VSPHERE_HOST=vcenter.example.com \
  -e VSPHERE_USER=monitor@vsphere.local \
  -e VSPHERE_PASSWORD=secret \
  docker.io/prezhdarov/vmware-exporter:latest

推荐实践

docker run -d --name vmware-exporter \
  --restart unless-stopped \
  -p 9272:9272 \
  -e VSPHERE_HOST=vcenter.example.com \
  -e VSPHERE_USER=svc-prometheus \
  -e VSPHERE_PASSWORD=secret \
  -e VSPHERE_IGNORE_SSL=True \
  -e COLLECT_HOSTS=true \
  -e COLLECT_VMS=true \
  docker.io/prezhdarov/vmware-exporter:0.18.4

核心参数说明

  • -e VSPHERE_HOST — vCenter Server 主机名或 IP
  • -e VSPHERE_USER / -e VSPHERE_PASSWORD — 只读监控账户
  • -p 9272:9272 — Prometheus scrape 端口
  • -e COLLECT_HOSTS / -e COLLECT_VMS — 控制采集 ESXi 与 VM 指标
  • --restart unless-stopped — exporter 持续在线

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
  name: vmware-exporter
spec:
  replicas: 1
  selector:
    matchLabels:
      app: vmware-exporter
  template:
    metadata:
      labels:
        app: vmware-exporter
    spec:
      containers:
        - name: exporter
          image: docker.io/prezhdarov/vmware-exporter:0.18.4
          ports:
            - containerPort: 9272
          env:
            - name: VSPHERE_HOST
              value: vcenter.example.com
            - name: VSPHERE_PASSWORD
              valueFrom:
                secretKeyRef:
                  name: vmware-exporter
                  key: password
---
apiVersion: v1
kind: Service
metadata:
  name: vmware-exporter
spec:
  selector:
    app: vmware-exporter
  ports:
    - port: 9272
      targetPort: 9272

vCenter 凭证存入 Secret;若集群与 vCenter 跨网段,需 NetworkPolicy 放行 443 出站,Prometheus 经 ServiceMonitor 采集 9272。

最新 Tag(20 条)

查看全部 12 个 Tag →
Tag架构推送时间大小Digest同步期望操作
docker.io/prezhdarov/vmware-exporter
:latest
linux/amd64linux/arm64
2026/06/29 23:3713.0 MBsha256:e86124657697
docker.io/prezhdarov/vmware-exporter
:v0.1.18
linux/amd64linux/arm64
2026/06/18 03:4313.0 MBsha256:ad8ac47186cf
docker.io/prezhdarov/vmware-exporter
:v0.1.17
linux/amd64linux/arm64
2026/02/25 04:4413.0 MBsha256:797717746db3
docker.io/prezhdarov/vmware-exporter
:v0.1.16
linux/amd64linux/arm64
2025/12/02 04:3512.5 MBsha256:70fd29d6c60a
docker.io/prezhdarov/vmware-exporter
:v0.1.15
linux/amd64
2025/11/14 19:2312.5 MBsha256:a1a1655a5452
docker.io/prezhdarov/vmware-exporter
:v0.1.14
linux/amd64
2025/10/07 18:4712.4 MBsha256:9ba277829db6
docker.io/prezhdarov/vmware-exporter
:v0.1.13
linux/amd64
2025/08/19 21:3612.4 MBsha256:5946bd6e6230
docker.io/prezhdarov/vmware-exporter
:v0.1.12
linux/amd64
2025/05/24 03:3912.7 MBsha256:dcb37f6590a2
docker.io/prezhdarov/vmware-exporter
:v0.1.11
linux/amd64
2024/07/24 17:2711.4 MBsha256:9adafb07db7a
docker.io/prezhdarov/vmware-exporter
:v0.1.8vdc
linux/amd64
2024/04/17 03:4110.3 MBsha256:f6de16889a3b
docker.io/prezhdarov/vmware-exporter
:v0.1.10
linux/amd64
2024/04/13 02:3411.0 MBsha256:147cf3946ffb
docker.io/prezhdarov/vmware-exporter
:v0.1.7
linux/amd64
2022/08/23 00:2510.2 MBsha256:896b7d912758