基本环境
虚拟机_1
- localhost 虚拟机名称
- 172.25.254.2 虚拟机ip
Prometheus
- 版本 2.4.2
- 下载地址 https://prometheus.io/download/#prometheus
Grafana
- 版本 5.4.2
- 下载地址 https://dl.grafana.com/oss/release/grafana-5.4.2-1.x86_64.rpm
安装Prometheus
解压安装包
[root@foundation51 ~]#wget https://github.com/prometheus/prometheus/releases/download/v2.4.2/prometheus-2.4.2.linux-amd64.tar.gz
[root@localhost ~]# tar zxf prometheus-2.4.2.linux-amd64.tar.gz -C /usr/local/
[root@localhost local]