Project

General

Profile

Actions

Regression #14418

closed

RRD Summary prints zero in all data fields

Added by Jim Pingle almost 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
RRD Summary
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

When RRD Summary tries to fetch data for specific time ranges, the commands it runs fail.

For example it tries to run:

/usr/local/bin/rrdtool fetch '/var/db/rrd/wan-traffic.rrd' AVERAGE -r 86400 -s 'epoch+1682899200s' -e 'epoch+1684972800s'

Which results in the following error:
ERROR: the first entry to fetch should be after 1980

The same command works on previous versions, even on 23.01.

Changing the command to use just the timestamps instead of epoch+<x>s seems to get output but it's not identical output. Might be close enough, though.

Actions #1

Updated by Jim Pingle almost 2 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #2

Updated by Denny Page almost 2 years ago

The epoch issue appears to be a perverse and long standing (for rrdtool) issue:

https://github.com/oetiker/rrdtool-1.x/issues/939

Actions #3

Updated by Jim Pingle almost 2 years ago

Denny Page wrote in #note-2:

The epoch issue appears to be a perverse and long standing (for rrdtool) issue:

https://github.com/oetiker/rrdtool-1.x/issues/939

I saw that. It's also weird that it worked OK on 23.01 but broke on 23.05 and both have rrdtool 1.8.0. The only change in the port was unrelated compile options we don't (and haven't) used for python and ruby support in rrdtool.

Moving away from unix timestamps is ideal, though, since they are also a source of problems on ARMv7: #12338

Actions #4

Updated by Danilo Zrenjanin over 1 year ago

  • Status changed from Feedback to Resolved

I tested the version:

RRD_Summary 2.2

It works with no error logs.

I am marking this ticket resolved.

Actions

Also available in: Atom PDF