diff --git a/skills/flashduty/reference/monit-agent.md b/skills/flashduty/reference/monit-agent.md index f7572ef..8d95897 100644 --- a/skills/flashduty/reference/monit-agent.md +++ b/skills/flashduty/reference/monit-agent.md @@ -20,7 +20,7 @@ Prereq: `SKILL.md` read. On-box diagnostics: run diagnostic tools on a host or d fduty monit-agent catalog --target-locator --output-format toon # 2. invoke up to 8 tools concurrently; tool names taken verbatim from the catalog fduty monit-agent invoke --target-locator \ - --data '{"tools":[{"tool":"host.top","params":{}},{"tool":"host.disk","params":{}}]}' + --data '{"tools":[{"tool":"os.overview"},{"tool":"os.top_processes","params":{"top_n":10}}]}' ``` @@ -60,6 +60,6 @@ Run up to 8 monit-agent tools concurrently on a target ```bash fduty monit-agent invoke --target-locator web-prod-3 \ - --data '{"tools":[{"tool":"host.top","params":{"limit":10}},{"tool":"host.disk","params":{}}]}' \ + --data '{"tools":[{"tool":"os.overview"},{"tool":"os.top_processes","params":{"top_n":10}}]}' \ --output-format toon ``` diff --git a/skills/flashduty/reference/monit.md b/skills/flashduty/reference/monit.md index 2cdaa72..84e20a9 100644 --- a/skills/flashduty/reference/monit.md +++ b/skills/flashduty/reference/monit.md @@ -65,7 +65,7 @@ fduty monit tools-catalog --target-locator --output-format toon # 3. invoke tools (up to 8 concurrently); use heredoc to avoid shell quoting hell fduty monit tools-invoke --target-locator --output-format toon --data - <<'EOF' -{"tools":[{"tool":"host.cpu","params":{}},{"tool":"host.mem","params":{}}]} +{"tools":[{"tool":"os.overview"},{"tool":"os.top_processes","params":{"top_n":10}}]} EOF ```