{"id":13617069,"url":"https://github.com/meetbill/zabbix_manager","last_synced_at":"2025-04-14T03:32:41.188Z","repository":{"id":101192230,"uuid":"56367195","full_name":"meetbill/zabbix_manager","owner":"meetbill","description":"🍀 (1)安装后一键设置 (2)日常管理工具 (3)一键导出常用报表 (4)Zabbix API  二次开发","archived":false,"fork":false,"pushed_at":"2018-02-13T10:20:54.000Z","size":1203,"stargazers_count":211,"open_issues_count":7,"forks_count":134,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-11-08T01:39:13.308Z","etag":null,"topics":["zabbix","zabbix-manager"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meetbill.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-04-16T05:24:40.000Z","updated_at":"2024-08-27T01:45:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"25bda4e1-4a96-42af-a0d1-7ec89249e286","html_url":"https://github.com/meetbill/zabbix_manager","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meetbill%2Fzabbix_manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meetbill%2Fzabbix_manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meetbill%2Fzabbix_manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meetbill%2Fzabbix_manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meetbill","download_url":"https://codeload.github.com/meetbill/zabbix_manager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248815688,"owners_count":21165966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["zabbix","zabbix-manager"],"created_at":"2024-08-01T20:01:36.623Z","updated_at":"2025-04-14T03:32:36.180Z","avatar_url":"https://github.com/meetbill.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Zabbix_manager(server)\n\n\u003e * [Zabbix 管理工具手册 (GitHub)（推荐）](https://github.com/BillWang139967/zabbix_manager/wiki)------------------- 优先更新\n\u003e * [Zabbix 管理工具手册 (W3cschool)](http://www.w3cschool.cn/zabbix_manager/)\n\n## Supported versions\n\n\u003e * 版本高于 Zabbix 3.0\n\n## 功能\n\n**Monitor**\n\nWhen we plan to monitor, we must first create a host group, and then import some template, and finally add some hosts, zabbix_manager is a better choice\n\n**Alarm**\n\nWhen we plan to use zabbix alarm .\n\u003e * first, we need to add the alarm mode.\n\u003e * the second, we need to create user groups and users.\n\u003e * the third, the user configuration of alarms.\n\u003e * fourth, create action\n\n**Report**\n\nDaily we need to export the report, use zabbix manager can export xls file using zabbix_manager will greatly save us time\n\n## Zabbix_api version\n\n* V1.4\n    * v1.4.04，2017-11-27 [更新] 更新可用性报表计算方法 [详细](https://github.com/BillWang139967/zabbix_manager/wiki/app_report_available)\n    * v1.4.03，2017-10-20 [更新] 添加 dev_hosts_info 判断返回值个数\n    * v1.4.02，2017-10-20 [修复] 修复 Zabbix 日常使用报表因添加数据单位导致排序无法正常运行问题\n    * v1.4.01，2017-09-23 [更新] 更新 Zabbix_api_lib\n* V1.3[Release 下载](https://codeload.github.com/BillWang139967/zabbix_manager/tar.gz/v1.3)\n    * v1.3.04，2017-09-22 [更新] 添加 `dev_hosts_device` 输出每台机器的指定挂载目录的使用信息\n    * v1.3.03，2017-09-21 [更新] 添加 `dev_hosts_info` 输出常用监控项信息（可以自己定制）, 优化部分程序\n    * v1.3.02，2017-09-16 [更新] 更新程序调用时 `issues` 返回值\n    * v1.3.01，2017-09-15 [更新] 增加 `item_list`方法，`issues` 方法输出添加`item key`信息\n* V1.2\n    * v1.2.16，2017-09-13 [更新] `host_get` 输出项中，模板由之前获取的 `host(Template name)` 修改为 `name(Visible name)`\n    * v1.2.15，2017-09-11 [更新] `--hostid/--hostgroupid` 参数可以通过直接输入`主机名 / 主机组名`进行获取主机列表，检查配置文件不存在时会使用本目录下`etc`下的配置文件\n    * v1.2.13，2017-09-09 [更新] agent 自动注册功能修改参数，增加 hostmeta 参数\n    * v1.2.12，2017-08-30 [更新] 报表 [report_key](https://github.com/BillWang139967/zabbix_manager/wiki/app_report_key) 修改为使用 key 的正则表达式进行搜索\n    * v1.2.11，2017-08-29 [更新] item_get 只输出已启用的监控项 [增加] 增加 [report_key](https://github.com/BillWang139967/zabbix_manager/wiki/app_report_key)\n    * v1.2.10，2017-08-26 [修复] 导出报表时设置 --table `SingleTable` 没有定义的错误\n    * v1.2.9，2017-08-01  [更新] 增加 application_get 获取 application 列表功能 [增加] 增加 [report_app](https://github.com/BillWang139967/zabbix_manager/wiki/app_report_app)\n    * v1.2.8，2017-07-28  [更新] 增加 3 次重试机制\n    * v1.2.7，2017-07-25  [更新] 导出报表时，只计算 item_type 为 0（浮点数） 或者 3（整数） 的数据，其他 item 返回\"-1\" (2) 执行命令时会输出 zabbix server 的版本号\n    * v1.2.6，2017-07-21  [更新] 1 [XLSWriter](https://github.com/BillWang139967/XLSWriter) 使之可控制是否显示 logo (2) 可通过配置以适应 apache 搭建的 zabbix server\n    * v1.2.4，2017-06-15  [增加] 输出日常使用报表时会在值后面加上单位 (K/M/G 也会自动进行换算）\n    * v1.2.3，2017-04-04  [增加] -sign 参数（设置搜索分割符）\n    * v1.2.1，2016-12-25  [增加] 对主机批量 link 、clear 模板操作\n    * v1.2.0，2016-11-27  [修改] `zabbix_api` 调用方式（报表类函数不变）\n* V1.1\n    * v1.1.7，2016-11-25 优化程序\n    * v1.1.6，2016-11-08 Add 通过 profile 参数选择配置文件中不同的 `section`\n    * v1.1.5，2016-10-24 Add `report_available2` 可以对特定 item 进行输出，除报表项外，其他函数统一输出函数\n    * v1.1.4，2016-10-24 Add `issues`获取最近问题\n    * v1.1.3，2016-09-09 Add report_available2, 可设置排序\n    * v1.1.2，2016-09-05 Add zabbix_manager gui\n    * v1.1.1，2016-08-22 Add mysql_quota\n    * v1.1.0，2016-07-14 Release 1.1.0\n* V1.0\n    * v1.0.8，2016-07-13 Add report\n    * v1.0.6，2016-06-23 Add rule and discovery manage\n    * v1.0.5，2016-06-19 Add mediatype manage\n    * v1.0.4，2016-06-18 Add usergroup manage\n    * v1.0.3，2016-06-11 Add history_report\n    * v1.0.2，2016-06-03 Modify the command line in interactive mode\n    * v1.0.1，2016-04-16 First edit\n\n## 参加步骤\n\n* 在 GitHub 上 `fork` 到自己的仓库，然后 `clone` 到本地，并设置用户信息。\n```\n$ git clone https://github.com/BillWang139967/zabbix_manager.git\n$ cd zabbix_manager\n$ git config user.name \"yourname\"\n$ git config user.email \"your email\"\n```\n* 修改代码后提交，并推送到自己的仓库。\n```\n$ #do some change on the content\n$ git commit -am \"Fix issue #1: change helo to hello\"\n$ git push\n```\n* 在 GitHub 网站上提交 pull request。\n* 定期使用项目仓库内容更新自己仓库内容。\n```\n$ git remote add upstream https://github.com/BillWang139967/zabbix_manager.git\n$ git fetch upstream\n$ git checkout master\n$ git rebase upstream/master\n$ git push -f origin master\n```\n## 相关链接\n\n\u003e * zabbix 安装 -------------------------------------------------[zabbix_install](https://github.com/BillWang139967/zabbix_install)\n\u003e * zabbix 报警工具 ---------------------------------------------[zabbix_alert](https://github.com/BillWang139967/zabbix_alert)\n\u003e * zabbix 常用模板 ---------------------------------------------[zabbix_templates](https://github.com/BillWang139967/zabbix_templates)\n\u003e * 导出报表工具 -----------------------------------------------[XLSWriter](https://github.com/BillWang139967/XLSWriter)\n\u003e * linux 终端表格 ----------------------------------------------[linux_terminal](https://github.com/BillWang139967/linux_terminal)\n\u003e * shell 菜单工具 ----------------------------------------------[shell_menu](https://github.com/BillWang139967/shell_menu)\n\n## 小额捐款\n\n如果觉得 `zabbix_manager` 对您有帮助，可以请笔者喝杯咖啡\n\n![Screenshot](images/5.jpg)\n\n## 致谢\n\n1. 感谢南非蜘蛛的指导\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeetbill%2Fzabbix_manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeetbill%2Fzabbix_manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeetbill%2Fzabbix_manager/lists"}