Skip to main content

Prometheus

Linux Monitoring

Linux Monitoring with Prometheus

MySQL Monitoring

AIX Monitoring

Installation

Download: Download | Prometheus ,select Operating system: linux, Architecture: amd64

tar xzf prometheus-2.43.0.linux-amd64.tar.gz
mv prometheus-2.43.0.linux-amd64 /opt

第一次啟動

cd /opt/prometheus-2.43.0.linux-amd64/
./prometheus --config.file="prometheus.yml"

網頁介面 (僅限本機端): 

  • http://localhost:9090/metrics
    顯示本機系統的效能指標
  • http://localhost:9090/
    選擇 Graph,在 Expression 輸入 promhttp_metric_handler_requests_total ,按下 Execute,會有圖形顯示。