Re: cricket graphs question
Hurgh <[email protected]>
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, Thanks for the info, I had checked in the logs and there is a bit of stuff, I am just not sure how to decipher it all.... Here is what comes up when opening a page with one graph, and the graph just returns the "Cannot draw" image: [Fri Apr 28 09:25:47 2006] [error] [client 203.89.224.44] Use of uninitialized value in pack at /export/home/cricket/cricket/lib/RRD/Format.pm line 189., referer: http://smgnet03/?target=%2Finternal%2Fswitches%2Fnetbackupsw%2Ffastethernet0_10;view=Octets [Fri Apr 28 09:25:47 2006] [error] [client 203.89.224.44] Use of uninitialized value in pack at /export/home/cricket/cricket/lib/RRD/Format.pm line 189., referer: http://smgnet03/?target=%2Finternal%2Fswitches%2Fnetbackupsw%2Ffastethernet0_10;view=Octets [Fri Apr 28 09:25:47 2006] [error] [client 203.89.224.44] [28-Apr-2006 09:25:47*] Unable to create graph: Garbage ':25:16 2006' after command:, referer: http://smgnet03/?target=%2Finternal%2Fswitches%2Fnetbackupsw%2Ffastethernet0_10;view=Octets;ranges=d [Fri Apr 28 09:25:47 2006] [error] [client 203.89.224.44] COMMENT:Last updated at Fri Apr 28 09:25:16 2006, referer: http://smgnet03/?target=%2Finternal%2Fswitches%2Fnetbackupsw%2Ffastethernet0_10;view=Octets;ranges=d [Fri Apr 28 09:25:47 2006] [error] [client 203.89.224.44] , referer: http://smgnet03/?target=%2Finternal%2Fswitches%2Fnetbackupsw%2Ffastethernet0_10;view=Octets;ranges=d [Fri Apr 28 09:25:47 2006] [error] [client 203.89.224.44] [28-Apr-2006 09:25:47*] rrd graph: /tmp/cricket-cache/cricket-0b002c55.png -a PNG -r -l 0 --base 1000 -t UplinkToHCL-VicRoads -c SHADEB#000000 -c CANVAS#FFFF99 --start -151200 --vertical-label bits per second --width 500 --height 200 DEF:mx0=/export/home/cricket/cricket-config/../cricket-data//internal/switches/netbackupsw/fastethernet0_10.rrd:ds0:MAX DEF:ds0=/export/home/cricket/cricket-config/../cricket-data//internal/switches/netbackupsw/fastethernet0_10.rrd:ds0:AVERAGE DEF:mx1=/export/home/cricket/cricket-config/../cricket-data//internal/switches/netbackupsw/fastethernet0_10.rrd:ds1:MAX DEF:ds1=/export/home/cricket/cricket-config/../cricket-data//internal/switches/netbackupsw/fastethernet0_10.rrd:ds1:AVERAGE CDEF:smx0=mx0,8,* CDEF:sds0=ds0,8,* CDEF:smx1=mx1,8,* CDEF:sds1=ds1,8,* LINE1:smx0#408080:Max Average bits in AREA:sds0#00cc00:Average bits in LINE1:smx1#ff00ff:Max Average bits out LINE1:sds1#0000ff:Average bits out VRULE:1146146400#ff0000: VRULE:1146060000#ff0000: COMMENT:\\s COMMENT:\\s --title FastEthernet0/10 GPRINT:smx0:LAST:Average bits in Last\\: %8.1lf%S GPRINT:smx0:AVERAGE:Avg\\: %8.1lf%S GPRINT:smx0:MIN:Min\\: %8.1lf%s GPRINT:smx0:MAX:Max\\: %8.1lf%s\\l GPRINT:smx1:LAST:Average bits out Last\\: %8.1lf%S GPRINT:smx1:AVERAGE:Avg\\: %8.1lf%S GPRINT:smx1:MIN:Min\\: %8.1lf%s GPRINT:smx1:MAX:Max\\: %8.1lf%s\\l COMMENT:\\s COMMENT:Last updated at Fri Apr 28 09:25:16 2006, referer: http://smgnet03/?target=%2Finternal%2Fswitches%2Fnetbackupsw%2Ffastethernet0_10;view=Octets;ranges=d [Fri Apr 28 09:25:47 2006] [error] [client 203.89.224.44] , referer: http://smgnet03/?target=%2Finternal%2Fswitches%2Fnetbackupsw%2Ffastethernet0_10;view=Octets;ranges=d [Fri Apr 28 09:25:47 2006] [error] [client 203.89.224.44] [28-Apr-2006 09:25:47*] Could not open /tmp/cricket-cache/cricket-0b002c55.png: No such file or directory, referer: http://smgnet03/?target=%2Finternal%2Fswitches%2Fnetbackupsw%2Ffastethernet0_10;view=Octets;ranges=d If anyone could help me out that would be great. Thanks -Hurgh- On 4/27/06, Kovács György <[email protected]> wrote: > > Hi, > > I think there are not special dependencies. Check > in /var/log/httpd/error_log the grapher.cgi errors. > > Gyorgy > > ------------------------------ > *From:* Hurgh [mailto:[email protected]] > *Sent:* Thursday, April 27, 2006 3:51 AM > *To:* Kovács György > *Cc:* Fratzeskos Filipp...; [email protected] > *Subject:* Re: [cricket-users] cricket graphs question > > Hi, > > I was just looking for this same thing so thanks for the answer. > I just tried it, and when i put use-gprint = true, the graphs do not draw, > but when i comment it out, the graphs draw fine (without the extra info). > > Is there a dependency that I am missing? > > Thanks > > -Hurgh- > > On 4/26/06, Kovács György <[email protected] > wrote: > > > > > > Hi, > > > > In cricket-config/Defaults set > > > > graph --default-- > > use-gprint = true > > > > > -----Original Message----- > > > From: [email protected] > > > [mailto: [email protected]] On Behalf > > > Of Fratzeskos Filipp... > > > Sent: Wednesday, April 26, 2006 9:47 AM > > > To: [email protected] > > > Subject: [cricket-users] cricket graphs question > > > > > > Hello, > > > I am new to cricket, I used to work on mrtg. > > > The question I have is if I can have on my .png graphs and > > > the information of the Maximum � Average � Current (in > > > and out) value in numbers at the bottom of the image, not > > > only on the top of the page( I find that useless). As it was on mrtg. > > > Sorry for my bad English. I am attaching two screenshots so > > > you can understand what I want. > > > Thanks > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Tired of spam? Yahoo! Mail has the best spam protection > > > around http://mail.yahoo.com > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Tired of spam? Yahoo! Mail has the best spam protection > > > around http://mail.yahoo.com > > > > > > > > > ------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > > security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642 > > <http://sel.as-us.falkag.net/sel?cmdlnk&kid%120709&bid&3057&dat%121642> > > _______________________________________________ > > cricket-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/cricket-users > > > >