This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Email statistics buggy since v9.4

I've just upgraded to v9.4, and discovered an issue...

I'm using the email statistics functionnality for a long time and it worked correctly till v9.3.4.

I've set the "for every" option to 24 hours, and the mail is always being sent at midnight (12:00 AM + some minutes/seconds).

Now, I'm still receiving the mail correctly, but its content is partially reset at midnight.

Here is a sample mail:

---

///       Kiwi Syslog Server Statistics         ///

---------------------------------------------------

24 hour period ending on: Tue, 17 Sep 2013 00:02:56

Syslog Server started on: Wed, 11 Sep 2013 11:33:10

Syslog Server uptime:     5 days, 12 hours, 27 minutes

---------------------------------------------------

 

+ Messages received - Total:          3046381

+ Messages received - Last 24 hours:  776286

+ Messages received - Since Midnight: 197

+ Messages received - Last hour:      7545

+ Message queue overflow - Last hour: 0

+ Messages received - This hour:      3441

+ Message queue overflow - This hour: 0

+ Messages per hour - Average:        32202

 

+ Messages forwarded:                 0

+ Messages logged to disk:            212

 

+ Errors - Logging to disk:           0

+ Errors - Invalid priority tag:      0

+ Errors - No priority tag:           0

+ Errors - Oversize message:          0

 

+ Disk space remaining on drive D:    107889 MB

 

---------------------------------------------------

 

 

      Breakdown of Syslog messages by sending host 

+--------------------------+------------+------------+

| Top  25 Hosts             |  Messages  | Percentage |

+--------------------------+------------+------------+

| router                   |       197  |    100,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

|                          |         0  |      0,00% |

+--------------------------+------------+------------+

 

 

     Breakdown of Syslog messages by severity  

+--------------------+------------+------------+

| Message Level      |  Messages  | Percentage |

+--------------------+------------+------------+

| 0 - Emerg          |         0  |      0,00% |

| 1 - Alert          |         0  |      0,00% |

| 2 - Critical       |         0  |      0,00% |

| 3 - Error          |         0  |      0,00% |

| 4 - Warning        |         0  |      0,00% |

| 5 - Notice         |         0  |      0,00% |

| 6 - Info           |       197  |    100,00% |

| 7 - Debug          |         0  |      0,00% |

+--------------------+------------+------------+

 

Custom statistics

-----------------

CustomStats01: 0

CustomStats02: 0

CustomStats03: 0

CustomStats04: 0

CustomStats05: 0

CustomStats06: 0

CustomStats07: 0

CustomStats08: 0

CustomStats09: 0

CustomStats10: 0

CustomStats11: 0

CustomStats12: 0

CustomStats13: 0

CustomStats14: 0

CustomStats15: 0

CustomStats16: 0

 

End of Report.

---

The first summary part seems to be OK.

But the Top 25 hosts and the severity dispatching are reset at 00:00, instead of showing datas for the past day !

Therefore, the 197 messages are only those received since midnight, as the mail was sent at 00:02:56

So, either there's an unwanted clearing of counters (at 00:00 instead of after the mail was sent), or there should be a more precise scheduling option (every XX hours, that's not precise at all !) where for example it could be possible to specify the time of sending (00:00 or 23:59)...

I was using those datas for statistics, but they're now completely unuseful !!!

For me, this is clearly a bug that appeared in v9.4...

What's your opinion ?

In that case, can you correct it, please ?