# zabbix_export **Repository Path**: ythook/zabbix_export ## Basic Information - **Project Name**: zabbix_export - **Description**: zabbix 导出报表,生成excel - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 4 - **Created**: 2021-01-29 - **Last Updated**: 2021-01-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #zabbix_export zbbix报表导出 ## 使用方法: 1. 先安装依赖 pip install pymysql xlwt 2. 配置数据库和报表保存路径 3. python main.py # 默认在当前目录生成`zabbix报表.xls` ## 思路: 1. 确定需要的数据 2. 从数据库导出 3. 写入到excel中 4. 发送邮件 ## 系统信息 python <= 2.6.6 xlwt == 1.2.0 # python excel write library mysql == 5.1 zabbix == 2.3