哪吒探针相关材料分享 附赠视频教学


哪吒探针 集群式VPS监控

一个网站管控你的所有服务器!




视频

先看视频,可能是全网最详细的分享了!

https://youtu.be/G_Ni6_-X2TU








1.GitHub相关

git认证

http://你的域名:8008

http://你的域名:8008/oauth2/callback


git账号创建新的登录验证

Client ID

71d3b44cffc6533217165a

Client secrets

c4c28d758015414350ee9rsefd1e46c1f021f6b6c1cbd


2.探针脚本相关

哪吒探针官方脚本

curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh  -o nezha.sh && chmod +x nezha.sh

sudo ./nezha.sh


作者源GitHub地址

https://github.com/naiba/nezha



3.机器人报警相关

电报机器人创建者

@BotFather

电报查找我的数字id

@userinfobot


机器人密钥

51588114fdgfdgfdgghgcq93yNaxzhAjwR29K0Io

我的电报ID

14000545422


报警url代码

https://api.telegram.org/bot5103515355:AAEq_SH_2Mgrj79-zkA2BUALX-5aZn67P0w/sendMessage?chat_id=1406209830&text=#NEZHA#


报警规则(每隔10秒检测一次)

[{"Type":"offline","Duration":10}]



4.宝塔界面相关

Centos安装宝塔面板脚本:

yum install -y wget && wget -O install.sh http://v7.hostcli.com/install/install_6.0.sh && sh install.sh


ubuntu安装宝塔面板脚本:

wget -O install.sh http://v7.hostcli.com/install/install-ubuntu_6.0.sh && sudo bash install.sh


放行8888端口命令:

iptables -I INPUT -p tcp --dport 8888 -j ACCEPT



宝塔中反代代码

location /

{

    proxy_pass http://127.0.0.1:8008;

    proxy_set_header Host $host;

}

location /ws

{

    proxy_pass http://127.0.0.1:8008;

    proxy_http_version 1.1;

    proxy_set_header Upgrade $http_upgrade;

    proxy_set_header Connection "Upgrade";

    proxy_set_header Host $host;

}

location /terminal

{

    proxy_pass http://127.0.0.1:8008;

    proxy_http_version 1.1;

    proxy_set_header Upgrade $http_upgrade;

    proxy_set_header Connection "Upgrade";

    proxy_set_header Host $host;

}

评论

此博客中的热门博文

科技lion官方一键脚本上线!VPS监控测试建站维护于一身的全能工具箱

2023国外的接码平台分享

CloudCone付费VPS分享 挺便宜的