Hello Paolo!
Seems that I found a bug in realization 'sql_history' key.
I use 'sql_history = 1d' value and when time switches to daylight saving
(summer time) 'nfacctd' daemon starts to insert incorrect values into
timestamp field ('stamp_inserted'):
10 0 0 0 192.168.5.49 0 0 0 tcp 0 4595652 4332277490 12350 2009-03-26
00:00:00 2009-03-27 00:00:01
10 0 0 0 192.168.5.49 0 0 0 tcp 0 5822132 5218820162 14684 2009-03-28
00:00:00 2009-03-29 00:00:01
10 0 0 0 192.168.5.49 0 0 0 tcp 0 3081249 2095939992 12018 2009-03-29
00:00:00 2009-03-30 01:00:01
10 0 0 0 192.168.5.49 0 0 0 tcp 0 4003156 3695428902 20109 2009-03-30
01:00:00 2009-03-31 01:00:01
10 0 0 0 192.168.5.49 0 0 0 tcp 0 2416080 2213229236 9547 2009-03-31
01:00:00 2009-04-01 01:01:01
As you can see, 1 hour appears in 'stamp_inserted' value. However, daemon
must round all time digits according to my configuration ('sql_history =
1d'). After I restart 'nfacctd' daemon, 'stamp_inserted' values have zero in
hour position.
I suspect that it is bug in mechanism of timestamp rounding.
I use 'pmacct-0.11.4'.
Thank you very much,
Alex
---
Прогноз погоды ТУТ - http://pogoda.tut.by
_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists