nightngale 的主要用途
夜莺监控是一款开源云原生观测分析工具,详细文档 https://flashcat.cloud/docs/
搭建
arm 下载
1
| wget https://github.com/ccfos/nightingale/releases/download/v7.7.1/n9e-v7.7.1-linux-arm64.tar.gz
|
安装
1 2 3 4 5 6 7
| mkdir n9e tar -zxvf n9e-v7.7.1-linux-arm64.tar.gz -C n9e cd n9e/docker/compose-postgres docker-compose up -d
docker-compose ps
|
部署采集器 Categraf
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| docker run -d \ --name categraf02 \ --hostname categraf02 \ --restart always \ -e TZ=Asia/Shanghai \ -e HOST_PROC=/hostfs/proc \ -e HOST_SYS=/hostfs/sys \ -e HOST_MOUNT_PREFIX=/hostfs \ -e WAIT_HOSTS=nightingale:17000,nightingale:20090 \ -v $(pwd)/categraf/conf:/etc/categraf/conf \ -v /:/hostfs \ -v /var/run/docker.sock:/var/run/docker.sock \ -v $(pwd)/prometc_vm:/etc/prometheus \ flashcatcloud/categraf:latest
# --network compose-postgres_nightingale 测试用 # nightingale 修改 ip 地址 # $(pwd)/categraf/conf $(pwd)/prometc_vm 文件可以从部署机器上拷贝,按需修改
|
验证
nightngale机器列表

nightngale监控仪表盘
