mirror of
https://github.com/dushixiang/pika.git
synced 2026-09-03 07:02:38 +08:00
main
…
…
…
…
…
…
…
…
…
…
…
Pika
Lightweight probe monitoring — Go + PostgreSQL/SQLite + VictoriaMetrics
Overview
Pika is a lightweight probe monitoring system. Probes push metrics to the server over WebSocket; VictoriaMetrics stores time-series while PostgreSQL/SQLite stores business data. Beyond monitoring, it provides Linux incident response and baseline checks to surface security risks early.
Features
- 📊 Real-time metrics — CPU / Memory / Disk / Network / GPU / Temperature, with multi-range history
- 🔍 Service checks — HTTP(S) / TCP / ICMP, including cert expiry detection
- 🛡️ Tamper protection — fsnotify watch, immutable attribute patrol, and alerting
- 🔒 Security audit — asset inventory, risk grading (Critical/High/Medium/Low), and audit history
- 🔐 Auth — Basic Auth (bcrypt) / OIDC / GitHub OAuth
- 📦 One-command deploy — Docker Compose, SQLite or PostgreSQL
See Features for details.
Screenshots
| Public | Security | Tamper |
|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Quick Start
SQLite
curl -O https://raw.githubusercontent.com/pika-monitor/pika/main/docker-compose.sqlite.yml
curl -o config.yaml https://raw.githubusercontent.com/pika-monitor/pika/main/config.sqlite.yaml
# Edit config.yaml: change JWT secret and admin password
docker compose -f docker-compose.sqlite.yml up -d
# Open http://localhost:8080 — default admin / admin123
See SQLite guide.
PostgreSQL
curl -O https://raw.githubusercontent.com/pika-monitor/pika/main/docker-compose.postgresql.yml
curl -o config.yaml https://raw.githubusercontent.com/pika-monitor/pika/main/config.postgresql.yaml
# Edit config.yaml: change database password, JWT secret and admin password
docker compose -f docker-compose.postgresql.yml up -d
# Open http://localhost:8080 — default admin / admin123
See PostgreSQL guide.
Docs
Requirements
- Docker 20.10+
- Docker Compose 1.29+ (or
docker composev2)
Community
- Community: See https://pika.termark.app for community channels.
Pika — keep every probe visible.
Description
Languages
Go
62.5%
TypeScript
36.7%
Makefile
0.3%
CSS
0.2%
Shell
0.2%





