
vibeMK
io.github.chexmav0.6.4更新于 Oct 3, 2026
Query and configure CheckMK monitoring: hosts, services, rules, downtimes, metrics
概览
让助手用自然语言读取和修改 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 令牌。
安装
在 SourceWeft 中
- 打开 控制台中的 vibeMK,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
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
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:
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
Advanced Usage: See examples/ExamplePrompts.md for complex scenarios and tips
📚 Checkmk version compatibility
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-onlyorVIBEMK_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- v0.6.4最新Oct 3, 2026

