monitor-agent

monitor-agent

Docker 应用程序 from ImFascinated's Repository

概述

Monitor Agent pushes host metrics (CPU, memory, network, array disks, ZFS pools, and Docker containers) to your Monitor dashboard. Requires an ingest token from https://monitor.fascinated.cc This template runs with host networking, privileged mode, and host /proc mounts so metrics reflect your Unraid server—not only the container. Array shares under /mnt/*, ZFS, and Docker stats are supported when left at the default volume mappings.

要求

Monitor ingest token. Docker must be enabled on the host for container metrics.

运行时参数

网络用户界面
https://monitor.fascinated.cc
网络
host
外壳
sh
特权
true
额外参数
--pid=host

模板配置

Ingest TokenVariable

Ingest token from your Monitor server settings (required).

目标
MONITOR_INGEST_TOKEN
API EndpointVariable

Monitor ingest API URL.

目标
MONITOR_API_ENDPOINT
默认值
https://monitor.fascinated.cc/api/v1/servers/ingest
价值
https://monitor.fascinated.cc/api/v1/servers/ingest
Push ScheduleVariable

Cron schedule with seconds field (default: every 15 seconds).

目标
MONITOR_PUSH_SCHEDULE
默认值
*/15 * * * * *
价值
*/15 * * * * *
Enable Docker StatsVariable

Collect per-container CPU and memory from the host Docker daemon.

目标
MONITOR_ENABLE_DOCKER
默认值
true
价值
true
Log LevelVariable

Agent log level: debug, info, warn, or error.

目标
MONITOR_LOG_LEVEL
默认值
info
价值
info
TimezoneVariable

Timezone (e.g. America/New_York). Leave empty to use the Unraid system timezone.

目标
TZ
Config FileVariable

Set to - to configure via environment variables only.

目标
MONITOR_CONFIG_FILE
默认值
-
价值
-
Host Root PrefixVariable

Path prefix for host disk metrics (must match the Host Root volume target).

目标
MONITOR_HOST_ROOT
默认值
/host
价值
/host
Host RootPathro

Host filesystem (read-only) for disk usage on array shares and ZFS mount points.

目标
/host
默认值
/
价值
/
Host /procPathro

Host procfs for CPU, memory, load, and network metrics.

目标
/proc
默认值
/proc
价值
/proc
Host /sysPathro

Host sysfs.

目标
/sys
默认值
/sys
价值
/sys
Host /devPathro

Host devices for disk I/O and ZFS (zpool).

目标
/dev
默认值
/dev
价值
/dev
Host OS ReleasePathro

Host OS identification.

目标
/etc/os-release
默认值
/etc/os-release
价值
/etc/os-release
Docker SocketPathro

Docker socket for container statistics.

目标
/var/run/docker.sock
默认值
/var/run/docker.sock
价值
/var/run/docker.sock

详细信息

存储库
ghcr.io/realfascinated/monitor-agent:latest
最后更新2026-05-31
初见2026-05-31

在Unraid 上运行 monitor-agent 。

monitor-agent 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。