Кратко
Мониторинг Zabbix: хосты, группы хостов, элементы данных, триггеры, активные проблемы, события и последние измеренные значения. JSON-RPC API через единую конечную точку, bearer API token.
Пошаговая настройка
Подключи Zabbix к Gemini за 2 минуты
Начни бесплатный пробный период в AnythingMCP Cloud, подключи Zabbix в пошаговой настройке и добавь свой MCP URL в Gemini. Без кода и без собственного сервера.
Без банковской карты · 7 дней пробного периода · Есть вариант self-host
Попробуй спросить
Примеры промптов для Zabbix
Кликни по промпту — он скопируется. Вставь в Claude, ChatGPT, Cursor, Gemini, Copilot или OpenClaw и запусти через этот коннектор.
Claude — это AI, он может ошибаться. Проверяйте ответы.
💡 Без установки? Используйте cloud.anythingmcp.com напрямую. Войдите, нажмите Connectors → Zabbix, вставьте учётные данные, создайте MCP API key — готово. Без Docker, без
git clone, без локального сервера.
Zabbix + Gemini
Мониторинг Zabbix: хосты, группы хостов, элементы данных, триггеры, активные проблемы, события и последние измеренные значения. JSON-RPC API через единую конечную точку, bearer API token.
Предварительные требования
Полные инструкции по настройке встроены в коннектор (видны в магазине при выборе коннектора). Требуемые переменные окружения:
ZABBIX_URL, ZABBIX_API_TOKEN
Шаг 1 — Получите учётные данные
Getting a token (requires Zabbix 6.4 or newer)
- Sign in to the Zabbix frontend as a Super admin and open Users → API tokens.
- 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.
- Set
ZABBIX_URLto your frontend root (no trailing slash, no/api_jsonrpc.php) andZABBIX_API_TOKENto the token. The adapter sends it asAuthorization: Bearer …, which Zabbix accepts from 6.4 on. Zabbix 5.4–6.2 only take the token in the JSON-RPCauthfield, which this adapter does not use, so every call there fails with "Not authorised".
…(continued in the in-app connector instructions)
Шаг 2 — Установите адаптер
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Шаг 3 — Добавьте коннектор в Gemini
URL вашего сервера: в AnythingMCP откройте MCP Servers → сервер, на котором находится этот коннектор, и скопируйте его URL (
https://cloud.anythingmcp.com/mcp/…). Используйте его везде, где в этом руководстве указаноYOUR_SERVER_ID.
Gemini CLI читает MCP-серверы из ~/.gemini/settings.json (или %APPDATA%\gemini\settings.json в Windows). Добавьте:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- Получите MCP API key в AnythingMCP → MCP Servers → твой сервер → API keys.
- Сохраните файл и перезапустите
gemini. - Запустите
/mcpв Gemini CLI —Zabbixдолжен быть доступен. - Vertex AI Studio: передайте
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDв массивtoolsзапроса с тем же заголовкомX-API-Key.
Доступные инструменты
| Tool | What it does |
|---|---|
zabbix_get_api_version | Read the Zabbix API version |
zabbix_list_hosts | List monitored hosts with their name, status, interfaces and host groups |
zabbix_list_host_groups | List host groups with their id, name and the number of hosts in each |
zabbix_list_problems | List the problems that are active right now, with their severity, host, name and the time they started |
zabbix_list_events | List events from the history — including problems that have since resolved, which problem |
zabbix_list_triggers | List triggers with their expression, severity, current value and the host they belong to — the rules that turn measurements into problems |
zabbix_list_items | List monitored items with their key, name, type, value type and units — what Zabbix actually measures on a host |
zabbix_get_latest_values | Read the most recent value of specific items — the current disk usage, load average or temperature, rather than the alert about it |
zabbix_get_history | Read historical values of one item over a time range — the series behind a graph |
zabbix_list_maintenance_windows | List configured maintenance windows with their hosts, groups and periods — the explanation for why an alert did not fire |
FAQ
Поддерживают ли Gemini 1.5 Pro или 2.x MCP? Да — Gemini CLI ≥ 0.4 и Vertex AI tools API принимают MCP-коннекторы httpUrl с собственными заголовками.
Следующие шаги
- Страница коннектора
- Подключить к Claude
- Подключить к ChatGPT
- Подключить к Cursor
- Подключить к Meta Muse
- Подключить к Microsoft Copilot
Это руководство помогло?