Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Mailreport rich formatting and graphs

    pfSense Packages
    1
    1
    441
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jdw
      last edited by

      Since the deprecation of the old mailreport package with RRD support in 2018 I have been chasing after a native alerting and graphing capabilities we once had. With all the new development around PfSense Plus I figure this might be the right time to bring this up with the community.
      I have created a wrapper around the existing mailreport package on github which I generically name pfMailReport. I format the largely <pre> html format command output into a table, row, or list. Really basic parsing of command and some file types essentially. In the development branch of code you'll see some other experiments for graphing both native and using third parties, and unfortunately none of these have worked out. But let's be honest, having a shell script parse command output rather than the native PHP isn't ideal, but this stop gap solution I created has been the only solution for the past 5 years.

      I truly believe the correct way to implement this is to integrate more formatting options and graphing back into mailreport itself. I really hope this thread sparks some discussion which validates user interests... and perhaps, just perhaps gains the attention of pf devs and this maybe makes its way into a pf Plus feature. 😃

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.