Recently installed Version 1.3.8 and have been trying to make a Perl script
wrritten by Brian Lane (Digitemp) from what I have been able to determine the
scripts hangs up on the line containing:
$answer=RRDp::read;
# Output a HTML header for the PNG image to follow
print $cgi->header('image/png');
# Generate the graph
RRDp::cmd "graphv - --imgformat PNG",
"--start '$starttime' --end '$endtime'",
"--width $width --height $height",
"DEF:temp_c=$rrd:$var:AVERAGE",
"CDEF:temp_f=temp_c,9,*,5,/,32,+",
"LINE1:temp_f$color:'$label'";
$answer=RRDp::read;
print $$answer;
RRDp::end;
After reading rrd tutiorial I wrote a shorten bash script which works fine
which tells me my RRD datafile is fine. Is there a bug and/or do I have
installation issue??
Mark
_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users