63cdd37b12819c45827d8cca85a58d0867f50585
Ensure agent.IP is cleared for unauthenticated requests. Previously IPv4, IPv6 and Hostname were redacted, but agent.IP was left intact and could leak sensitive information. This change sets agent.IP to an empty string in Get() when the user is not authenticated.
Pika 探针监控系统
简介
Pika 是一个轻量级的探针监控系统,支持实时数据采集、存储和查询。系统采用 WebSocket 进行探针与服务端的通信,使用 VictoriaMetrics 存储时序指标数据,支持 PostgreSQL 和 SQLite 两种数据库方案。除了基础监控功能外,还提供 Linux 应急响应和安全基线检查能力,帮助快速发现和分析系统安全风险。
功能特性
- 📊 实时性能监控:CPU、内存、磁盘、网络、GPU、温度等系统资源监控
- 🔍 服务监控:HTTP/HTTPS、TCP 端口、ICMP/Ping 监控,支持证书到期检测
- 🛡️ 防篡改保护:文件实时监控、属性巡检、事件告警
- 🔒 安全审计:资产清单收集、安全风险分析、历史审计记录
- 🔐 多种认证:Basic Auth、OIDC、GitHub OAuth
- 📦 轻量部署:Docker Compose 一键部署,资源占用低
详细功能说明请参考 功能特性文档。
截图
快速开始
SQLite 版本
# 下载配置文件
curl -O https://raw.githubusercontent.com/dushixiang/pika/main/docker-compose.sqlite.yml
curl -o config.yaml https://raw.githubusercontent.com/dushixiang/pika/main/config.sqlite.yaml
# 修改配置(重要:修改 JWT Secret 和管理员密码)
# 编辑 config.yaml
# 启动服务
docker-compose -f docker-compose.sqlite.yml up -d
# 访问 http://localhost:8080
# 默认账户 admin / admin123
详细文档:SQLite 版本部署指南
PostgreSQL 版本
# 下载配置文件
curl -O https://raw.githubusercontent.com/dushixiang/pika/main/docker-compose.postgresql.yml
curl -o config.yaml https://raw.githubusercontent.com/dushixiang/pika/main/config.postgresql.yaml
# 修改配置(重要:修改数据库密码、JWT Secret 和管理员密码)
# 编辑 config.yaml
# 启动服务
docker-compose -f docker-compose.postgresql.yml up -d
# 访问 http://localhost:8080
# 默认账户 admin / admin123
详细文档:PostgreSQL 版本部署指南
文档
环境要求
- Docker 20.10+
- Docker Compose 1.29+
加入群聊
请备注 pika
Description
Lightweight probe monitoring — Go + VictoriaMetrics + PostgreSQL/SQLite | Real-time metrics, service checks, tamper protection & security audit
https://pika.termark.app
9.3 MiB
0 Stars
1 Watchers
0 Forks
Languages
Go
62.5%
TypeScript
36.7%
Makefile
0.3%
CSS
0.2%
Shell
0.2%







