Project

General

Profile

Bug #751

RRD Graphs is not refreshed

Added by Mike Stupalov almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
RRD Graphs
Target version:
Start date:
07/20/2010
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.0
Affected Architecture:

Description

After upgrade to latest snapshot all RRD Graphs is not refreshed. (see screenshot)

2.0-BETA3
built on Sun Jul 18 12:03:22 EDT 2010
FreeBSD 8.1-RC2 

Other error, I have seen in file status_rrd_graph.php a line:

exec("cd $rrddbpath;/usr/bin/find -name *.rrd", $databases);

out for this command:

[root@totoro /var/db/rrd]# /usr/bin/find -name *.rrd
find: illegal option -- n
find: illegal option -- a
find: illegal option -- m
find: illegal option -- e
GW_PETERSTAR-quality.rrd
GW_PROMETEY-quality.rrd
GW_SMART-quality.rrd
WANGW-quality.rrd
WAN_SMARTGW-quality.rrd

can substitute it on:

exec("cd $rrddbpath;/bin/ls *.rrd", $databases);

screenshot_030.png (38.2 KB) screenshot_030.png RRD Graphs is not refreshed Mike Stupalov, 07/20/2010 02:25 AM

Associated revisions

Revision 496dcc19 (diff)
Added by Jim Pingle almost 9 years ago

Replace this exec to find with a glob(). Fixes #751.

History

#1 Updated by Jim Pingle almost 9 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#2 Updated by Mike Stupalov almost 9 years ago

I was mistaken, Graphs are refreshed.
But they are displayed with not a correct time slice. The right boundary of the Graphs should specify time present situation, instead of the period end (for example day).

#3 Updated by Chris Buechler almost 9 years ago

That was an intentional change by Seth actually. I'm not sure if that's the best behavior. I had the exact same thought as you when I first noticed that change, thought it stopped updating hours before, but it was fine.

#4 Updated by Steve Vigneau almost 9 years ago

I personally prefer "last day", "last week", etc, but I can see why some might like it to be "current day", "current week", etc. Personally I think that this should be a toggle in the RRD settings.

#5 Updated by Chris Buechler almost 9 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF