哪吒探针

一站式轻监控轻运维系统。支持系统状态、HTTP(SSL 证书变更、即将到期、到期)、TCP、Ping 监控报警,计划任务和在线终端。

预览-Qning

安装

一键安装脚本如下

国外机

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

国内机

curl -L https://fastly.jsdelivr.net/gh/naiba/nezha@master/script/install.sh -o nezha.sh && chmod +x nezha.sh && sudo CN=true ./nezha.sh

流程

第一步-放行55558008端口
第二步-解析一个二级域名到你要安装面板的服务器
第三步-SSH运行一键脚本,安装面板端
第四步-按照脚本提示选择并配置登录后台方式
第五步-安装面板成功后访问服务器IP:8008;记得把OauthApp的回调地址设置好
第六步-登入面板后台,在设置里填写你解析的二级域名(非面板域名)
第七步-接入Linux服务器,添加服务器,然后复制Linux的一键安装指令执行即可
第八步-接入windows服务器,先在win服务器的PowerShell(x86)中执行如下代码,然后添加服务器,复制win版一键安装代码再执行即可。

Windows 一键安装 Agent (请使用 Powershell 管理员权限)

set-ExecutionPolicy RemoteSigned;Invoke-WebRequest https://raw.githubusercontent.com/naiba/nezha/master/script/install.ps1 -OutFile C:\install.ps1;powershell.exe C:\install.ps1 dashboard_host:grpc_port secret

第九步-新建站点,域名用你希望绑定到面板的域名,纯静态,建议先配置好SSL证书,然后反向代理http://IP:8008单击反向代理的配置文件,替换为下面的内容

#PROXY-START/
location / {
    proxy_pass http://127.0.0.1:8008;
    proxy_set_header Host $http_host;
    proxy_set_header      Upgrade $http_upgrade;
}
location ~ ^/(ws|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 $http_host;
}
#PROXY-END/

GitHub

最后修改:2022 年 07 月 31 日
觉得文章不错的话可以点一下文章底部的广告呦!