Re: [cricket-users] Digest Number 137

From: David Rhodes (drhodes@deakin.edu.au)
Date: Sun Sep 26 1999 - 16:10:44 PDT


From: David Rhodes <drhodes@deakin.edu.au>

Had a similar problem. If you examine the file grapher, the -a flag refers to arguments passed into rrdtool.
Removing the @fmt to use the default format (gif) fixed the problem for me. (If you want png you can hardcode this somewhere I guess).

i.e.
# DR: modification here. Removed -a flag from args as RRDs doesn't want it!!! :)
# my(@args) = ($imageName, @fmt, @rigid, @interlaced,
        my(@args) = ($imageName, @rigid, @interlaced,

I'd be interested in comments on this as you are the first I have heard having this problem apart from myself.

Cheers

David

> >
> > Hi everyone
> >
> > I have just upgraded to RRD 1.0.7 and Cricket 0.70 and have a problem with the graphs being created (doesn't seem to matter if they are GIF or PNG). For some reason grapher is complaining about generating the graphs with the following as output if you right click on the graphic and choose to view it:
> >
> > /tmp/cricket-cache/cricket-c512ca3f.png[13-Sep-1999 16:58:35*] Could not open /tmp/cricket-cache/cricket-c512ca3f.png: No such file or directory
> > Content-Type: image/gif GIF87aš ]
> >
> > The directory /tmp/cricket-cache exists and I have migrated my existing cricket-config and cricket-data files which were working with 0.69 to the new version of cricket. I'm running Solaris 2.6 and have all the perl modules installed but did not update any when I upgraded from 0.69 to 0.70 (do I need to?).
>
> I'm having a similar problem. I'm running RRD 1.0.7, and Cricket 0.70.
>
> [25-Sep-1999 10:12:56 ] RRDs::graph /tmp/cricket-cache/cricket-9d39d974.gif -a GIF --base 1000 --start -151200 --vertical-label --width 500 --height 200 DEF:ds0=/usr/home/cricket/cricket-config/../cricket-datta//web-server/happydevil.com.rrd:ds0:AVERAGE DEF:ds1=/usr/home/cricket/cricket-config/../cricket-data//web-server/happydevil.com.rrd:ds1:AVERAGE LINE1:ds0#00cc00:Hits to happydevil.com LINE1:ds1#0000ff:Server errors VRULE:938242800#ff0000: VRULE:938156400#ff0000:
> [25-Sep-1999 10:12:56*] Unable to create graph: unknown option '-a'
>
> [25-Sep-1999 10:12:56*] Could not open /tmp/cricket-cache/cricket-9d39d974.gif: No such file or directory
>
> I've tried every version of RRD and can't get past this error. I've tried using
> both GIF and PNG.
>
> Any ideas?
>
> --
> ._____
> _-_ ____//_/___\_.-=___ Adam Meltzer / KF6PDH
> _-_-_ / ,-. |` / .-. \ WebTV Tools Engineer
> - - _- `( * )--+--+--( o )-' ameltzer@corp.webtv.net
> - `-' `-' Voice: 650-470-4828 Cell: 650-280-6402
>
> _______________________________________________________________________________
> _______________________________________________________________________________

--

David Rhodes Network Operations Center Co-ordinator Information Technology Services Deakin University

____________________________________________________________________ Important Notice: The contents of this email transmission, including attachments, may be privileged and confidential. Any unauthorised use of the contents is expressly prohibited. If you have received this transmission in error, please advise the sender by return email or telephone immediately and destroy all versions.

--------------------------- ONElist Sponsor ----------------------------

??? Computer Questions ==> Free Answers From Live Experts ! ! ! go to EXPERTCITY.COM <a href=" http://clickme.onelist.com/ad/expertcity5 ">Click Here</a>

------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:01:02 PST