Files
swarm-master/ansible/playbooks/files/agentmon-hook/HOOK.md
William Valentin 0215c037da feat: add agentmon monitoring hook for OpenClaw telemetry
Add hook handler that forwards OpenClaw agent events to the agentmon
ingest endpoint for monitoring and observability.

- ansible/playbooks/files/agentmon-hook/: Ansible-deployable hook
- openclaw/hooks/agentmon/: Hook installed in OpenClaw instance

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 15:35:47 -07:00

795 B

name, description, metadata
name description metadata
agentmon Emit OpenClaw telemetry events to the agentmon monitoring pipeline
openclaw
events export requires
command:new
command:stop
command:reset
message:received
message:sent
tool_result_persist
session:compact:before
session:compact:after
default
env
AGENTMON_INGEST_URL

Agentmon Telemetry Hook

Captures OpenClaw agent activity and emits it as agentmon.event envelopes to the agentmon ingest gateway.

Configuration

Set the ingest gateway URL before enabling the hook:

export AGENTMON_INGEST_URL=http://192.168.122.1:8080

You can optionally override the VM identifier:

export AGENTMON_VM_NAME=zap