Pika

Lightweight probe monitoring — Go + PostgreSQL/SQLite + VictoriaMetrics

Go Docker License Stars

English | 简体中文 · Website · Docs

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
public1 sec1 tamper
public2 sec2 setting

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 compose v2)

Community


Pika — keep every probe visible.

Description
一个基于 Go + PostgreSQL/SQLite + VictoriaMetrics 的实时探针监控系统
Readme Apache-2.0 11 MiB
Languages
Go 62.5%
TypeScript 36.7%
Makefile 0.3%
CSS 0.2%
Shell 0.2%