[rt-users] RT Statistics Package

Rich West Rich.West at wesmo.com
Wed Feb 27 20:59:00 EST 2002

I should probably have clarified.. When I said "The installation was 
rather easy", I meant the installation of The Statistics package and 
related modules.  I've had RT up for years.. :)

Also, I realized that the Statistics package IS working properly as it 
generates the appropriate HTML tables, but I do not get any graphical 

I am wondering if someone would have the time to jot down an "idiots 
guide to installing the Statistics package" in which they were able to 
get the graphics to work out properly.  This way most of us could 
probably find that one little step that they missed.. :)

Actually, as I look at it, there seem to be some discrepancies in the 
data.. I mean, on the 5 day chart, it shows all zeros, but when I Hit 
the "Go" button at the bottom, the page updates and the correct 
information is displayed in the table..  Hrmm.. Not sure if this is 
fastcgi related or not...

Oh, and I, too, am seeing the URL references to the chart as:


(where the rt installation is at /rt2 of the website)


Rich West wrote:

> Hrmm.. a thought just hit me.  I'm running with mod_fastcgi.. that 
> might prevent the graphics from being displayed.
> But, still, I would be curious to know if the steps I took should have 
> been sufficient, and if the the error I listed indicated something 
> other than the limitation due to the mod_fastcgi install..
> Thanks!
> -Rich
> Rich West wrote:
>> Just as an FYI, the call to your site is located on line 91 of 
>> CallsMultiqueue.html.  :)
>> I hate to be another person emailing you about this, but hopefully 
>> this is an easy one that you have already hashed out.  The 
>> installation was rather easy, except I do not get the graphs at all 
>> (Apache::GD::Graph and others are installed).
>> I tried, as some have suggested, linking 
>> /usr/lib/perl5/site_perl/<perl_version>/Apache/GD/Graph.pm as 
>> <rtinstalldir>/WebRT/html/chart, and I get the following error:
>> Error during compilation of /usr/rt2/WebRT/html//chart:
>> unknown section <%20> (line 87)
>>     HTML::Mason::Interp::__ANON__('Error during compilation of 
>> /usr/rt2/WebRT/html//chart:^Junknown ...') called at 
>> /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Interp.pm line 418
>> HTML::Mason::Interp::_compilation_error('HTML::Mason::Interp=HASH(0x8b1ea54)', 
>> '/usr/rt2/WebRT/html//chart', 'unknown section <%20> (line 87)^J') 
>> called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Interp.pm line 374
>>     HTML::Mason::Interp::load('HTML::Mason::Interp=HASH(0x8b1ea54)', 
>> '//chart') called at 
>> /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 116
>>     eval {...} called at 
>> /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 116
>> HTML::Mason::Request::exec('HTML::Mason::Request=HASH(0x8f3dc38)', 
>> '//chart', 'x_labels', '[Thu 14,Fri 15,Mon 18,Tue 19,Wed 20]', 
>> 'data1', '[0,0,0,0,0]', 'data2', '[0,0,0,0,0]', ...) called at 
>> /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Interp.pm line 243
>>     HTML::Mason::Interp::exec('HTML::Mason::Interp=HASH(0x8b1ea54)', 
>> '//chart', 'x_labels', '[Thu 14,Fri 15,Mon 18,Tue 19,Wed 20]', 
>> 'data1', '[0,0,0,0,0]', 'data2', '[0,0,0,0,0]', ...) called at 
>> /usr/rt2/bin/mason_handler.fcgi line 199
>>     eval {...} called at /usr/rt2/bin/mason_handler.fcgi line 198
>> Not sure what step I missed here.. any help would be much appreciated!
>> -Rich
>> Simon Cozens wrote:
>>> Attached is a simple statistics package for RT. I'm planning on 
>>> releasing
>>> further versions with more complex data available in the future, but I
>>> think this is cool enough to release for now. Simply drop it into your
>>> RT HTML tree, and go to http://rt/Statistics/
>>> For shiny shiny graphs, you'll need the Apache::GD::Graph module 
>>> installed
>>> as $rturl/graph but if you don't want that, just dike out all the 
>>> lines which
>>> refer to "$url". (This will make the time-to-resolve scatter graph a 
>>> bit
>>> useless, though.)
>>> Thanks to Oxford University Computing Services for letting me 
>>> develop and
>>> distribute this.

Richard West                   $14.95 Registrations      mailto:rwest at wesmo.com
Wesmo Computer Services        .com .net .org .tv .cc    http://www.wesmo.com
Full Domain & Web Hosting      .BIZ .INFO & MORE!!      

More information about the rt-users mailing list