cynfo3000
aca013b848
feat: PF States Chart (Sparkline letzte 8h) — Backend schreibt pf_states in TimescaleDB, Frontend zeigt SVG-Sparkline
2026-03-06 21:47:47 +01:00
cynfo3000
48ac353d28
Initial commit — cynfo RMM (clean history, no secrets)
2026-03-06 09:18:45 +01:00
cynfo3000
d4b6ca86e5
feat: Task Health Check + customer_number in webhook payload
...
- Task model: CustomerNumber field (K-Nummer aus customers.number)
- DB: taskSelectCols joined c.number, scanTask scans CustomerNumber
- Hub: WaitForAgentOnline() polls until agent reconnects or timeout
- Scheduler: executeUpdateWithHealthCheck() waits for agent reconnect after update
- health_check: {agent_online: bool, checked_at: RFC3339} in result
- Status: completed_with_warning wenn Update OK aber Agent offline bleibt
- Frontend: Task-Tabelle zeigt Status-Badge (lauft/fehler/warnung/abgebr.)
2026-03-05 10:53:08 +01:00
cynfo3000
721fd5008f
Feature: Recurring jobs with professional scheduling dialog
2026-03-05 09:39:41 +01:00
cynfo3000
7908ae26a0
Feature: Task Scheduler - planned tasks with webhook support
2026-03-05 08:59:53 +01:00
cynfo3000
5b503e6dba
Feature: System settings in DB - configurable backend URLs and API key
2026-03-04 23:57:14 +01:00
cynfo3000
70b10a4291
Feature: Audit-Log - tracks all user actions with timestamps
2026-03-04 23:45:01 +01:00
cynfo3000
25a6cc2a1a
Installer-Paket System: Backend speichert/served ZIP, Frontend Upload+Download, install.sh auto-download von Backend statt Git
2026-03-03 23:37:31 +01:00
cynfo3000
eb52507c08
install.sh + frontend: use external URL dsbmueller.spdns.org:8443, configurable via RMM_BACKEND env
2026-03-03 23:17:58 +01:00
cynfo3000
7f9fbd257f
Linux/Proxmox Agent + Plattform-Updater + Proxmox Frontend
...
- agent-linux/: Kompletter Linux/Proxmox RMM Agent
- Collectors: CPU, Memory, Disk, Network, Services, Updates, Proxmox (VMs, Container, Storage, ZFS), Backups
- Backup Collector: Jobs nach Node gefiltert (Cluster-aware)
- WebSocket: Tunnel-Support, writeMux fuer stabile Verbindungen
- Systemd Service Template
- updater/: Plattform-unabhaengiger Updater (FreeBSD + Linux)
- runtime.GOOS erkennt Plattform automatisch
- FreeBSD: /usr/local/rmm/, service rmm_agent
- Linux: /usr/local/bin/, /etc/rmm/, systemctl rmm-agent
- Firmware-Download mit ?platform= Parameter
- frontend/: Proxmox-Bereich
- ProxmoxServers.jsx: Eigene Seite fuer PVE Server mit VM/CT Counts
- ProxmoxPanel.jsx: Detail-Panel mit Uebersicht, VMs, Container, Storage, ZFS, Tunnel, Dienste, Updates, Backups
- Agents.jsx: Filtert Linux-Agents raus (nur OPNsense)
- Sidebar: Proxmox Navigationspunkt
- Installationsanleitung mit rmm-agent-linux + rmm-updater-linux
- backend: Platform-Feld fuer Agents, Firmware multi-platform
2026-03-01 22:03:18 +01:00
cynfo3000
c114df215a
Fix: SettingsController in install.sh aktualisiert (rmmagent[general] Parsing)
2026-03-01 01:37:35 +01:00
cynfo3000
e74cdce0ba
Agent-Updater, Multi-Plattform Firmware, Frontend Firmware-Seite, Agent-Tab, Zertifikate-Redesign
...
Updater:
- Separater Go-Daemon (rmm-updater) als eigener rc.d Service
- Pollt alle 60s: Firmware vorhanden + Hash unterschiedlich + Flag gesetzt
- Download -> SHA256 Verify -> Agent Stop -> Replace -> Agent Start
- Automatisches Rollback bei Fehler
- Deployed und getestet auf allen 3 Firewalls (.1, .19, .33)
Backend:
- Firmware-DB multi-plattform (freebsd/linux/windows)
- update_requested Flag pro Agent in agents Tabelle
- Heartbeat-Response liefert update_available wenn Flag gesetzt
- Neue Endpoints: request-update, request-update-all, firmware/download
- Auth: JWT + CombinedAuth Middleware (API-Key OR JWT)
- Customers CRUD + Agent-Zuordnung
- Users CRUD + Passwort-Aenderung
Frontend:
- Firmware-Seite: Multi-Plattform Upload, Agent-Liste mit Update-Trigger
- Agent-Tab im AgentPanel: Update-Button, nuetzliche Befehle, Agent-Info
- Zertifikate-Tab redesigned: Karten-Layout mit Restlaufzeit und Farbbalken
- Sidebar: Firmware-Eintrag hinzugefuegt
Plugin:
- install.sh erweitert: Installiert Agent + Updater + rc.d Services
- rmm_updater rc.d Service
README:
- Architektur-Diagramm erweitert (Frontend + Updater)
- Auth, Customers, Users, Firmware API dokumentiert
- Updater-Flow dokumentiert
- Frontend-Seiten und Deploy beschrieben
- DB-Schema aktualisiert (neue Tabellen)
- Dateistruktur erweitert (updater/, frontend/, firmware.go, auth.go)
2026-02-28 22:43:03 +01:00
cynfo3000
616a0cb6ac
Frontend: Firewall-Tabelle mit CPU/RAM/Disk/Uptime/Gateways, sortierbar, Slide-in Detail-Panel mit Tabs (Uebersicht, Interfaces, Dienste, VPN, Routen, DHCP, Zertifikate, Backups)
2026-02-28 16:03:02 +01:00
cynfo3000
c6c8257cf0
Backend: Customers, Auth (JWT), Agent-Kundenzuordnung, CORS
2026-02-28 15:28:02 +01:00
cynfo3000
c72b791796
Agent-Status und Inaktivitaets-Erkennung implementiert
...
- Status wird aus last_heartbeat berechnet (online/stale/offline/unknown)
- GET /agents und GET /agents/{id} liefern status Feld
- agent_events Tabelle fuer Event-Tracking (Migration automatisch)
- Inaktivitaets-Monitor als Goroutine (prueft alle 60s, schreibt Events bei Statuswechsel)
- WebSocket Connect/Disconnect Events werden automatisch geschrieben
- API-Endpoints: GET /agents/events und GET /agents/{id}/events (?limit=N&type=X)
- DB-Methoden: InsertAgentEvent, GetAgentEvents, GetAllAgentEvents, GetAgentStatus
- README aktualisiert (Status-Doku, Events API, Dateistruktur)
2026-02-28 13:13:13 +01:00
cynfo3000
5d7a3cbcc1
SQLite durch PostgreSQL + TimescaleDB ersetzt
...
- Backend DB komplett auf PostgreSQL 17 + TimescaleDB 2.25.1 umgestellt
- pgx pure-Go Driver (kein CGO), modernc/sqlite entfernt
- Hypertable 'metrics' fuer Time-Series Daten
- Automatische Metrik-Extraktion bei jedem Heartbeat:
CPU, RAM, Uptime, Disk, Network-Traffic, Gateway RTT/Loss
- Retention Policy: 90 Tage, Compression nach 7 Tagen
- Neue API-Endpoints: GET /metrics (raw) + GET /metrics/summary (aggregiert)
- time_bucket() Aggregation (5min, 1h, etc.)
- config.yaml: database-Block statt db_path
- docs/POSTGRES_SETUP.md: Installationsanleitung
- README aktualisiert
2026-02-28 12:48:14 +01:00
cynfo3000
e7beada405
Config-Backup Feature: Agent liest config.xml, Backend speichert versioniert mit Deduplizierung
...
- Agent: neuer 'backup' Command (SHA256 Hash, Base64 Transfer)
- Backend: config_backups Tabelle in SQLite
- API: trigger, list, download (JSON/XML), delete, diff
- Deduplizierung: gleicher Hash = kein neuer Eintrag
- WebSocket ReadLimit auf 4MB erhoeht (grosse config.xml)
- README aktualisiert mit Backup-Docs
2026-02-28 10:44:09 +01:00
cynfo3000
6120d0cffa
Initial commit: RMM Agent + Backend
...
- Go Agent (FreeBSD/amd64) fuer OPNsense
- Go Backend (Linux/amd64) mit REST API + SQLite
- Collector: Hardware, CPU, Memory, Disks, Network, Services,
WireGuard, DHCP (KEA/ISC/dnsmasq), Routes, Gateways,
Certificates, Plugins, Updates
- Persistente Agent-ID
- TLS + API-Key Auth
- WebSocket-Infrastruktur (WIP): bidirektionaler Command-Kanal,
TCP-Tunnel fuer Remote-Zugriff auf Firewall-WebUI
- Lastenheft und README
2026-02-28 07:38:14 +01:00