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

    Mailreport Problems

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 3 Posters 1.5k Views
    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.
    • S
      Stewart
      last edited by

      I'm having a few issues with the Mailreport package that I need help with.  Firstly the clamscan and squidguard logs show nothing.  I'm not sure where it should be pulling from but /var/log/access.log has info for clamscan and /var/squidGuard/log/block.log and /var/log/squidGuard.log have info for squidGuard.

      Second, my system.log file is full of lines such as:
      php: mail_reports_generate.php: Failed to create graph with error code , the error is:
      php: mail_reports_generate.php: rrdcolors.inc.php for theme does not exist, using defaults!

      How can I fix these?  Thanks.

      1 Reply Last reply Reply Quote 0
      • L
        Lada
        last edited by

        I have the same error:

        php: mail_reports_generate.php: rrdcolors.inc.php for theme does not exist, using defaults!
        php: mail_reports_generate.php: Failed to create graph with error code , the error is:
        php: mail_reports_generate.php: Sorry we do not have data to graph for system-mbuf.rrd

        WTF

        1 Reply Last reply Reply Quote 0
        • P
          phil.davis
          last edited by

          Theme: have you got a special theme selected in System->General Setup?
          All the standard themes have rdcolors.inc.php supplied.
          It is odd that "for theme does not exist" comes out that way - it should have the theme name in there also, like "for theme pfsense_ng does not exist".
          Somehow mail report is not getting your theme name.

          system-mbuf.rrd - I get the same message, along with "Failed to create graph". Looking at mail_reports_generate.php, there is simply no code to match any *mbuf.rrd file. It seems that the back-end support to generate and mail the mbuf graph has never been written  :P

          Add: It was not that hard to do, a bit of cut, think and paste.
          Pull request: https://github.com/pfsense/pfsense-packages/pull/816

          That should give you mbuf usage graphs in email from mail report.

          I do not know about the theme thing - post about what unusual thing you have with themes.

          As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
          If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

          1 Reply Last reply Reply Quote 0
          • P
            phil.davis
            last edited by

            This is in Mail Report 2.3, available now. Along with fixes here also: https://forum.pfsense.org/index.php?topic=83668.msg488777#msg488777

            As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
            If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

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