Browse Source

Update GeoNetAgent cursor docs

master
Budi Setiawan 4 weeks ago
parent
commit
33e9cbd57b
  1. 6
      GeoNetAgent/.cursor/monitoring-architecture.md
  2. 30
      GeoNetAgent/.cursor/repo-structure.md

6
GeoNetAgent/.cursor/monitoring-architecture.md

@ -8,8 +8,8 @@
|---|---| |---|---|
| Nama proyek | GeoNetAgent | | Nama proyek | GeoNetAgent |
| Fase saat ini | **Fase 0 — Blueprint** 🔄 (lihat [progress.md](./progress.md)) | | Fase saat ini | **Fase 0 — Blueprint** 🔄 (lihat [progress.md](./progress.md)) |
| Progress Fase 0 | 5 / 8 — agent POC collect-only selesai | | Progress | Fase 1 — agent E2E + collector deployed (lihat [progress.md](./progress.md)) |
| Artifact existing | `agent/`, `samples/agent-reports/` | | Artifact existing | `agent/` v0.1.6, `collector/`, web install `agent.gisportal.id/install/` |
| Monitoring operasional | Zabbix sudah berjalan | | Monitoring operasional | Zabbix sudah berjalan |
| Portal / CMDB | Direncanakan: Laravel 12 + FastAPI + PostgreSQL | | 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 | | FastAPI app | Belum ada |
| Laravel app | Belum ada | | Laravel app | Belum ada |
| PostgreSQL schema | 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 | | Zabbix templates (custom) | Belum ada di repo |
| DXDiag parser | Belum ada (opsional; WMI utama) | | DXDiag parser | Belum ada (opsional; WMI utama) |

30
GeoNetAgent/.cursor/repo-structure.md

@ -22,19 +22,17 @@ GeoNetAgent/
│ └── rules/ │ └── rules/
│ └── project-context.mdc │ └── project-context.mdc
├── agent/ # PowerShell endpoint agent (deploy via GPO) ├── agent/ # PowerShell endpoint agent
│ ├── Collect-GeoNetReport.ps1 │ ├── Collect-GeoNetReport.ps1
│ ├── lib/ │ ├── Send-GeoNetReport.ps1
│ │ ├── Get-SystemInfo.ps1 │ ├── UserAgent.ps1
│ │ ├── Get-DiskInfo.ps1 │ ├── Install-GeoNetAgent.ps1 # install ke %ProgramData% + scheduled task
│ │ ├── Get-MemoryInfo.ps1 │ ├── install/ # paket web (bootstrap, manifest, index.html)
│ │ ├── Get-NetworkInfo.ps1 │ ├── config.example.json
│ │ ├── Get-HealthInfo.ps1 │ ├── config.share.json # template deploy (jangan commit token prod)
│ │ ├── Get-SoftwareInfo.ps1 │ ├── VERSION
│ │ ├── Get-AssetIdentity.ps1 │ ├── lib/ # modul collect (system, disk, network, peripherals, …)
│ │ └── Send-CollectorReport.ps1 # Fase 1 — belum ada │ └── README.md
│ ├── config.example.json # Fase 1 — belum ada
│ └── README.md # Fase 1 — belum ada
├── collector/ # FastAPI service ├── collector/ # FastAPI service
│ ├── app/ │ ├── app/
@ -85,6 +83,14 @@ GeoNetAgent/
│ ├── docker-compose.yml │ ├── docker-compose.yml
│ ├── docker-compose.dev.yml │ ├── docker-compose.dev.yml
│ ├── nginx/ │ ├── 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/ │ └── zabbix/
│ └── webhook-media-type.json │ └── webhook-media-type.json

Loading…
Cancel
Save