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
646 changes: 0 additions & 646 deletions api-reference/monitors.openapi.en.json

Large diffs are not rendered by default.

646 changes: 0 additions & 646 deletions api-reference/monitors.openapi.zh.json

Large diffs are not rendered by default.

646 changes: 0 additions & 646 deletions api-reference/openapi.en.json

Large diffs are not rendered by default.

646 changes: 0 additions & 646 deletions api-reference/openapi.zh.json

Large diffs are not rendered by default.

30 changes: 2 additions & 28 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2027,16 +2027,6 @@
"zh/monitors/alert-rules/description-template"
]
},
{
"group": "监控对象",
"icon": "desktop",
"pages": [
"zh/monitors/targets/overview",
"zh/monitors/targets/install-agent",
"zh/monitors/targets/configure-targets",
"zh/monitors/targets/reload-and-verify"
]
},
{
"group": "活跃告警",
"icon": "bell",
Expand Down Expand Up @@ -2526,10 +2516,7 @@
"icon": "stethoscope",
"pages": [
"POST /monit/query/data",
"POST /monit/query/diagnose",
"POST /monit/tools/catalog",
"POST /monit/tools/invoke",
"POST /monit/targets"
"POST /monit/query/diagnose"
]
}
]
Expand Down Expand Up @@ -3427,16 +3414,6 @@
"en/monitors/alert-rules/description-template"
]
},
{
"group": "Monitoring Objects",
"icon": "desktop",
"pages": [
"en/monitors/targets/overview",
"en/monitors/targets/install-agent",
"en/monitors/targets/configure-targets",
"en/monitors/targets/reload-and-verify"
]
},
{
"group": "Active Alerts",
"icon": "bell",
Expand Down Expand Up @@ -3926,10 +3903,7 @@
"icon": "stethoscope",
"pages": [
"POST /monit/query/data",
"POST /monit/query/diagnose",
"POST /monit/tools/catalog",
"POST /monit/tools/invoke",
"POST /monit/targets"
"POST /monit/query/diagnose"
]
}
]
Expand Down
2 changes: 1 addition & 1 deletion en/ai-sre/skills.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Go to **Plugins → Skill** and click **Browse Marketplace** to open the skill *
</Steps>

<Note>
New accounts are automatically pre-installed with a set of official Marketplace templates: `browser-automation` (a browser automation CLI for operating websites, dashboards, and monitoring UIs), `mcp-builder` (guides you through building an MCP server), `monit-agent` (target-side diagnostics for Flashduty Monit alerts), `monit-query` (Monit data source queries), and `skill-creator` (see "Create in conversation" below). These pre-installed skills behave exactly like manually installed skills — you can enable/disable, uninstall, or update them to the latest version under "Management and Inspection" below.
New accounts are automatically pre-installed with a set of official Marketplace templates: `browser-automation` (a browser automation CLI for operating websites, dashboards, and monitoring UIs), `mcp-builder` (guides you through building an MCP server), `monit-query` (Monit data source queries), and `skill-creator` (see "Create in conversation" below). These pre-installed skills behave exactly like manually installed skills — you can enable/disable, uninstall, or update them to the latest version under "Management and Inspection" below.
</Note>

<Warning>
Expand Down
2 changes: 1 addition & 1 deletion en/changelog/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Monit datasources gain **datasource diagnostics**: run structured read-only name
- **Five new diagnostic-only datasource types**: Redis (Node / Sentinel), MongoDB (Mongod / Mongos), and Kafka — for diagnostics only, they never evaluate alerts; address formats are a single `host:port` (bracket IPv6) or 1–32 unique comma-separated Kafka bootstrap addresses
- **Switch semantics split**: `alerting_enabled` (whether the datasource may evaluate alerts; always false for diagnostic-only types, and disabling it is rejected with a conflict while enabled rules reference the datasource) is now independent of `enabled` (business execution, on by default at creation)

See [Data Sources](/en/monitors/data-sources/data-sources) and [Monitoring Targets](/en/monitors/targets/overview).
See [Data Sources](/en/monitors/data-sources/data-sources).

</Update>

Expand Down
26 changes: 0 additions & 26 deletions en/developer/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -461,32 +461,6 @@ flashduty session export <session_id> --include-subagents > session.ndjson
|------|-------------|
| `--include-subagents` | After each `subagent_dispatch`, recursively inline that subagent's own full event stream |

### monit-agent — Host diagnostics

Run live diagnostics on a **host** through flashmonit agents, without needing a shell login on the target machine. For database/middleware diagnosis use `monit datasource-tools-invoke` (see below) — database service endpoints are not agent targets.

```bash
flashduty monit-agent catalog --target-locator <host> # List diagnostic tools available for a host
flashduty monit-agent invoke --target-locator <host> --data '<json>' # Run up to 8 tools concurrently
```

- `--target-locator` (required): a registered host's **internal IP or hostname**.
- `--target-kind`: accepts `host` only; omit it to use host routing. Any other value (e.g. `mysql`, `redis`) is rejected: `monit-agent supports host targets only; use monit datasource-tools-invoke for datasource diagnostics`.

`invoke` takes a `--data` JSON payload listing the tools to run (`params` is optional and defaults to `{}`), up to 8 concurrently; `--target-locator` / `--target-kind` override matching keys in `--data`:

```bash
flashduty monit-agent invoke --target-locator '10.0.0.1' \
--data '{"tools":[{"tool":"os.overview"},{"tool":"os.top_processes","params":{"top_n":10}}]}'
```

For params JSON containing quotes or commas, pass `--data -` and supply the body via a stdin heredoc to avoid shell-quoting issues:

```bash
flashduty monit-agent invoke --target-locator 'web-01' --data - <<'FDUTY'
{"tools":[{"tool":"os.overview"}]}
FDUTY
```

### monit-query — Monitoring datasource queries

Expand Down
2 changes: 1 addition & 1 deletion en/monitors/data-sources/data-sources.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Monitors supports the following 15 data source types:
| **MongoDB Mongos** (`mongodb_mongos`) | MongoDB sharded cluster router, diagnostic-only |
| **Kafka** (`kafka`) | Apache Kafka cluster, diagnostic-only |

Of these, the 5 **diagnostic-only types** — Redis Node, Redis Sentinel, MongoDB (mongod/mongos) and Kafka — are used for database and middleware diagnostics (see [Host diagnostics and data source diagnostics](/en/monitors/targets/overview#host-diagnostics-and-data-source-diagnostics)) and cannot evaluate alerts: `alerting_enabled` cannot be enabled (always `false`), so they cannot participate in alert rule queries and evaluation. Connection address requirements are covered in [Data source type configuration](#data-source-type-configuration).
Of these, the 5 **diagnostic-only types** — Redis Node, Redis Sentinel, MongoDB (mongod/mongos) and Kafka — are used for database and middleware diagnostics and cannot evaluate alerts: `alerting_enabled` cannot be enabled (always `false`), so they cannot participate in alert rule queries and evaluation. Connection address requirements are covered in [Data source type configuration](#data-source-type-configuration).

## Data source list

Expand Down
145 changes: 0 additions & 145 deletions en/monitors/targets/configure-targets.mdx

This file was deleted.

Loading
Loading