Re: Way to sort RRD like top talkers

Cricket <[email protected]> Tue, 31 Jul 2007 00:15:03 -0300
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>
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/