夜莺n9e监控搭建
GITHUB链接:https://github.com/didi/nightingale
官方手册:https://n9e.didiyun.com/docs/install/binary/
安装前所需软件。
Nginx安装教程:
yum install -y nginx /bin/systemctl stop nginx.service /bin/systemctl start nginx.service
mysql安装教程:https://www.cnblogs.com/nanxiang/p/12886319.html
redis安装教程:https://www.cnblogs.com/nanxiang/p/12901018.html
1、mysql安装完成后,用户root 密码 123456
还需要修改夜莺的配置文件
/home/n9e/etc/mysql.yml
将密码替换为123456
启动所有程序
root_D-v024@:/home/n9e# ./control start all
查看程序状态
root_D-v024@:/home/n9e# ./control status root 32857 0.1 0.2 987292 21664 pts/1 Sl 10:32 0:00 /home/n9e/n9e-ams root 32907 0.1 0.2 1056368 19956 pts/1 Sl 10:32 0:00 /home/n9e/n9e-tsdb root 32927 0.1 0.2 1062468 22492 pts/1 Sl 10:32 0:00 /home/n9e/n9e-index root 32956 0.5 0.4 1013612 34292 pts/1 Sl 10:32 0:02 /home/n9e/n9e-transfer root 32975 0.1 0.2 996936 20812 pts/1 Sl 10:32 0:01 /home/n9e/n9e-judge root 33005 1.5 0.2 1071244 21448 pts/1 Sl 10:32 0:08 /home/n9e/n9e-agent root 33054 0.1 0.2 1022176 20732 pts/1 Sl 10:32 0:01 /home/n9e/n9e-prober root 38819 0.6 0.4 1001980 38568 pts/1 Sl 10:39 0:00 /home/n9e/n9e-rdb root 38838 0.4 0.2 996936 16272 pts/1 Sl 10:39 0:00 /home/n9e/n9e-job root 38894 0.2 0.2 940780 20444 pts/1 Sl 10:39 0:00 /home/n9e/n9e-monapi
http://10.2.19.2/rdb
用户名:root
密码:root.2020