Checkmk
Checkmk monitoring: hosts and their configuration, live service states, acknowledged and unhandled problems, host groups and downtimes. REST API on your own site, bearer-style automation user auth.
7 天免费 · 无需信用卡 · EU 托管
问 Checkmk 任何事
通过 AnythingMCP 对 Checkmk 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。
在 Cloud 上安装 CheckmkClaude 是 AI,可能会出错。请核对回答。
2 分钟设置
- 1在 cloud.anythingmcp.com 开始免费试用。
- 2在连接器商店点击 Checkmk。提示时粘贴凭据。
- 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
配置 Checkmk
直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。
Setup
- In Checkmk create an automation user: Setup → Users → Add user, tick Automation secret for machine accounts, and copy the secret. Give it the
guestrole for read-only access, oradminif you want the configuration endpoints. - Set
CHECKMK_URLto your site root including the site name —https://monitoring.example.com/mysite— with no trailing slash. The site name is part of the path and leaving it out is the usual cause of a 404 that looks like a wrong version. - Set
CHECKMK_USERNAMEto the automation user andCHECKMK_SECRETto its secret.
The Authorization header is Bearer <user> <secret> — two space-separated values in one Bearer token, which is Checkmk's own scheme and looks wrong the first time you see it. The adapter assembles it.
Setup vs Monitoring. Checkmk's REST API has two halves and they answer different questions. /domain-types/host_config/… is the configuration — what has been set up. /domain-types/host/… and /domain-types/service/… are the live monitoring state — what is happening now. A question about a red service needs the second; a question about what is monitored needs the first.
Live state is queried with a Livestatus expression. The query parameter takes JSON like {"op": "=", "left": "state", "right": "2"} — state 0 is OK, 1 warning, 2 critical, 3 unknown. Combine with {"op": "and", "expr": [...]}.
columns is repeated, not comma-separated. Checkmk wants columns=host_name&columns=state&columns=plugin_output. The tools below send a useful default set.
Changes need activation. Anything written into the Setup half sits in a pending-changes queue until activated. This adapter is read-only, so it never leaves a half-applied change behind.
Self-hosted, which is the thing to plan for.
- On AnythingMCP Cloud the instance must be reachable from the public internet on a real hostname with a valid TLS certificate. A self-signed certificate will fail: the connector offers no trust-anything switch, and a homelab's default certificate is exactly the case that breaks.
- On an internal host (
monitoring.intern,10.0.0.x), self-host AnythingMCP on the same network and add that host toSSRF_ALLOWED_HOSTS, or the outbound guard refuses the call before it is made.