- ✅ Zabbix 6.0.x
- ✅ Zabbix 7.0.x
这是一个包含多个Zabbix模块的项目集合,每个模块都是独立的Zabbix扩展,为Zabbix监控系统提供额外的功能。
简介:用于生成每日、周、月报表的Zabbix 7.0 前端模块,支持报表预览、PDF导出和邮件推送功能。
功能特性:
- 支持每日、周、月报表生成
- 报警数量和状态统计
- 显示报警最多的主机(前10名)
- 显示CPU和内存使用率最高的主机(前10名)
- 页面预览报表
- 手动导出PDF
- 邮件推送报表(HTML格式)
兼容性:Zabbix 6.0.x, 7.0.x(自动适配)
简介:用于配置管理数据库(CMDB)的Zabbix 7.0前端模块,提供主机信息的集中查看和管理功能。
功能特性:
- 支持通过主机名或IP地址进行搜索
- 支持按主机分组进行筛选
- 显示主机名、IP地址、接口方式、CPU总量、内存总量、主机分组等信息
- 支持中英文界面国际化
- 响应式设计,适配不同屏幕尺寸
兼容性:Zabbix 6.0.x, 7.0.x(自动适配)
在安装前,请根据您的Zabbix版本修改各模块的 manifest.json 文件:
- Zabbix 6.0: 将
"manifest_version": 2.0改为"manifest_version": 1.0 - Zabbix 7.0+: 保持
"manifest_version": 2.0不变
这是最简单快捷的安装方式,一次性部署所有模块:
-
克隆项目到Zabbix模块目录:
cd /usr/share/zabbix/modules/ git clone https://github.com/X-Mars/zabbix_modules.git .
注意:命令末尾的
.表示克隆到当前目录。 -
如果使用Zabbix 6.0,修改manifest_version:
cd /usr/share/zabbix/modules/ # 修改 zabbix_reports 模块 sed -i 's/"manifest_version": 2.0/"manifest_version": 1.0/' zabbix_reports/manifest.json # 修改 zabbix_cmdb 模块 sed -i 's/"manifest_version": 2.0/"manifest_version": 1.0/' zabbix_cmdb/manifest.json
如果使用 Zabbix 7.0+,则无需修改,保持默认值即可。
完成文件部署后,在Zabbix Web界面中启用模块:
- 进入Zabbix Web界面
- 导航到 Administration → General → Modules
- 点击 Scan directory 扫描新模块
- 找到并启用 "Zabbix Reports" 和 "Zabbix CMDB" 模块
刷新页面后,您将在相应菜单中看到新模块:
- Reports → Zabbix Reports (每日/周/月报表)
- Inventory → CMDB (主机列表/主机分组)
每个模块都有独立的安装说明,请参考各模块的README.md文件获取详细的安装和配置步骤。
Each module has independent installation instructions. Please refer to the README.md file of each module for detailed installation and configuration steps.
This is a collection of Zabbix modules, where each module is an independent Zabbix extension that provides additional functionality to the Zabbix monitoring system.
Description: A frontend module for Zabbix 7.0 that generates daily, weekly, and monthly reports. It supports report preview, PDF export, and email push functionality.
Features:
- Support for daily, weekly, and monthly report generation
- Problem count and status statistics
- Display top problem hosts (Top 10)
- Display top CPU and memory utilization hosts (Top 10)
- In-page report preview
- Manual PDF export
- Email push reports (HTML format)
Documentation: zabbix_reports/README.md
Author: 火星小刘
Version: 1.1.0
Compatibility: Zabbix 6.0.x, 7.0.x (Auto-adaptive)
Description: A frontend module for Zabbix 7.0 that provides Configuration Management Database (CMDB) functionality, offering centralized viewing and management of host information.
Features:
- Support searching by hostname or IP address
- Support filtering by host groups
- Display host name, IP address, interface type, CPU total, memory total, host groups
- Support for Chinese and English interfaces
- Responsive design that adapts to different screen sizes
Documentation: zabbix_cmdb/README.md
Author: 火星小刘
Version: 1.1.0
Compatibility: Zabbix 6.0.x, 7.0.x (Auto-adaptive)
Before installation, please modify the manifest.json file of each module according to your Zabbix version:
- Zabbix 6.0: Change
"manifest_version": 2.0to"manifest_version": 1.0 - Zabbix 7.0+: Keep
"manifest_version": 2.0as default
This is the simplest and fastest way to deploy all modules at once:
-
Clone the project to Zabbix modules directory:
cd /usr/share/zabbix/modules/ git clone https://github.com/X-Mars/zabbix_modules.git .
Note: The
.at the end means clone to the current directory. -
For Zabbix 6.0, modify manifest_version:
cd /usr/share/zabbix/modules/ # Modify zabbix_reports module sed -i 's/"manifest_version": 2.0/"manifest_version": 1.0/' zabbix_reports/manifest.json # Modify zabbix_cmdb module sed -i 's/"manifest_version": 2.0/"manifest_version": 1.0/' zabbix_cmdb/manifest.json
For Zabbix 7.0+, no modification needed, keep the default value.
After deploying the files, enable the modules in Zabbix Web UI:
- Go to Zabbix Web UI
- Navigate to Administration → General → Modules
- Click Scan directory to scan for new modules
- Find and enable "Zabbix Reports" and "Zabbix CMDB" modules
After refreshing the page, you will see the new modules in the respective menus:
- Reports → Zabbix Reports (Daily/Weekly/Monthly reports)
- Inventory → CMDB (Host List/Host Groups)
Each module has independent installation instructions. Please refer to the README.md file of each module for detailed installation and configuration steps.
欢迎提交问题报告和功能改进建议。请在相应模块的目录下提交问题。
Issues and feature improvement suggestions are welcome. Please submit issues in the appropriate module directory.
所有模块遵循Zabbix的许可证条款。详情请见 Zabbix许可证。
All modules follow the Zabbix license terms. For details, see Zabbix License.



