Current values in HTML Summary pulling from wrong ds

"Robert Woodcock" <[email protected]>
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>
I'm having a very curious problem with cricket 1.0.5, librrds-perl,
and librrd2 1.2.15 (from the packages in Debian etch).

Many target views do not display any text under "Values at last
update:". Other targets (especially ones with lots of fields) display
the Cur: value from the wrong ds (ds7's cur value will come from ds6,
ds6's will come from ds5, etc, assuming they're both GAUGE ds's).
Here's the kicker - the Avg and Max Values pull from the correct ds
and so does the graph.

When I try to browse one of these target views, I see this in Apache's
error log:

Use of uninitialized value in pack at
/usr/share/cricket/lib/RRD/Format.pm line 188.

If I run rrd-dump on an .rrd file, I get binary garbage in the PDP
line. Here's output from a simple one-ds rrd:
----------------------------------
Header info: 1,6,300

DS 0:   min_val,0,max_val,60,ds_mrhb,1800,dst,GAUGE,dsName,ds0

RRA 0:  row_cnt,600,cf,0.5,pdp_cnt,1,rraName,AVERAGE
RRA 1:  row_cnt,600,cf,0.5,pdp_cnt,6,rraName,AVERAGE
RRA 2:  row_cnt,600,cf,0.5,pdp_cnt,24,rraName,AVERAGE
RRA 3:  row_cnt,600,cf,0.5,pdp_cnt,24,rraName,MAX
RRA 4:  row_cnt,600,cf,0.5,pdp_cnt,288,rraName,AVERAGE
RRA 5:  row_cnt,600,cf,0.5,pdp_cnt,288,rraName,MAX

Live header:
        last update time: 1174497932

PDP 0:  last_ds,e<BE>^G,unkn_sec,0,value,-7.51870215006002e-239

CDP's:
rra=0
        ds=0:   value,0,unkn_pdp,4294443008
rra=1
        ds=0:   value,1.02169012492734e+102,unkn_pdp,1070345514
rra=2
        ds=0:   value,1.17523461122243e+265,unkn_pdp,1072381869
rra=3
        ds=0:   value,2.20163026591953e-257,unkn_pdp,1070307331
rra=4
        ds=0:   value,-664006783.319854,unkn_pdp,1075773911
rra=5
        ds=0:   value,2.20163026574289e-257,unkn_pdp,1070307331

RRA ptrs
 0: 1067558565
 1: 255
 2: 541
 3: 584
 4: 584
 5: 48

Current values
 0:

Metadata:
----------------------------------

'rrdtool dump' output on the same rrd looks fine. Anyone know why?

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.