event_weekly_report
Generate a Markdown weekly ops report for Mon-Sun, summarizing Zabbix problems and incidents. Customize section lengths and filter to production-only hosts.
Instructions
生成周一至周日运维周报 Markdown,展示条数默认与定时推送周报一致,可按章节覆盖或仅统计生产口径。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| week | No | 周内任意日期,支持 last_week 或 YYYY-MM-DD,默认 last_week | last_week |
| top_n_severe | No | 严重事件中严重子章节展示条数(>0前N条/0跳过章节/-1全部展示,默认-1) | |
| top_n_chronic | No | 持续型问题章节展示条数(>0前N条/0跳过章节/-1全部展示,默认10) | |
| top_n_regular | No | 规律型问题章节展示条数(>0前N条/0跳过章节/-1全部展示,默认10) | |
| top_n_disaster | No | 严重事件中灾难子章节展示条数(>0前N条/0跳过章节/-1全部展示,默认-1) | |
| production_only | No | 是否仅统计生产口径,排除配置的测试网段(ZABBIX_TEST_NETWORKS)主机(默认False) | |
| top_n_high_frequency | No | 高频报警主机章节展示条数(>0前N条/0跳过章节/-1全部展示,默认15) | |
| top_n_short_recovery | No | 短时恢复型问题章节展示条数(>0前N条/0跳过章节/-1全部展示,默认5) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |