Zabbix

Zabbix

Zabbix monitoring: hosts, host groups, items, triggers, active problems, events and the latest measured values. JSON-RPC API over a single endpoint, bearer API token.

7 天免费 · 无需信用卡 · EU 托管

问 Zabbix 任何事

通过 AnythingMCP 对 Zabbix 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。

在 Cloud 上安装 Zabbix
Zabbix · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

2 分钟设置

  1. 1在 cloud.anythingmcp.com 开始免费试用。
  2. 2在连接器商店点击 Zabbix。提示时粘贴凭据。
  3. 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
立即安装 Zabbix

Zabbix 指南

面向主流 AI 客户端的逐步设置。

配置 Zabbix

直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。

Getting a token (Zabbix 5.4 and newer)

  1. Sign in to the Zabbix frontend as a Super admin and open Users → API tokens.
  2. Create a token for a user with read permission on the host groups the agent should see, and copy the value — Zabbix shows it once.
  3. Set ZABBIX_URL to your frontend root (no trailing slash, no /api_jsonrpc.php) and ZABBIX_API_TOKEN to the token. The adapter sends it as Authorization: Bearer …, which Zabbix 6.0+ accepts; on 5.4 the token also works in the JSON-RPC auth field, which this adapter does not use.

One endpoint, many methods. Zabbix is JSON-RPC: every call is a POST to /api_jsonrpc.php with {"jsonrpc":"2.0","method":"host.get","params":{…},"id":1}. That is why every tool here has the same path, and why the method is what distinguishes them.

Permissions are per host group, and Zabbix reports a denial as an empty array. A token whose user cannot see a host group gets {"result": []} rather than an error — so an agent that reports 'no problems' may simply be looking through an account with no visibility.

Severity is an integer. 0 not classified, 1 information, 2 warning, 3 average, 4 high, 5 disaster. 'Critical alerts' usually means severity ≥ 4.

problem.get is the live board, event.get is the history. A problem that has since resolved is gone from problem.get and still in event.get. Ask the right one.

Timestamps are Unix seconds, in the server's timezone configuration.

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 (zabbix.intern, 10.0.0.x), self-host AnythingMCP on the same network and add that host to SSRF_ALLOWED_HOSTS, or the outbound guard refuses the call before it is made.

你的 AI 距离 Zabbix 仅两次点击。

安装连接器、粘贴凭据、向 AI 提问。7 天免费,无需信用卡。