项目地址:komari-monitor/komari:一个简单的服务器监控工具。 --- komari-monitor/komari: A simple server monitor tool.

安装 Komari

curl -fsSL https://raw.githubusercontent.com/komari-monitor/komari/main/install-komari.sh -o install-komari.sh
chmod +x install-komari.sh
sudo ./install-komari.sh

安装完后会显示账号密码

安装完成!

访问信息:
  URL: http://10.0.0.x:xxxx
初始登录信息(仅显示一次):  Username: admin , Password: xxxxxxx (github.com/komari-monitor/komari/cmd/server.go:391)

服务管理命令:
  状态:  systemctl status komari
  启动:   systemctl start komari
  停止:    systemctl stop komari
  重启: systemctl restart komari
  日志:    journalctl -u komari -f

或者查看日志里面

journalctl -u komari --no-pager | grep -i "password\|passwd\|admin\|credential"

配置Komari

登陆账号进入设置-服务器-添加节点,输入节点名继续添加,然后复制一键部署命名,到服务器运行