Der OPs-Agent war seit seiner Registrierung am 31.08. nie praesent: seine monitor-api.conf stammt von vor Issue #75 und kennt MONITOR_AGENT_ID nicht, report_activity() in check_fds.sh meldete deshalb stillschweigend nichts - waehrend die Systemmeldungen mit demselben Key weiter ankamen. - API: jeder mit X-Api-Key authentifizierte Request frischt last_seen_at auf (AgentRepository::touch(), Zustand/Ticket bleiben). Greift auch, wenn auf dem Ping-Rechner noch ein aelteres check_fds.sh liegt. - API: neuer Endpunkt GET /api/v1/agents/me liefert den Agenten zum Key. - check_fds.sh: fehlt MONITOR_AGENT_ID, wird sie ueber /agents/me ermittelt und in monitor-api.conf nachgetragen (ohne Admin-Key). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F5rnDxZCwLYiEVyfrAvsAA |
||
|---|---|---|
| .. | ||
| AgentControllerTest.php | ||
| EventControllerTest.php | ||
| HostConfigControllerTest.php | ||
| KpiControllerTest.php | ||
| RepoConfigControllerTest.php | ||
| StreamControllerTest.php | ||
| SystemControllerTest.php | ||
| TicketControllerTest.php | ||
| VoiceRecordingControllerTest.php | ||
| WebhookControllerTest.php | ||