内网部署段,是软路由
# compose 文件协议版本,version3 是软路由Docker最通用稳定版本
version: "3"
# 创建专属独立网桥,让 prometheus 和 grafana 内网互通,隔绝其他容器,避免端口冲突
networks:
monitor-net:
services:
prometheus:
# 使用本地已经导入完毕的监控镜像
image: prom/prometheus:latest
# 设定容器固定名称,后续操作直接调用该名字
container_name: prometheus
# 容器崩溃、软路由重启,自动重启容器,实现开机自启
restart: always
# =========资源限制重点=========
# mem_limit:512m 容器最大允许占用内存512MB,超过会被系统限制,防止监控吃光路由内存
mem_limit: 512m
# cpus:1.5 最多只能使用1.5个CPU核心,不会抢占软路由拨号、流控的处理器性能
cpus: 1.5
# 端口映射:主机9090端口 → 容器内9090,浏览器访问监控后台
ports:
- "9090:9090"
# 目录挂载:主机文件夹映射进容器,配置、监控数据持久保存
volumes:
- /root/docker_data/prom_config:/etc/prometheus
- /root/docker_data/prom_data:/prometheus
# Prometheus 启动运行参数
command:
# 指定监控配置文件位置
- --config.file=/etc/prometheus/prometheus.yml
# 时序监控数据存储路径
- --storage.tsdb.path=/prometheus
# 监控数据只保留15天,过期自动清理,避免硬盘存满
- --storage.tsdb.retention.time=15d
# 开启配置热重载,修改配置无需重启容器
- --web.enable-lifecycle
# 关闭高危管理员API接口,规避内网安全风险
- --web.enable-admin-api=false
# 环境变量,设置容器时区为北京时间,监控时间不会错乱
environment:
TZ: Asia/Shanghai
# 接入专属监控网桥
networks:
- monitor-net
grafana:
# 本地现成的可视化面板镜像
image: grafana/grafana:latest
# 容器固定名称
container_name: grafana
# 设备重启、程序异常后自动重启
restart: always
# 面板程序最大内存上限512MB
mem_limit: 512m
# 最多占用1颗CPU核心,节省R5C硬件资源
cpus: 1
# 网页端口,主机3000端口打开可视化仪表盘
ports:
- "3000:3000"
# 挂载面板配置、图表数据,删除容器数据也不会丢失
volumes:
- /root/docker_data/grafana_data:/var/lib/grafana
environment:
# 同步东八区北京时间
TZ: Asia/Shanghai
# 关闭匿名访客登录,必须账号密码登录仪表盘
GF_AUTH_ANONYMOUS_ENABLED: false
# 加入监控网桥,和prometheus互相通信获取监控数据
networks:
- monitor-net会有警告
oot@iStoreOS:~# docker-compose up -d
WARN[0000] /root/docker-compose.yml: the attribute version is obsolete, it wil l be ignored, please remove it to avoid potential confusion
[+] Running 3/5
✔ Network root_monitor-net Cre ated0.0s ner prometheus Creating 0.1s
⠙ Container grafana Sta rting0.2s
⠙ Container prometheus Sta rting0.2s
[+] Running 3/5he requested image's platform (linux/amd64) does not match the de ✔ Network root_monitor-net Cre ated0.0s a Your kernel does not support swap limit capabilities or the cgroup is ⠹ Container grafana Sta rting0.3s
⠹ Container prometheus Sta rting0.3s
[+] Running 3/5he requested image's platform (linux/amd64) does not match the de ✔ Network root_monitor-net Cre ated0.0s a Your kernel does not support swap limit capabilities or the cgroup is ⠸ Container grafana Sta rting0.4s
⠸ Container prometheus Sta rting0.4s
[+] Running 3/5he requested image's platform (linux/amd64) does not match the de ✔ Network root_monitor-net Cre ated0.0s a Your kernel does not support swap limit capabilities or the cgroup is ⠼ Container graf报错声明
、version 属性已经过时,可以直接删掉
新版‑docker‑compose 已经不需要版本声明,直接删除第一行 version:"3"
2、the requested image's platform (linux/amd64) does not match the device
你的 R5C 是 ARM‑aarch64 架构,但你导入的 prom/prometheus:latest 是 x86 (amd64) 版本镜像,架构不兼容,容器无法正常启动,这是最关键问题!
3、Your kernel does not support swap limit capabilities
iStoreOS 内核不支持内存交换分区限制,直接删掉 mem_limit、cpus 资源限制参数即可,软路由内核不支持 cgroup 内存管控
修正之后最终可用 compose(适配 R5C‑ARM 架构)
# 已删除过时的version字段
networks:
monitor-net:
services:
prometheus:
image: prom/prometheus:latest
container_name: prometheus
restart: always
ports:
- "9090:9090"
volumes:
- /root/docker_data/prom_config:/etc/prometheus
- /root/docker_data/prom_data:/prometheus
command:
- --config.file=/etc/prometheus/prometheus.yml
- --storage.tsdb.path=/prometheus
- --storage.tsdb.retention.time=15d
- --web.enable-lifecycle
- --web.enable-admin-api=false
environment:
TZ: Asia/Shanghai
networks:
- monitor-net
grafana:
image: grafana/grafana:latest
container_name: grafana
restart: always
ports:
- "3000:3000"
volumes:
- /root/docker_data/grafana_data:/var/lib/grafana
environment:
TZ: Asia/Shanghai
GF_AUTH_ANONYMOUS_ENABLED: false
networks:
- monitor-net停止当前出错容器
bash
docker-compose down
删除现在 x86 架构、无法运行的 prometheus 镜像
bash
docker rmi prom/prometheus:latestroot@iStoreOS:~# docker logs prometheus
Error parsing command line arguments: unexpected false
prometheus: error: unexpected false
Error parsing command line arguments: unexpected false
prometheus: error: unexpected false
Error parsing command line arguments: unexpected false
prometheus: error: unexpected false
Error parsing command line arguments: unexpected false
prometheus: error: unexpected false
Error parsing command line arguments: unexpected false
prometheus: error: unexpected false
Error parsing command line arguments: unexpected false
prometheus: error: unexpected false
Error parsing command line arguments: unexpected false
prometheus: error: unexpected false
Error parsing command line arguments: unexpected false
prometheus: error: unexpected false
Error parsing command line arguments: unexpected false
prometheus: error: unexpected false
Error parsing command line arguments: unexpected false
prometheus: error: unexpected false
Error parsing command line arguments: unexpected false
prometheus: error: unexpected false
root@iStoreOS:~# docker logs grafana
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
root@iStoreOS:~#
故障 1:Prometheus 报错 unexpected‑false
根源:你的 yml 文件 command 参数依旧残留 --xxx=false
Prometheus 命令行参数属于开关,不支持 =true / =false;需要关闭该功能直接删掉整行参数
prometheus 的 command 命令行不能带任何
--xxx=false,开关参数只能开启、不能赋值 false
故障 2:Grafana 权限拒绝
挂载目录权限不足,容器内置普通用户无法写入文件夹,需要开放权限 + 指定 root 用户运行
步骤 1:先关停旧容器
bash
docker-compose down
步骤 2:给挂载目录全开权限(iStoreOS 必做)
bash
chmod -R 777 /root/docker_dataommand 里面没有任何=false参数,grafana 强制 root 启动规避权限
services:
prometheus:
image: prom/prometheus:latest
container_name: prometheus
restart: always
network_mode: host
volumes:
- /root/docker_data/prom_config:/etc/prometheus
- /root/docker_data/prom_data:/prometheus
command:
- --config.file=/etc/prometheus/prometheus.yml
- --storage.tsdb.path=/prometheus
- --storage.tsdb.retention.time=15d
- --web.enable-lifecycle
environment:
TZ: Asia/Shanghai
grafana:
image: grafana/grafana:latest
container_name: grafana
restart: always
network_mode: host
user: root
volumes:
- /root/docker_data/grafana_data:/var/lib/grafana
environment:
TZ: Asia/Shanghai
GF_AUTH_ANONYMOUS_ENABLED: falsenetwork_mode: host 模式不需要 ports 端口映射,容器直接共用主机全部网卡,端口直接绑定宿主机;你不习惯 host 模式,那咱们切回桥接模式、手动写明端口,同时修复命令报错、权限问题。
root@iStoreOS:~# docker logs grafana
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migrate-to-v51-or-later
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied
root@iStoreOS:~#
root@iStoreOS:~# chmod -R 777 /root/docker_data
root@iStoreOS:~# docker-compose down
[+] Running 3/3
✔ Container grafana Removed 0.0s
✔ Container prometheus Removed 0.0s
✔ Network root_monitor-net Removed 0.2s
root@iStoreOS:~# ls
docker-compose.yml docker_data nohup.out prometheus.tar
root@iStoreOS:~# vi docker-compose.yml
root@iStoreOS:~# cat > /root/docker_data/prom_config/prometheus.yml <<EOF
> global:
> scrape_interval: 15s
> scrape_configs:
> - job_name: "prometheus本体"
> static_configs:
> - targets: ["127.0.0.1:9090"]
> EOF
root@iStoreOS:~# docker-compose up -d
[+] Running 2/2
✔ Container grafana Started 0.4s
✔ Container prometheus Started 0.4s
root@iStoreOS:~# docker logs prometheus
time=2026-08-05T15:14:13.390+08:00 level=INFO source=main.go:1730 msg="updated GOGC" old=100 new=75
time=2026-08-05T15:14:13.391+08:00 level=INFO source=main.go:789 msg="Leaving GOMAXPROCS=4: CPU quota undefined" component=automaxprocs
time=2026-08-05T15:14:13.392+08:00 level=INFO source=memlimit.go:198 msg="GOMEMLIMIT is updated" component=automemlimit package=github.com/KimMachineGun/automemlimit/memlimit GOMEMLIMIT=3706715750 previous=9223372036854775807
time=2026-08-05T15:14:13.392+08:00 level=INFO source=main.go:896 msg="Starting Prometheus Server" mode=server version="(version=3.13.2, branch=HEAD, revision=bb5dff00cf8fdfbf5c65e0531aa835fa238a43a2)"
time=2026-08-05T15:14:13.392+08:00 level=INFO source=main.go:901 msg="operational information" build_context="(go=go1.26.5, platform=linux/arm64, user=root@56a9973e8bdd, date=20260730-11:34:45, tags=netgo,builtinassets)" host_details="(Linux 6.6.144 #0 SMP Wed Jul 29 05:40:29 2026 aarch64 iStoreOS (none))" fd_limits="(soft=1048576, hard=1048576)" vm_limits="(soft=unlimited, hard=unlimited)"
time=2026-08-05T15:14:14.275+08:00 level=INFO source=web.go:727 msg="Start listening for connections" component=web address=0.0.0.0:9090
time=2026-08-05T15:14:14.277+08:00 level=INFO source=main.go:1462 msg="Starting TSDB ..."
time=2026-08-05T15:14:14.294+08:00 level=INFO source=head.go:709 msg="Replaying on-disk memory mappable chunks if any" component=tsdb
time=2026-08-05T15:14:14.294+08:00 level=INFO source=head.go:795 msg="On-disk memory mappable chunks replay completed" component=tsdb duration=7µs
time=2026-08-05T15:14:14.294+08:00 level=INFO source=head.go:803 msg="Replaying WAL, this may take a while" component=tsdb
time=2026-08-05T15:14:14.296+08:00 level=INFO source=head.go:898 msg="WAL segment loaded" component=tsdb segment=0 maxSegment=0 duration=1.256764ms
time=2026-08-05T15:14:14.296+08:00 level=INFO source=head.go:935 msg="WAL replay completed" component=tsdb checkpoint_replay_duration=253.162µs wal_replay_duration=1.593048ms wbl_replay_duration=1.166µs chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=7µs total_replay_duration=1.972498ms
time=2026-08-05T15:14:14.302+08:00 level=INFO source=tls_config.go:354 msg="Listening on" component=web address=[::]:9090
time=2026-08-05T15:14:14.303+08:00 level=INFO source=tls_config.go:357 msg="TLS is disabled." component=web http2=false address=[::]:9090
time=2026-08-05T15:14:14.309+08:00 level=INFO source=main.go:1483 msg="filesystem information" fs_type=OVERLAYFS_SUPER_MAGIC
time=2026-08-05T15:14:14.309+08:00 level=INFO source=main.go:1486 msg="TSDB started"
time=2026-08-05T15:14:14.309+08:00 level=INFO source=main.go:1684 msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml
time=2026-08-05T15:14:14.310+08:00 level=INFO source=main.go:1100 msg="TSDB retention updated" duration=15d size=0B percentage=0
time=2026-08-05T15:14:14.314+08:00 level=INFO source=main.go:1723 msg="Completed loading of configuration file" db_storage=209.12µs remote_storage=7.874µs web_handler=2.625µs query_engine=2.917µs scrape=2.60511ms scrape_sd=146.122µs notify=5.833µs notify_sd=2.917µs rules=5.25µs tracing=24.207µs filename=/etc/prometheus/prometheus.yml totalDuration=4.12641ms
time=2026-08-05T15:14:14.314+08:00 level=INFO source=main.go:1447 msg="Server is ready to receive web requests."
time=2026-08-05T15:14:14.314+08:00 level=INFO source=manager.go:211 msg="Starting rule manager..." component="rule manager"
root@iStoreOS:~# docker logs grafana
Grafana server is running with elevated privileges. This is not recommended
logger=settings t=2026-08-05T15:14:14.988118138+08:00 level=info msg="Starting Grafana" version=13.1.2 commit=7f247b37a4e51a1ed33904ec63ac6c6087bf7f48 branch=release-13.1.2#patched compiled=2026-08-04T18:18:20+08:00
logger=settings t=2026-08-05T15:14:14.993309399+08:00 level=info msg="Unified migration configs enforced" storage_type=unified target=[all]
logger=settings t=2026-08-05T15:14:14.993480896+08:00 level=info msg="Enforcing mode 5 for resource in unified storage" resource=dashboards.dashboard.grafana.app
logger=settings t=2026-08-05T15:14:14.993515312+08:00 level=info msg="Enforcing mode 5 for resource in unified storage" resource=playlists.playlist.grafana.app
logger=settings t=2026-08-05T15:14:14.993540394+08:00 level=info msg="Enforcing mode 5 for resource in unified storage" resource=folders.folder.grafana.app
logger=settings t=2026-08-05T15:14:14.994382126+08:00 level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini
logger=settings t=2026-08-05T15:14:14.994429667+08:00 level=info msg="Config loaded from" file=/etc/grafana/grafana.ini
logger=settings t=2026-08-05T15:14:14.994454166+08:00 level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana"
logger=settings t=2026-08-05T15:14:14.994476624+08:00 level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana"
logger=settings t=2026-08-05T15:14:14.994498207+08:00 level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins"
logger=settings t=2026-08-05T15:14:14.994525914+08:00 level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning"
logger=settings t=2026-08-05T15:14:14.994549539+08:00 level=info msg="Config overridden from command line" arg="default.log.mode=console"
logger=settings t=2026-08-05T15:14:14.994645787+08:00 level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana"
logger=settings t=2026-08-05T15:14:14.994679036+08:00 level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana"
logger=settings t=2026-08-05T15:14:14.994702952+08:00 level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins"
logger=settings t=2026-08-05T15:14:14.99472541+08:00 level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning"
logger=settings t=2026-08-05T15:14:14.994746701+08:00 level=info msg="Config overridden from Environment variable" var="GF_AUTH_ANONYMOUS_ENABLED=false"
logger=settings t=2026-08-05T15:14:14.994767409+08:00 level=info msg="Config overridden from Environment variable" var="GF_PATHS_HOME=/usr/share/grafana"
logger=settings t=2026-08-05T15:14:14.994787534+08:00 level=info msg="Config overridden from Environment variable" var="GF_PATHS_CONFIG=/etc/grafana/grafana.ini"
logger=settings t=2026-08-05T15:14:14.994808825+08:00 level=info msg=Target target=[all]
logger=settings t=2026-08-05T15:14:14.994851116+08:00 level=info msg="Path Home" path=/usr/share/grafana
logger=settings t=2026-08-05T15:14:14.994873865+08:00 level=info msg="Path Data" path=/var/lib/grafana
logger=settings t=2026-08-05T15:14:14.994896323+08:00 level=info msg="Path Logs" path=/var/log/grafana
logger=settings t=2026-08-05T15:14:14.994922572+08:00 level=info msg="Path Plugins" path="[/var/lib/grafana/plugins /usr/share/grafana/data/plugins-bundled]"
logger=settings t=2026-08-05T15:14:14.994958738+08:00 level=info msg="Path Provisioning" path=/etc/grafana/provisioning
下载windows Prometheus.WindowsExporte
PowerShell 一键安装(首选,不需要手动下载)
右键以管理员身份打开 PowerShell,运行:
powershell
winget install Prometheus.WindowsExporter -e --silent步骤 2:定位 exe 完整路径
powershell
where.exe windows_exporter
PS C:\Users\Administrator> where.exe windows_exporter
C:\Users\Administrator\AppData\Local\Microsoft\WinGet\Links\windows_exporter.exe
PS C:\Users\Administrator>sc.exe create windows_exporter binPath="C:\Users\Administrator\AppData\Local\Microsoft\WinGet\Links\windows_exporter.exe" start= auto
关键点:
写成
sc.exe,避开 PowerShell 别名
start=等号后面必须带空格
启动服务
net start windows_exporter
#查看状态 Get-Service windows_exporter
端口放行
New-NetFirewallRule -DisplayName "windows_exporter_9182" -Direction Inbound -LocalPort 9182 -Protocol TCP -Action Allow
PS C:\Users\Administrator> explorer C:\Users\Administrator\AppData\Local\Microsoft\WinGet\Packages 找到文件,改到其他文件路径
PS C:\Users\Administrator> sc.exe delete windows_exporter
[SC] DeleteService 成功
PS C:\Users\Administrator> sc.exe create windows_exporter binPath="C:\jisnkong\Prometheus.WindowsExporter_Microsoft.Winget.Source_8wekyb3d8bbwe\windows_exporter.exe" start= auto
[SC] CreateService 失败 1072:
指定的服务已标记为删除。
失败的原因,就是,需要重启powershell
内网部署Prometheus 和grafana 出错以及修正
本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。
评论交流
欢迎留下你的想法