Мониторинг Prometheus exporter в DumbMonit
Any exporter that serves Prometheus metrics (node_exporter, windows_exporter, cAdvisor, blackbox_exporter…): every series is stored and can be graphed and used in threshold alerts.
ДокументацияОфициальный сайт: Prometheus
Описания на английском, как в самом продукте. Подписи на странице — на вашем языке.
Что проверяет DumbMonit
Any exporter that serves the Prometheus text format: node_exporter, windows_exporter, cAdvisor, blackbox_exporter, smartctl_exporter, a database exporter, or one you wrote. DumbMonit reads its /metrics page on every check and stores each series, so it shows up in the explorer and the graphs and can be used in threshold rules.
Типичное применение. Any exporter (node_exporter, windows_exporter, cAdvisor, blackbox…): every series stored, graphed and usable in rules
Примеры
- node_exporter
- windows_exporter
- cAdvisor
- blackbox_exporter
Как подключается
Что понадобится
- Basic authFor an exporter behind basic authentication (web.config.file, or a reverse proxy).
- Bearer tokenSent as "Authorization: Bearer …" on every read.
Учётная запись не нужна.
Сетевые порты, которые нужно открыть
9100/TCPMetrics page (HTTP, default for node_exporter)
Шаги настройки: Point DumbMonit at the exporter
Check that the exporter answers from the DumbMonit host.
curl http://server.lan:9100/metricsIn DumbMonit, enter the host and pick the exporter, or leave custom and give the port.
Optional: restrict what is stored with Keep only or Ignore, to keep a large exporter within the series limit.
Optional: if the exporter is on another site, choose a relay agent to read it from there.
Обратите внимание. Metrics pages are usually unauthenticated: filter the port so that only the DumbMonit host reaches it.