Re: grapher

Colin Dearborn <[email protected]> Thu, 26 Jul 2007 11:53:18 -0600
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>
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/