mirror of
https://github.com/hansjone/netx.git
synced 2026-10-08 23:33:21 +08:00
feat: initialize netx ops tool repository
Set up netx as a standalone git-managed project with isolated Python dependencies, alarm ingestion/query APIs, oclaw bridge integration, and ops-focused UI enhancements including history and raw field access. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
commit
f49c0b5bad
56 changed files with 6974 additions and 0 deletions
28
PROD_MIN_CHECKLIST.md
Normal file
28
PROD_MIN_CHECKLIST.md
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# netx Production Minimum Checklist
|
||||
|
||||
## Security
|
||||
- Replace local shared token with a strong secret and rotate it regularly.
|
||||
- Keep `.env` and `oclaw/_local/system.env` out of Git (already ignored).
|
||||
- Restrict access to `127.0.0.1` or internal network only.
|
||||
|
||||
## Runtime
|
||||
- Ensure PostgreSQL backup policy exists (daily logical backup + retention).
|
||||
- Run `oclaw` and `netx` under process managers (systemd/Windows service/pm2 equivalent).
|
||||
- Enable auto-restart and startup-at-boot for both services.
|
||||
|
||||
## Observability
|
||||
- Health checks:
|
||||
- `oclaw`: `/admin/api/ops-ai/health` (with Bearer token)
|
||||
- `netx`: `/v1/integrations/status`
|
||||
- Alert when `oclaw_bridge.status != up` for more than 2 polling cycles.
|
||||
- Alert when `db.status != up` or `latency_ms` exceeds threshold.
|
||||
|
||||
## Operations
|
||||
- Keep one documented restart order:
|
||||
1) PostgreSQL
|
||||
2) `oclaw`
|
||||
3) `netx`
|
||||
- Validate after restart:
|
||||
- `GET /v1/integrations/status` returns all major components as `up`.
|
||||
- Keep parser config and importer changes versioned and reviewed before release.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue