Re: grapher
Cricket <[email protected]> Fri, 27 Jul 2007 12:02:10 -0300
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <[email protected]> |
during the installation I created following directories, in /usr/lib/cricket config cricket cricket-data public_html and here is cricket-conf.pl entries : $gCricketHome = "/usr/lib/cricket"; $gInstallRoot = "$gCricketHome/cricket"; $gConfigRoot = "$gCricketHome/config"; now I am thinking may be grapher.cgi is not able to find the rrd files and that is the reason png files can not be created in /tmp/cricket-cache/ do you think I should change any thing in grapher.cgi ? Thanks Cricket wrote: > Thank you Colin/Benjamin, > > Really appreciate your response. > did chmod 777 but still the same problem. > > [root@~]# ls -lad /tmp/cricket-cache/ > drwxrwxrwx 2 cricket cricket 4096 Jul 25 15:47 /tmp/cricket-cache/ > > in log files, I see that there is two systemperf/ in url, is it the > problem, or it should be this way. > > [Thu Jul 26 15:58:07 2007] [error] [client 192.168.1.20] [26-Jul-2007 > 15:58:07*] No graph to make?, referer: > http://192.168.1.20/cricket/grapher.cgi/systemperf/systemperf/hr_sys?view=Processes > > 192.168.1.20 - - [26/Jul/2007:15:58:07 -0300] "GET > /cricket/mini-graph.cgi/systemperf/systemperf/hr_sys?type=png;range=151200;rand=201 > HTTP/1.1" 200 54 > "http://192.168.1.20/cricket/grapher.cgi/systemperf/systemperf/hr_sys?view=Processes" > "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070509 > SeaMonkey/1.1.2" > > Colin Dearborn wrote: > >> You might want to check to make sure your httpd user has write access to >> /tmp/cricket-cache. >> To test a permissions problem, you can "chmod -R 777 /tmp/cricket-cache" >> and try viewing your graphs. If it works, you'll need to adjust your >> permissions properly (leaving it as 777 (wide open to everyone) is not >> recommended in any way.) >> >> You could also just remove the cricket-cache directory, and the grapher >> will try to create it by itself (with the correct permissions). >> >> >> >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of >> Cricket >> Sent: Thursday, July 26, 2007 10:23 AM >> To: Cricket >> Cc: Cricket user >> Subject: Re: [cricket-users] grapher >> >> Hello >> >> Would you please help , >> grapher.cgi is not producing any graph. >> it says : Current values not available >> if it was saying not compatible architecture I would apply the patch >> but no other error is printing. >> >> below is the error message from httpd log files. >> >> Thanks >> >> Cricket wrote: >> >> >>> I forgot to mention about another error that shows up in httpd error >>> log file. >>> >>> [Wed Jul 25 17:32:09 2007] [error] [client 192.168.1.20] [25-Jul-2007 >>> 17:32:09*] 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?vie >> w=Processes >> >> >>> no file is created in /tmp/cricket-cache/ >>> >>> thanks >>> Cricket wrote: >>> >>> >>>> Hello >>>> >>>> I have installed cricket rpm and every thing seems good, >>>> I can compile run collector with no error, but no graph. >>>> only systemperf subtree is exist. >>>> >>>> when I go to >>>> http://192.168.1.20/cricket/grapher.cgi and click on systemperf >>>> following >>>> error will showup in http error logs: >>>> >>>> [Thu Jul 26 09:14:01 2007] [error] [client 192.168.1.20] Use of >>>> uninitialized value in subroutine entry at >>>> /usr/lib/cricket/cricket/www/cgi/grapher.cgi line 254., referer: >>>> http://192.168.1.20/cricket/grapher.cgi/systemperf >>>> >>>> line 254 is >>>> >>>> my($md5) = new Digest::MD5; >>>> $md5->add($targRef->{'auto-target-name'}); >>>> >>>> >>>> Thanks for help >>>> >>>> >>>> >>>> >>>> >>>> >>>> >> ------------------------------------------------------------------------ >> - >> >> >>>> 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/ >> _______________________________________________ >> 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/ > _______________________________________________ > 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/