Перейти к содержанию

Prometheus

Автоматически сгенерировано: 2026-03-03 09:38

Общая информация

URL: http://mon.b2g.kz:9090 (внутренний)

Версия: Prometheus 2.x

Scrape interval: 15s

Evaluation interval: 15s

Targets

Job Instance Status Last Scrape Scrape Duration
node_exporter 10.10.19.10:9100 ✅ up 09:38:31 0.015s
node_exporter 10.10.19.11:9100 ✅ up 09:38:33 0.014s
node_exporter 10.10.19.21:9100 ✅ up 09:38:34 0.022s
node_exporter 10.10.19.22:9100 ✅ up 09:38:39 0.022s
node_exporter 10.10.19.31:9100 ✅ up 09:38:34 0.015s
node_exporter 10.10.19.32:9100 ✅ up 09:38:26 0.010s
node_exporter 10.10.19.40:9100 ✅ up 09:38:36 0.009s
node_exporter 10.10.19.51:9100 ✅ up 09:38:24 0.011s
node_exporter 10.10.19.52:9100 ✅ up 09:38:33 0.011s
node_exporter 10.10.19.60:9100 ✅ up 09:38:37 0.015s
prometheus localhost:9090 ✅ up 09:38:36 0.010s

Всего targets: 11

Активных (up): 11

Scrape Jobs

prometheus

Targets: 1

- localhost:9090

node_exporter

Targets: 10

- 10.10.19.60:9100
- 10.10.19.10:9100
- 10.10.19.11:9100
- 10.10.19.21:9100
- 10.10.19.22:9100
- 10.10.19.31:9100
- 10.10.19.32:9100
- 10.10.19.40:9100
- 10.10.19.51:9100
- 10.10.19.52:9100

Labels:

  • env: production

Хранение данных

Путь: /var/lib/prometheus

Retention: 15 дней (по умолчанию)

Проверка

# Статус Prometheus
systemctl status prometheus

# Проверка targets
curl http://localhost:9090/api/v1/targets | jq '.data.activeTargets[] | {job: .labels.job, instance: .labels.instance, health: .health}'

# Web UI
ssh -L 9090:localhost:9090 mon-1
# Открыть http://localhost:9090