{"id":18258686,"url":"https://github.com/xos/serverstatus","last_synced_at":"2026-02-14T10:05:23.235Z","repository":{"id":38834944,"uuid":"469355717","full_name":"xOS/ServerStatus","owner":"xOS","description":"服务器探针","archived":false,"fork":false,"pushed_at":"2025-08-26T11:59:49.000Z","size":18536,"stargazers_count":72,"open_issues_count":0,"forks_count":12,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-06T15:45:35.863Z","etag":null,"topics":["probe","server","uptime"],"latest_commit_sha":null,"homepage":"https://server.nange.cn","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xOS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["xOS"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2022-03-13T11:50:17.000Z","updated_at":"2025-08-26T11:59:52.000Z","dependencies_parsed_at":"2023-11-17T19:36:49.847Z","dependency_job_id":"47609dda-0dab-4d72-8d81-7b5c99718cdc","html_url":"https://github.com/xOS/ServerStatus","commit_stats":{"total_commits":250,"total_committers":3,"mean_commits":83.33333333333333,"dds":0.248,"last_synced_commit":"ade79aa9906502c22f74169b807a6f3f60dfe059"},"previous_names":["xos/probe-lite"],"tags_count":144,"template":false,"template_full_name":null,"purl":"pkg:github/xOS/ServerStatus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xOS%2FServerStatus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xOS%2FServerStatus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xOS%2FServerStatus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xOS%2FServerStatus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xOS","download_url":"https://codeload.github.com/xOS/ServerStatus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xOS%2FServerStatus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275071556,"owners_count":25400398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["probe","server","uptime"],"created_at":"2024-11-05T10:33:47.647Z","updated_at":"2026-01-18T00:28:28.761Z","avatar_url":"https://github.com/xOS.png","language":"Go","funding_links":["https://github.com/sponsors/xOS"],"categories":[],"sub_categories":[],"readme":"# 探针\n\n\u003e 本项目为原项目[哪吒探针](https://github.com/naiba/nezha)的修改自用版\n\n## 注意：\n\n* 本项目与原项目不兼容！\n* 本项目配置文件与原项目不通用！\n\n## 精简掉的功能：\n\n1. 网站监测，包含SSL证书监测；\n2. ......\n\n## 演示图\n\n### 前台\n\n![首页截图](https://i.nange.cn/views/2022/05/25/b168b1.png)\n\n### 后台\n\n![后台截图](https://i.nange.cn/views/2022/05/25/fd1b7d.png)\n\n## 安装脚本\n### 默认\n```shell\ncurl -L https://raw.githubusercontent.com/xos/serverstatus/master/script/server-status.sh -o server-status.sh \u0026\u0026 chmod +x server-status.sh\nsudo ./server-status.sh\n```\n### 国内\n```shell\ncurl -L https://gitee.com/ten/ServerStatus/raw/master/script/server-status.sh -o server-status.sh \u0026\u0026 chmod +x server-status.sh\nsudo ./server-status.sh\n```\n\n\u003cdetails\u003e\n    \u003csummary\u003e国内镜像加速：\u003c/summary\u003e\n\n```shell\ncurl -L https://fastly.jsdelivr.net/gh/xos/serverstatus@master/script/server-status.sh -o server-status.sh \u0026\u0026 chmod +x server-status.sh\nCN=true sudo ./server-status.sh\n```\n\n\u003c/details\u003e\n\n_\\* 使用 WatchTower 可以自动更新面板，Windows 终端可以使用 nssm 配置自启动。_\n\n\n\n## 非Docker环境手动部署控制面板\n\n注意：\n\n* 需要安装`Golang`且版本需要1.18或以上。\n* 默认安装路径 `/opt/server-status/dashboard`。\n* 手动部署的面板暂无法通过脚本进行面板部分的控制操作。\n\n1.克隆仓库\n\n```bash\ngit clone https://github.com/xOS/ServerStatus.git\n```\n\n2.下载依赖\n\n```bash\ncd ServerStatus/\ngo mod tidy -v\n```\n\n3.编译，以`AMD64`架构为例\n\n```bash\ncd cmd/dashboard/\nCGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -o server-dash -ldflags=\"-s -w\"\n```\n\n4.部署面板为系统服务\n\n```bash\nmkdir -p /opt/server-status/dashboard\nmv server-dash /opt/server-status/dashboard/\ncd ../..\ncp resource/ /opt/server-status/dashboard/ -r\nmkdir -p /opt/server-status/dashboard/data\ncp script/config.yaml /opt/server-status/dashboard/data\ncp script/server-dash.service /etc/systemd/system\n```\n\n5.修改配置文件`/opt/server-status/dashboard/data/config.yaml`，注册服务并启动\n\n```bash\nsystemctl enable server-dash\nsystemctl start server-dash\n```\n## 通知方式\n\n`#NG#` 是面板消息占位符，面板触发通知时会自动替换占位符到实际消息\n\nBody 内容是`JSON` 格式的：**当请求类型为 FORM 时**，值为 `key:value` 的形式，`value` 里面可放置占位符，通知时会自动替换。**当请求类型为 JSON 时** 只会简进行字符串替换后直接提交到`URL`。\n\nURL 里面也可放置占位符，请求时会进行简单的字符串替换。\n\n参考下方的示例，非常灵活。\n\n### 添加通知方式\n\n   - server 酱示例\n\n     - 名称：server 酱\n     - URL：`https://sc.ftqq.com/SCUrandomkeys.send?text=#NG#`\n     - 请求方式: `GET`\n     - 请求类型: 默认\n     - Body: 空\n\n   - wxpusher 示例，需要关注你的应用\n\n     - 名称: wxpusher\n     - URL：`http://wxpusher.zjiecode.com/api/send/message`\n     - 请求方式: `POST`\n     - 请求类型: `JSON`\n     - Body: `{\"appToken\":\"你的appToken\",\"topicIds\":[],\"content\":\"#NG#\",\"contentType\":\"1\",\"uids\":[\"你的uid\"]}`\n\n   - telegram 示例 [@haitau](https://github.com/haitau) 贡献\n\n     - 名称：telegram 机器人消息通知\n     - URL：`https://api.telegram.org/botXXXXXX/sendMessage?chat_id=YYYYYY\u0026text=#NG#`\n     - 请求方式: `GET`\n     - 请求类型: 默认\n     - Body: 空\n     - URL 参数获取说明：botXXXXXX 中的 XXXXXX 是在 telegram 中关注官方 @Botfather ，输入/newbot ，创建新的机器人（bot）时，会提供的 token（在提示 Use this token to access the HTTP API:后面一行）这里 'bot' 三个字母不可少。创建 bot 后，需要先在 telegram 中与 BOT 进行对话（随便发个消息），然后才可用 API 发送消息。YYYYYY 是 telegram 用户的数字 ID。与机器人@userinfobot 对话可获得。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxos%2Fserverstatus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxos%2Fserverstatus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxos%2Fserverstatus/lists"}