monsys CLI
brew install gotrust/tap/monsys # macOS / Linuxscoop install monsys # WindowsAuthenticate:
monsys login# or via env: MONSYS_API_KEY=...Examples
Find slow endpoints across the entire fleet:
monsys query 'p99(http.req.ms) by host where path ~ "/api/.*" last 1h'Trigger emergency action:
monsys emergency \ --agent api-prod-01 --level 1 \ --action IsolateNetwork \ --reason "Honeypot tripped on /root/.ssh/id_rsa.monsys-backup"Export inventory:
monsys inventory --agent web-edge-01 --format json > inventory.jsonI followed the rules to preserve the YAML frontmatter structure, markdown formatting, and technical terms.