vibeMK

io.github.chexmav0.6.4更新于 Oct 3, 2026

Query and configure CheckMK monitoring: hosts, services, rules, downtimes, metrics

概览

AI 生成的概览

让助手用自然语言读取和修改 CheckMK 监控:主机、服务、规则、停机、指标和用户。

功能
vibeMK 把助手连接到 CheckMK 监控站点。它可以读取主机和服务的实时状态、性能指标和当前问题,也能安排停机、确认或删除确认,并创建文件夹、规则、时间段、主机组、标签、用户账号和联系人组。支持 CheckMK 2.3.x 至 2.5.x,涵盖 Raw、Enterprise 和 Cloud 版本。
适用场景
当你希望以对话方式查看或管理 CheckMK 环境时适用,例如查看当前故障、比较主机之间的指标、安排维护窗口,或检查并合并规则集。如果只做分析,可以使用只读模式。
运行要求
以 Python 包形式在本地运行(pipx、uv 或 pip),由 MCP 客户端通过 stdio 启动。需要 CheckMK 服务器地址、站点名称和自动化用户,以及 CHECKMK_PASSWORD 中的自动化密钥;可选 CHECKMK_VERIFY_SSL、NEVER_ACTIVATE_CHANGES 和 VIBEMK_READ_ONLY。进行修改需要自动化用户具备管理员权限,仅分析可用只读角色。可选的 HTTP 模式需要 bearer 令牌。
安装前请注意
该服务器可以写入 CheckMK:创建和删除文件夹、规则、用户和停机,并修改确认状态;README 说明它处于 alpha 阶段,使用风险自负。CHECKMK_PASSWORD 中的自动化密钥拥有该账号的权限,建议尽量使用只读角色或 VIBEMK_READ_ONLY。HTTP 模式下令牌是必需的,且该端口会继承 CheckMK 账号的访问权限。

安装

在 SourceWeft 中

  1. 打开 控制台中的 vibeMK,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

vibeMK 🚀

CheckMK Monitoring via LLM - Professional MCP Server

[Python 3.10+] [CheckMK 2.3+] [License: GPL v3] [MCP Compatible] [MCP SDK] [Code style: black] [Typed]

🎯 Overview

vibeMK enables complete management of your CheckMK monitoring environment directly through LLM interfaces using natural language. This project is in the alpha stage and under development. I accept no liability for any damage resulting from the use of this software.

vibeMK - Current Features

Live Monitoring ✅

  • Host Status: Real-time host state (UP/DOWN/UNREACHABLE) with hard state detection
  • Service Status: Live service monitoring (OK/WARNING/CRITICAL/UNKNOWN)
  • Performance Metrics: Retrieve metrics data with automatic discovery
  • Current Problems: Auto-detect all active monitoring issues

Downtime Management ✅

  • Schedule Downtimes: Create host/service downtimes with flexible duration parsing ("2h", "1h30m")
  • List & Filter: View all downtimes or filter for active ones only

Problem Management ✅

  • Acknowledge Problems: Set acknowledgements for host/service issues (sticky/persistent options)
  • List Acknowledgements: View all current problem acknowledgements
  • Remove Acknowledgements: Delete by pattern or individual removal

Configuration Management ✅

  • Folders: Create/delete monitoring folder structures
  • Rules: Create rules for 2000+ CheckMK ruleset types with proper format handling
  • Time Periods: Create custom notification schedules (business hours, 24/7, etc.)
  • Host Groups: Organize hosts into logical groups

User & Security ✅

  • User Accounts: Create/manage user accounts with role assignment
  • Password Management: Set passwords with policy enforcement
  • Contact Groups: Manage notification groups
  • Host/Service Tags: Comprehensive tagging system

🚀 Quick Start

bash
1. pipx install vibemk   (or: uv tool install vibemk, or pip install vibemk into a virtual environment)2. Edit the configuration file of your LLM Client, e.g. Claude Desktop - claude_desktop_config.json (See examples)3. Start your LLM Client4. CheckMK automation user setup (Administrator permissions or a customized role if changes are to be made, read-only if only analyses are to be performed.)5. voila - configure checkmk using natural language

Complete Installation Guide: See INSTALL.md for detailed step-by-step instructions. Upgrading from 0.3.x or older: git pull is not enough, see Upgrading. More Examples: See examples/llm_configs/ and INSTALL.md
Visual Examples: See examples/Screenshots/ for example prompts and usage patterns

🔌 Running it

Locally (default). The LLM client starts vibeMK itself over stdio. Nothing to host, nothing to secure -- the client already owns the process.

Centrally. One instance can serve many clients over Streamable HTTP, so they need neither Python nor vibeMK installed:

bash
export VIBEMK_HTTP_TOKEN="$(python -c 'import secrets; print(secrets.token_urlsafe(32))')"vibemk --transport http --port 8765

Clients connect to http://<host>:8765/mcp and send Authorization: Bearer <token>. The token is mandatory, and vibeMK binds to localhost unless told otherwise: the CheckMK account lives on the server, so whoever reaches the port inherits it. See INSTALL.md for what that means before you expose it.

💡 Practical Prompt Examples

bash
# Add new server"Create a new host 'web-server-05' in folder 'Servers' with IP 192.168.1.105 and discover all services"
# Schedule maintenance"Schedule a 2-hour downtime for the service Check_MK on 'cephnode01' starting at 22:00 tomorrow for 'Debian Updates'"
# Downtimes "show me all current scheduled downtimes."
# Metric analysis"Compare the “response_time” metric of the “HTTPS Webservice” service of the two hosts www.google.de and www.heise.de for the last ten minutes."
# Ruleset analysis"analyze and compare the rulesets "Filesystems (used space and growth)" and see, if there are duplicates or if rules can be combined."

Advanced Usage: See examples/ExamplePrompts.md for complex scenarios and tips

📚 Checkmk version compatibility

CheckMK VersionCompatibilityFeatures
2.5.x✅ FullAll features available, tested against 2.5.0p14 (Raw and Ultimate)
2.4.x✅ FullAll features available
2.3.x✅ FullAll features available
2.2.x and older🔴 Unsupported

Checkmk Edition Support

  • Raw Edition: Fully supported, including the BI and Event Console endpoints
  • Enterprise Edition: Adds the Agent Bakery and custom graphs
  • Cloud Edition: All Enterprise features

Edition availability follows the operationId of each endpoint in the Checkmk OpenAPI document: cmk.gui.cee.* is Enterprise-only, everything else is served by every edition including Raw.

Security considerations

  • To let a model look without touching, start vibeMK read-only: --read-only or VIBEMK_READ_ONLY=1. Only the tools that read are offered, and a call to any other is refused before it reaches CheckMK
  • Be aware of the potential security risks when you unleash AI on your checkmk
  • Use at your own risk
  • I accept no responsibility for actions performed by an AI

📄 License

This project is licensed under the GNU General Public License v3.0.


Happy Monitoring with CheckMK and LLMs! 🎉

来源:README.md,提交 e1cc869

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v0.6.4最新Oct 3, 2026