一、安装
1、grafana安装
brew install grafana
2、prometheus安装
brew install prometheus
3、node_exporter安装
brew install node_exporter
二、启动
1、grafana启动
brew services start grafana
2、prometheus启动
brew services start prometheus
3、node_exporter启动
brew services start node_exporter
三、访问
1、grafana访问地址:
http://服务器IP地址:3000
2、prometheus访问地址:
http://服务器IP地址:9090
3、node_exporter访问地址:
http://服务器IP地址:9100
四、基本命令
停止
brew services stop grafana
brew services stop prometheus
brew services stop node_exporter
重启
brew services restart grafana
brew services restart prometheus
brew services restart node_exporter
启动
brew services start grafana
brew services start prometheus
brew services start node_exporter