Monitorar VictoriaMetrics com o DumbMonit
The time series database itself: ingestion, samples it refuses, disk headroom before it turns read-only, slow inserts and active series.
DocumentaçãoSite oficial: VictoriaMetrics
As descrições estão em inglês, como no produto. Os rótulos da página seguem o seu idioma.
O que o DumbMonit vigia
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.
Uso típico. Time series database: ingestion, refused samples, disk headroom
Exemplos
- VictoriaMetrics single-node
- Prometheus long-term storage
Como se conecta
O que você precisa
- Username / passwordSent as HTTP basic authentication.
- Bearer tokenSent as "Authorization: Bearer …" on every request.
Não é preciso nenhuma conta.
Portas de rede a abrir
8428/TCPVictoriaMetrics HTTP API (default)9428/TCPVictoriaLogs HTTP API (default)
Etapas de configuração: Let DumbMonit read VictoriaMetrics' own health
Nothing to install: check from the DumbMonit host that VictoriaMetrics answers on its API port (8428 by default).
curl http://victoriametrics.lan:8428/healthIf 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.
In DumbMonit, enter the server address, for example "victoriametrics.lan" or "http://10.0.0.5:8428".
Atenção. Free disk space is what to watch: below -storage.minFreeDiskSpaceBytes (100 MB by default) VictoriaMetrics turns read-only and refuses every new sample. DumbMonit shows the headroom left and warns under 10%.