Grafana 部署
Grafana是一个开源的度量分析和可视化系统
部署文档:https://grafana.com/grafana/download
cd /opt/monitor && wget http://dl.grafana.com/oss/release/grafana-8.0.3.linux-amd64.tar.gz
访问地址:http://IP:3000
用户名/密码:admin/admin#第一次需要重置密码
配置为系统服务管理:
# vi /usr/lib/systemd/system/grafana.service
[Unit]
Description=grafana
[Service]
ExecStart=/opt/monitor/grafana/bin/grafana-server -homepath=/opt/monitor/grafana
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
# systemctl daemon-reload
# systemctl start grafana
# systemctl enable grafana