已实现:HTTP/TCP/Banner 探测、90 天可用率、表格/卡片视图、 数据源过滤、UptimeRobot 双向兼容、服务端驱动的刷新节奏、 刷新接口滥用防护与信息泄露控制。
101 lines
2.3 KiB
JSON
101 lines
2.3 KiB
JSON
{
|
||
"settings": {
|
||
"title": "Shiroko Monitor",
|
||
"description": "轻量级服务监控面板",
|
||
"view": "table",
|
||
"dataFilter": "uptimerobot",
|
||
"refreshInterval": 300,
|
||
"dataSource": "auto",
|
||
"uptimeRobot": {
|
||
"enabled": false,
|
||
"apiKey": "",
|
||
"pollIntervalSec": 300,
|
||
"group": "UptimeRobot"
|
||
}
|
||
},
|
||
"monitors": [
|
||
{
|
||
"id": "example-com",
|
||
"name": "Example 站点",
|
||
"group": "公共服务",
|
||
"type": "http",
|
||
"url": "https://www.example.com",
|
||
"method": "GET",
|
||
"expectStatus": [200],
|
||
"interval": 60,
|
||
"timeout": 10
|
||
},
|
||
{
|
||
"id": "baidu",
|
||
"name": "百度",
|
||
"group": "公共服务",
|
||
"type": "http",
|
||
"url": "https://www.baidu.com",
|
||
"expectStatus": [200],
|
||
"interval": 60,
|
||
"timeout": 10
|
||
},
|
||
{
|
||
"id": "cloudflare-site",
|
||
"name": "Cloudflare 官网",
|
||
"group": "公共服务",
|
||
"type": "http",
|
||
"url": "https://www.cloudflare.com",
|
||
"expectStatus": [200],
|
||
"interval": 60,
|
||
"timeout": 10
|
||
},
|
||
{
|
||
"id": "github-api",
|
||
"name": "GitHub API(限流目标示例)",
|
||
"group": "公共服务",
|
||
"type": "http",
|
||
"url": "https://api.github.com",
|
||
"expectStatus": [200],
|
||
"interval": 300,
|
||
"timeout": 10,
|
||
"probeOnRefresh": false
|
||
},
|
||
{
|
||
"id": "httpbin-500",
|
||
"name": "HTTPBin 500(演示 expectStatus)",
|
||
"group": "公共服务",
|
||
"type": "http",
|
||
"url": "https://httpbin.org/status/500",
|
||
"expectStatus": [500],
|
||
"interval": 120,
|
||
"timeout": 10
|
||
},
|
||
{
|
||
"id": "badssl-expired",
|
||
"name": "BadSSL 过期证书(演示离线)",
|
||
"group": "公共服务",
|
||
"type": "http",
|
||
"url": "https://expired.badssl.com/",
|
||
"expectStatus": [200],
|
||
"interval": 120,
|
||
"timeout": 10
|
||
},
|
||
{
|
||
"id": "cloudflare-dns-tcp",
|
||
"name": "Cloudflare 443 端口",
|
||
"group": "基础设施",
|
||
"type": "tcp",
|
||
"host": "1.1.1.1",
|
||
"port": 443,
|
||
"interval": 60,
|
||
"timeout": 10
|
||
},
|
||
{
|
||
"id": "google-dns-tcp",
|
||
"name": "Google DNS 53 端口",
|
||
"group": "基础设施",
|
||
"type": "tcp",
|
||
"host": "8.8.8.8",
|
||
"port": 53,
|
||
"interval": 60,
|
||
"timeout": 10
|
||
}
|
||
]
|
||
}
|