DumbMonit

集成指标和日志

用 DumbMonit 监控 VictoriaLogs

The log database itself: lines ingested, lines it refuses, disk headroom before it turns read-only, errors.

文档官方网站:VictoriaLogs

产品说明为英文,与产品内一致。页面标签使用您的语言。

DumbMonit 监控的内容

The time series database and the log database themselves: whether they accept what they are sent, how much disk is left before they stop accepting anything, and what they refuse.

典型用途. Log database: ingestion, refused lines, disk headroom

示例

  • VictoriaLogs single-node

连接方式

您需要准备

  • Username / passwordSent as HTTP basic authentication.
  • Bearer tokenSent as "Authorization: Bearer …" on every request.

无需账户。

需要开放的网络端口

  • 8428/TCPVictoriaMetrics HTTP API (default)
  • 9428/TCPVictoriaLogs HTTP API (default)
设置步骤: Let DumbMonit read VictoriaLogs' own health
  1. Nothing to install: check from the DumbMonit host that VictoriaLogs answers on its API port (9428 by default).

    curl http://victorialogs.lan:9428/health
  2. If it runs with -httpAuth.username and -httpAuth.password, pick Username / password below; behind vmauth or a proxy that expects a bearer token, pick Bearer token.

  3. In DumbMonit, enter the server address, for example "victorialogs.lan" or "http://10.0.0.6:9428".

注意. Free disk space is what to watch: below -storage.minFreeDiskSpaceBytes (10 MB by default) VictoriaLogs turns read-only and refuses every new log line. DumbMonit shows the headroom left and warns under 10%.