Space Projection Daily piler report vs Web UI

Issue #969 resolved
Clifton Grimm created an issue

Hello - There is a discrepancy between the results in the emailed daily piler report and the web UI in the Space Projection section.

I was previously getting no average data, nor any trends in the daily report until I made the following change in daily-report.php:

          /* these next counters are for projecting space */
--        $averagemessagesweekraw = 0;
--        $averagemessagesmonthraw = 0;
++        $averagemessagesweekraw = ($processed_emails['last_7_days_count']) / 7;
++        $averagemessagesmonthraw = ($processed_emails['last_30_days_count']) / 30;

But now my numbers in the email do not match the web UI numbers - web shows:

Space Projection Average Messages per Day: 6181 Average Message + Metadata + Index Size: 179 k + 2 k + 2 k Average Size per Day: 697 M "/var" Partition Projected to be Full in: 3 years, 2 months, 27 days Usage Trend: Decreasing

But daily email shows:

Space Projection 6188 (Average Messages per Day) 179 k + 1k + 1k (Average Message + Metadata + Index Size) 1.1 G (Average Size per Day) 2 years, 0 months, 15 days ("/var" Partition Projected to be Full in) Decreasing (Usage Trend)

Why the discrepancy?

Comments (5)

  1. Janos SUTO repo owner

    I’ve refactored the health status stuff, and by using the latest master there shouldn’t be any discrepancies. Let me know how it shows for you.

  2. Log in to comment