Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions skills/flashduty/reference/monit-agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <host-or-instance> --output-format toon
# 2. invoke up to 8 tools concurrently; tool names taken verbatim from the catalog
fduty monit-agent invoke --target-locator <host-or-instance> \
--data '{"tools":[{"tool":"host.top","params":{}},{"tool":"host.disk","params":{}}]}'
--data '{"tools":[{"tool":"os.overview"},{"tool":"os.top_processes","params":{"top_n":10}}]}'
```

<!-- GENERATED:monit-agent START · 由 fduty __dump-commands 同步 · 勿手改 fence 内 -->
Expand Down Expand Up @@ -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
```
2 changes: 1 addition & 1 deletion skills/flashduty/reference/monit.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fduty monit tools-catalog --target-locator <hostname-or-ip> --output-format toon

# 3. invoke tools (up to 8 concurrently); use heredoc to avoid shell quoting hell
fduty monit tools-invoke --target-locator <hostname-or-ip> --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
```

Expand Down