Re: Way to sort RRD like top talkers
Cricket <[email protected]> Fri, 03 Aug 2007 15:41:28 -0300
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Nicolas, I downloaded the tar file and followed the instruction. now I get empty graph with following error: Current values not available: RRD file version 0003 not supported on this arch. I know that I should modify File.pm, but want to make sure what is recommended. here is the related link: http://osdir.com/ml/network.cricket.user/2005-05/msg00033.html Thanks for help Nicolas Royo wrote: > cant figure it out, sorry > i never need a patch for nothing > my tips and experience are installing with apt-get (debian) and in > centos untar´ing the latest release. > where are your rrds being creating? at cricket-data or at > usr/lib/cricket (this is defined in your defaults config file) > the error gif not founding throwing to you i assumed is because you´ve > made a BAD ln > I have never used systemperf, i use cricket to monitor my routers > switches and ups > > maybe you can post where do you get the original install readme guide > from? > ive used this guide without no problem: > http://cricket.sourceforge.net/support/doc/beginner.html > > > > ------------------------------------------------------------------------ > *De:* Cricket [mailto:[email protected]] > *Enviado el:* mar 31/07/2007 0:15 > *Para:* Nicolas Royo > *CC:* [email protected] > *Asunto:* Re: [cricket-users] Way to sort RRD like top talkers > > Hi Nicolas, > > yes , cricket-config.pl is well configured , because I am able to do > compile and run the collector command. > but grapher.cgi shows nothing unless "Current values not available: " > > my directory structure is as follow: > [root@babak cricket]# pwd > /usr/lib/cricket > [root@babak cricket]# ls > config cricket cricket-data public_html sample-config > > > > here is the error_log output, > > line 1500 in grapher.cgi is as follow which I changed it because I saw a > bug fix in internet: > 1495 $lasttime = scalar(localtime(RRDs::last($rrd))); > 1496 > 1497 # use the dslist to create a set of defs/cdefs > 1498 > 1499 my($ds); > 1500 foreach $ds (split(/,/, $dslist)) { > 1501 $ds = lc($ds); > > > > [root@babak cricket]# tail /var/log/httpd/error_log > [Mon Jul 30 23:49:08 2007] [error] [client 192.168.1.246] [30-Jul-2007 > 23:49:08*] No graph to make?, referer: > http://192.168.1.20/cricket/grapher.cgi/systemperf/systemperf/hr_sys?view=Processes > [Mon Jul 30 23:49:08 2007] [error] [client 192.168.1.246] Use of > uninitialized value in localtime at > /usr/lib/cricket/cricket/www/cgi/grapher.cgi line 1495., referer: > http://192.168.1.20/cricket/grapher.cgi/systemperf/systemperf/hr_sys?view=Processes > [Mon Jul 30 23:49:08 2007] [error] [client 192.168.1.246] Use of > uninitialized value in split at > /usr/lib/cricket/cricket/www/cgi/grapher.cgi line 1500., referer: > http://192.168.1.20/cricket/grapher.cgi/systemperf/systemperf/hr_sys?view=Processes > [Mon Jul 30 23:49:08 2007] [error] [client 192.168.1.246] [30-Jul-2007 > 23:49:08*] No graph to make?, referer: > http://192.168.1.20/cricket/grapher.cgi/systemperf/systemperf/hr_sys?view=Processes > [Mon Jul 30 23:49:08 2007] [error] [client 192.168.1.246] [30-Jul-2007 > 23:49:08*] Could not open /tmp/cricket-cache/cricket-a2e4e157.png: No > such file or directory, referer: > http://192.168.1.20/cricket/grapher.cgi/systemperf/systemperf/hr_sys?view=Processes > [Mon Jul 30 23:49:08 2007] [error] [client 192.168.1.246] [30-Jul-2007 > 23:49:08*] Could not open /tmp/cricket-cache/cricket-af258888.png: No > such file or directory, referer: > http://192.168.1.20/cricket/grapher.cgi/systemperf/systemperf/hr_sys?view=Processes > [Mon Jul 30 23:49:08 2007] [error] [client 192.168.1.246] [30-Jul-2007 > 23:49:08*] Could not open images/failed.gif: No such file or directory, > referer: > http://192.168.1.20/cricket/grapher.cgi/systemperf/systemperf/hr_sys?view=Processes > [Mon Jul 30 23:49:08 2007] [error] [client 192.168.1.246] [30-Jul-2007 > 23:49:08*] Could not send failure gif: No such file or directory, > referer: > http://192.168.1.20/cricket/grapher.cgi/systemperf/systemperf/hr_sys?view=Processes > [Mon Jul 30 23:49:08 2007] [error] [client 192.168.1.246] [30-Jul-2007 > 23:49:08*] Could not open images/failed.gif: No such file or directory, > referer: > http://192.168.1.20/cricket/grapher.cgi/systemperf/systemperf/hr_sys?view=Processes > [Mon Jul 30 23:49:08 2007] [error] [client 192.168.1.246] [30-Jul-2007 > 23:49:08*] Could not send failure gif: No such file or directory, > referer: > http://192.168.1.20/cricket/grapher.cgi/systemperf/systemperf/hr_sys?view=Processes > > > Nicolas Royo wrote: > > Hi there, > > > > so you are using red hat? > > where are your config, bin and cgi files stored? > > what error you are receiving when you use grapher.cgi? > > have you tried making "tail /var/log/apache/errors.log"? > > is your cricket-config.pl well configured? > > > > regards > > Nicolas > > > > > > ------------------------------------------------------------------------ > > *De:* Cricket [mailto:[email protected]] > > *Enviado el:* lun 30/07/2007 21:34 > > *Para:* Nicolas Royo > > *CC:* [email protected] > > *Asunto:* Re: [cricket-users] Way to sort RRD like top talkers > > > > Hi Nicolas, > > > > may I ask if you had any difficulty installing cricket ? > > I installed the rpm and had a lot of problem regarding directory > > structure. > > now every thing works unless grapher.cgi and I think it should be a > > directory structure > > problem as it is trying to read rrd directory but it can not. > > > > > > any tip ? > > > > Thanks > > > > Nicolas Royo wrote: > > > Has anyone find a way for the grapher.cgi to sort targets according > > traffic? > > > > > > > > > > > > I´m struggling with toptalkers from contrib files, but cant get it > > to work! > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > _______________________________________________ > > > cricket-users mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/cricket-users > > > > > > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/