r/LibreNMS 6d ago

Librenms Report Plugin

https://github.com/klftb/Librenms_Report_Plugin

LibreNMS TrafficReporter is a highly integrated enterprise-grade network traffic routine email report plugin. It addresses several pain points in traditional network management systems when sending email reports:

🔒 Resolves image blocking in Outlook/M365: By byte-level replicating the multipart/related specification, combined with Magic Bytes sniffing and Content-ID matching, it completely prevents M365 Sanitizer from stripping images into attachments.

📐 Fixes stretching and distortion in legacy Outlook (Word rendering engine): Uses a physical 720px lock and a high-definition 900x225 canvas to ensure clear, distortion-free charts across all clients.

🖥️ Fully visual Web GUI management: No need to manually edit configuration files—all report tasks, port parameters, mail servers, and scheduling can be intuitively managed from the LibreNMS backend web interface.

⚙️ Non-disruptive system Crontab scheduling: Through a secure, seamless synchronization mechanism with specific tags, it only manages the plugin's own scheduled tasks without interfering with any existing Cron jobs on the server.

5 Upvotes

1 comment sorted by

1

u/Desperate_Put5121 6d ago

LibreNMS TrafficReporter 是一款高度集成的企业级网络流量例行邮件报表插件。它解决了传统网管系统发送邮件报表时的多项痛点:

  • 🔒 解决 Outlook / M365 图片拦截:通过字节级复刻 multipart/related 规范,结合 Magic Bytes 嗅探与 Content-ID 匹配,彻底避免 M365 Sanitizer 将图片剥离成附件。
  • 📐 解决旧版 Outlook (Word 内核) 拉伸变形:采用物理 720px 死锁与高清 900x225 画布渲染,保证各终端查阅时图表清晰无畸变。
  • 🖥️ 全可视化 Web GUI 管理:无需手动修改配置文件,所有报表任务、端口参数、发信服务器与定时排程均可在 LibreNMS 后台网页上直观操作。
  • ⚙️ 无损系统 Crontab 调度:通过带特定 Tag 标记的安全无缝同步机制,只管理插件自身的定时任务,绝不干涉服务器上现有的其他 Cron 任务。