From 33e9cbd57b98b95303913713a066745bc9616fff Mon Sep 17 00:00:00 2001 From: rbsetiawan Date: Wed, 17 Jun 2026 18:44:43 +0700 Subject: [PATCH] Update GeoNetAgent cursor docs --- .../.cursor/monitoring-architecture.md | 6 ++-- GeoNetAgent/.cursor/repo-structure.md | 30 +++++++++++-------- 2 files changed, 21 insertions(+), 15 deletions(-) diff --git a/GeoNetAgent/.cursor/monitoring-architecture.md b/GeoNetAgent/.cursor/monitoring-architecture.md index ae46e28..2253c9d 100644 --- a/GeoNetAgent/.cursor/monitoring-architecture.md +++ b/GeoNetAgent/.cursor/monitoring-architecture.md @@ -8,8 +8,8 @@ |---|---| | Nama proyek | GeoNetAgent | | Fase saat ini | **Fase 0 — Blueprint** 🔄 (lihat [progress.md](./progress.md)) | -| Progress Fase 0 | 5 / 8 — agent POC collect-only selesai | -| Artifact existing | `agent/`, `samples/agent-reports/` | +| Progress | Fase 1 — agent E2E + collector deployed (lihat [progress.md](./progress.md)) | +| Artifact existing | `agent/` v0.1.6, `collector/`, web install `agent.gisportal.id/install/` | | Monitoring operasional | Zabbix sudah berjalan | | Portal / CMDB | Direncanakan: Laravel 12 + FastAPI + PostgreSQL | @@ -152,7 +152,7 @@ Field utama v0.1.2-phase0: `serial_number`, `smbios_uuid`, `machine_id`, `memory | FastAPI app | Belum ada | | Laravel app | Belum ada | | PostgreSQL schema | Belum ada | -| PowerShell agent script | POC — `agent/` v0.1.2 collect-only | +| PowerShell agent script | `agent/` v0.1.6 — collect + POST + web install | | Zabbix templates (custom) | Belum ada di repo | | DXDiag parser | Belum ada (opsional; WMI utama) | diff --git a/GeoNetAgent/.cursor/repo-structure.md b/GeoNetAgent/.cursor/repo-structure.md index 171ac12..f02cee4 100644 --- a/GeoNetAgent/.cursor/repo-structure.md +++ b/GeoNetAgent/.cursor/repo-structure.md @@ -22,19 +22,17 @@ GeoNetAgent/ │ └── rules/ │ └── project-context.mdc │ -├── agent/ # PowerShell endpoint agent (deploy via GPO) +├── agent/ # PowerShell endpoint agent │ ├── Collect-GeoNetReport.ps1 -│ ├── lib/ -│ │ ├── Get-SystemInfo.ps1 -│ │ ├── Get-DiskInfo.ps1 -│ │ ├── Get-MemoryInfo.ps1 -│ │ ├── Get-NetworkInfo.ps1 -│ │ ├── Get-HealthInfo.ps1 -│ │ ├── Get-SoftwareInfo.ps1 -│ │ ├── Get-AssetIdentity.ps1 -│ │ └── Send-CollectorReport.ps1 # Fase 1 — belum ada -│ ├── config.example.json # Fase 1 — belum ada -│ └── README.md # Fase 1 — belum ada +│ ├── Send-GeoNetReport.ps1 +│ ├── UserAgent.ps1 +│ ├── Install-GeoNetAgent.ps1 # install ke %ProgramData% + scheduled task +│ ├── install/ # paket web (bootstrap, manifest, index.html) +│ ├── config.example.json +│ ├── config.share.json # template deploy (jangan commit token prod) +│ ├── VERSION +│ ├── lib/ # modul collect (system, disk, network, peripherals, …) +│ └── README.md │ ├── collector/ # FastAPI service │ ├── app/ @@ -85,6 +83,14 @@ GeoNetAgent/ │ ├── docker-compose.yml │ ├── docker-compose.dev.yml │ ├── nginx/ +│ │ ├── geonetagent-collector-public.conf # agent.gisportal.id POST + /install/ +│ │ ├── geonetagent-collector-https.conf # collector.gisportal.id UI/API +│ │ ├── geonetagent-collector-internal.conf # :8000 LAN +│ │ └── README.md +│ ├── collector/ +│ │ ├── deploy_nginx.sh +│ │ ├── deploy_nginx_remote.sh +│ │ └── publish_agent_install.sh │ └── zabbix/ │ └── webhook-media-type.json │