Open andreas-p opened 5 years ago
i got the same question...
This is/was by design. Before, nfsen-ng occasionally missed a file, resulting in gaps in the graph.
Responsible lines: https://github.com/mbolli/nfsen-ng/blob/0edd0e671886ada14ed8db2a648ad260992d15e1/backend/common/import.php#L117-L118
If anybody's got time to test this, try to replace <=
with <
and see how good it works.
I successfully imported some data with -pf -p pf into rrd. Now, wen running the daemon, it will perodically log "illegal attempt to update using time 1549010700 when last update time is 1549010700 (minimum one second step)" (the timestamp changes with the latest nfcapd file).
Running on Debian-Stretch with rrdtool 1.6.0 and php-rrd 2.0.1