Stats Package Installation

RT Newbie:

I installed RT 3 days ago and it seems to work so far, basically.

I see there is a stats package by one nice guy here but I can’t find
a HOWTO on integrating it into my installation.

http://users.ox.ac.uk/~simon/stats.tar.gz

Kindly point me to a how to.

Much thanks

-Wash

Odhiambo Washington wash@wananchi.com "The box said 'Requires
Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,'
Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD."
GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :slight_smile:

November, n.:
The eleventh twelfth of a weariness.
– Ambrose Bierce, “The Devil’s Dictionary”

a message of 33 lines which said:

I see there is a stats package by one nice guy here but I can’t find
a HOWTO on integrating it into my installation.

http://users.ox.ac.uk/~simon/stats.tar.gz

Copying the Statistics directory to ${RT}/WebRT/html where RT is where
you installed RT should be sufficient. Although you’re right that an
HOWTO could be useful (for things like graphics which does not work
here).

Copying the Statistics directory to ${RT}/WebRT/html where RT is where
you installed RT should be sufficient. Although you’re right that an
HOWTO could be useful (for things like graphics which does not work
here).

Simon,

What/where is ‘chart’, referenced by $url?

CallsMultiqueue.html:% my $url = ‘https://rt.oucs.ox.ac.uk/chart?type=lines&x_labels=[’;
CallsQueueDay.html:% my $url = $RT::WebURL.’/chart?type=lines&x_labels=[’;
DayOfWeek.html:% my $url = $RT::WebURL.’/chart?type=bars&x_labels=[’;
Resolution.html:% my $url = $RT::WebURL.’/chart?type=lines&x_labels=[’;
TimeToResolve.html:% my $url = $RT::WebURL.’/chart?type=points&x_labels=[’;

#1 returns a 0x0 image. There was no ‘chart’ in the tarball, so of course
the rest don’t do anything.

Jason

Jason Englander:

What/where is ‘chart’, referenced by $url?

It’s the handler you install when you install Apache::GD::Graph. I’ve
had a load of email asking me how to install Apache::GD::Graph, which
is really depressing since this is a third-party module that I didn’t
write, don’t maintain, and has nothing to do with the statistics package
other than the fact that the statistics thing makes use of it.

“There is no statute of limitations on stupidity.”
– Randomly produced by a computer program called Markov3.

You need somethin like this in your httpd.conf so urls that point to
/chart will be handled by Apache::GD::Graph

PerlFreshRestart On

PerlModule Apache::DBI
PerlRequire /usr/local/rt/2.0.11/bin/webmux.pl
SetHandler perl-script
PerlHandler RT::Mason

<Location /chart>
SetHandler perl-script
PerlHandler +Apache::GD::Graph

Simon Cozens wrote:

Jason Englander:

What/where is ‘chart’, referenced by $url?

It’s the handler you install when you install Apache::GD::Graph. I’ve
had a load of email asking me how to install Apache::GD::Graph, which
is really depressing since this is a third-party module that I didn’t
write, don’t maintain, and has nothing to do with the statistics package
other than the fact that the statistics thing makes use of it.

Michael Thompson +353 1 291 1710
RF IC Design Engineer +353 1 676 3199
Silicon & Software Systems

And I believe (though someone please correct me if I’m wrong) that you’ll
need to be using mod_perl (rather than fastcgi) to use Apache::GD::Graph
(or most/any of the Apache::* modules, right?).

Marc Hedlund
e: marc at precipice dot orgOn Thu, 21 Mar 2002, Michael Thompson wrote:

You need somethin like this in your httpd.conf so urls that point to
/chart will be handled by Apache::GD::Graph

PerlFreshRestart On

PerlModule Apache::DBI
PerlRequire /usr/local/rt/2.0.11/bin/webmux.pl
SetHandler perl-script
PerlHandler RT::Mason

<Location /chart>
SetHandler perl-script
PerlHandler +Apache::GD::Graph

Simon Cozens wrote:

Jason Englander:

What/where is ‘chart’, referenced by $url?

It’s the handler you install when you install Apache::GD::Graph. I’ve
had a load of email asking me how to install Apache::GD::Graph, which
is really depressing since this is a third-party module that I didn’t
write, don’t maintain, and has nothing to do with the statistics package
other than the fact that the statistics thing makes use of it.


Michael Thompson +353 1 291 1710
RF IC Design Engineer +353 1 676 3199
Silicon & Software Systems


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

It’s the handler you install when you install Apache::GD::Graph. I’ve

Sorry for the bother. I did it the lazy CPAN way and didn’t RTFM.

Thanks,

Jason

Still tho in the howto (or lack of howto) it doesnt mention that you have to
install Apache::GD::Graph… it just referenced /chart which doesnt mean a
heck of a lot to a lot of people, and they (me included) wonder why their
charts are just broken images. basically you can just install it (from cpan
for instance) then use perldoc Apache::GD::Graph to read the configuration
to add to your httpd.conf

just a note tho… in all the html files (contained in stats.tar.gz) you may
have to edit the
line from

% my $url = $RT::WebURL.’/chart?type=points&x_labels=[’;

to be

% my $url = ‘/chart?type=points&x_labels=[’;

if you dont modify the config that you get from perldoc Apache::GD::GraphFrom: Simon Cozens [mailto:rt@netthink.co.uk]
Sent: Thursday, March 21, 2002 9:30 AM
To: rt-users@lists.fsck.com
Subject: Re: [rt-users] Stats Package Installation

Jason Englander:

What/where is ‘chart’, referenced by $url?

It’s the handler you install when you install Apache::GD::Graph. I’ve
had a load of email asking me how to install Apache::GD::Graph, which
is really depressing since this is a third-party module that I didn’t
write, don’t maintain, and has nothing to do with the statistics package
other than the fact that the statistics thing makes use of it.

“There is no statute of limitations on stupidity.”
– Randomly produced by a computer program called Markov3.

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

The original announcement,

http://lists.fsck.com/pipermail/rt-users/2002-February/006825.html
http://lists.fsck.com/pipermail/rt-users/2002-February/006825.html

and the majority of the original thread mentioned the requirement
for Apache::GD::Graph and attendent problems/workarounds/solutions.From: Jeff Mottishaw [mailto:jmottishaw@voyus.com]
Sent: Thursday, March 21, 2002 11:59 AM
To: ‘Simon Cozens’; rt-users@lists.fsck.com
Subject: RE: [rt-users] Stats Package Installation

Still tho in the howto (or lack of howto) it doesnt mention that you have to
install Apache::GD::Graph… it just referenced /chart which doesnt mean a
heck of a lot to a lot of people, and they (me included) wonder why their
charts are just broken images. basically you can just install it (from cpan
for instance) then use perldoc Apache::GD::Graph to read the configuration
to add to your httpd.conf

just a note tho… in all the html files (contained in stats.tar.gz) you may
have to edit the
line from

% my $url = $RT::WebURL.’/chart?type=points&x_labels=[’;

to be

% my $url = ‘/chart?type=points&x_labels=[’;

if you dont modify the config that you get from perldoc Apache::GD::Graph

From: Simon Cozens [ mailto:rt@netthink.co.uk mailto:rt@netthink.co.uk ]
Sent: Thursday, March 21, 2002 9:30 AM
To: rt-users@lists.fsck.com
Subject: Re: [rt-users] Stats Package Installation

Jason Englander:

What/where is ‘chart’, referenced by $url?

It’s the handler you install when you install Apache::GD::Graph. I’ve
had a load of email asking me how to install Apache::GD::Graph, which
is really depressing since this is a third-party module that I didn’t
write, don’t maintain, and has nothing to do with the statistics package
other than the fact that the statistics thing makes use of it.

“There is no statute of limitations on stupidity.”
– Randomly produced by a computer program called Markov3.

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users
http://lists.fsck.com/mailman/listinfo/rt-users

FYI. There is a hardcoded url in Statistics/CallsMultiqueue.html wich gets
its graph from https://rt.oucs.ox.ac.uk/chart

/OliOn Thu, 21 Mar 2002, Jeff Mottishaw wrote:

Still tho in the howto (or lack of howto) it doesnt mention that you have to
install Apache::GD::Graph… it just referenced /chart which doesnt mean a
heck of a lot to a lot of people, and they (me included) wonder why their
charts are just broken images. basically you can just install it (from cpan
for instance) then use perldoc Apache::GD::Graph to read the configuration
to add to your httpd.conf

just a note tho… in all the html files (contained in stats.tar.gz) you may
have to edit the
line from

% my $url = $RT::WebURL.’/chart?type=points&x_labels=[’;

to be

% my $url = ‘/chart?type=points&x_labels=[’;

if you dont modify the config that you get from perldoc Apache::GD::Graph

-----Original Message-----
From: Simon Cozens [mailto:rt@netthink.co.uk]
Sent: Thursday, March 21, 2002 9:30 AM
To: rt-users@lists.fsck.com
Subject: Re: [rt-users] Stats Package Installation

Jason Englander:

What/where is ‘chart’, referenced by $url?

It’s the handler you install when you install Apache::GD::Graph. I’ve
had a load of email asking me how to install Apache::GD::Graph, which
is really depressing since this is a third-party module that I didn’t
write, don’t maintain, and has nothing to do with the statistics package
other than the fact that the statistics thing makes use of it.


“There is no statute of limitations on stupidity.”
– Randomly produced by a computer program called Markov3.


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Olafur Osvaldsson
Systems Administrator
Internet a Islandi hf.
Tel: +354 525-5291
Email: oli@isnic.is

did any screenshots ever come out of these discussions?

if anyone has any, or has the stats package installed and can take a few,
i (and others) would be muchly appreciative.

–matt

The original announcement,

http://lists.fsck.com/pipermail/rt-users/2002-February/006825.html
http://lists.fsck.com/pipermail/rt-users/2002-February/006825.html

and the majority of the original thread mentioned the requirement
for Apache::GD::Graph and attendent problems/workarounds/solutions.

I can’t get this Apache::GD::Graph to install on FreeBSD-4.5. Do you have
any ideas (known issues) with it currently??

-Wash

Odhiambo Washington wash@wananchi.com "The box said 'Requires
Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,'
Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD."
GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :slight_smile:

“I don’t have any solution but I certainly admire the problem.”
– Ashleigh Brilliant

Hi,
I installed what was in the ports first:

/usr/ports/graphics/p5-GD
/usr/ports/graphics/p5-GD-Graph
/usr/ports/graphics/p5-GD-TextUtil
/usr/ports/graphics/p5-File-Cache

And after that the Apache::GD::Graph compiled and installed fine on my 4.5 box.

/OliOn Fri, 22 Mar 2002, Odhiambo Washington wrote:

The original announcement,

http://lists.fsck.com/pipermail/rt-users/2002-February/006825.html
http://lists.fsck.com/pipermail/rt-users/2002-February/006825.html

and the majority of the original thread mentioned the requirement
for Apache::GD::Graph and attendent problems/workarounds/solutions.

I can’t get this Apache::GD::Graph to install on FreeBSD-4.5. Do you have
any ideas (known issues) with it currently??

-Wash


Odhiambo Washington wash@wananchi.com "The box said 'Requires
Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,'
Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD."
GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :slight_smile:

++
“I don’t have any solution but I certainly admire the problem.”
– Ashleigh Brilliant


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Olafur Osvaldsson
Systems Administrator
Internet a Islandi hf.
Tel: +354 525-5291
Email: oli@isnic.is

did any screenshots ever come out of these discussions?

http://rt.wananchi.com/chart?type=lines&data1=[10,50,20]&dclrs=[red,yellow,pink]
http://rt.wananchi.com/chart?type=pie&data1=[10,50,20]&title_fon=(arialdb.ttf,20)
http://rt.wananchi.com/chart?type=pie&data1=[10,50,20]&dclrs=[orange,purple,red]

I am not sure anyone will access that without a username/passwd but I must say
so far those images are meaningless to me bacause they show me no legends. I’m
still digging to see how I can get charts relevant to the queues that I have.

if anyone has any, or has the stats package installed and can take a few,
i (and others) would be muchly appreciative.

I’d wish to be helped also :wink:

-Wash

Odhiambo Washington wash@wananchi.com "The box said 'Requires
Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,'
Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD."
GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :slight_smile:

If God didn’t mean for us to juggle, tennis balls wouldn’t come three
to a can.