Contrib/Statistics3?

Is anyone using Statistics wirh RT 3 (specifically 3.0.0.8)? I just
added it to my install and am seeing a couple of strange things. I added
a bunch of tickets and closed one, just so I could see how it works, and
I noticed that wherever it displays the dates (say Requests by multiple
queues per day), it’s displaying the stats for today as “Fri 2” (Mon 5
doesn’t appear in the table). Also, none of the graphics seem to get
generated. I installed GD::Graph from CPAN (had to get an updated libgd
to make it work), and ran it’s samples, they all seem fine, but I just
get the little red x for the graphs in the stats package. No errors in
the RT or apache log files…

Kelly F. Hickel
Senior Software Architect
MQSoftware, Inc
952.345.8677
kfh@mqsoftware.com

Is anyone using Statistics wirh RT 3 (specifically 3.0.0.8)?

I haven’t had any luck with Statistics yet. I’m running 3.0.6 here and I
thought I’d found the latest version of the Statistics package. I installed
it according to the directions, but I get a 404 and “The requested URL
/Statistics/index.html was not found on this server.”

I didn’t have much more luck with RTFM. Again, I followed the directions
exactly, but I don’t see any RTFM link at all. I’m puzzled. BTW, I’m running
this on Debian (testing) with Postgres.

I’d love to hear any suggestions.

-Tim

Timothy Wilson
Technology Integration Specialist
Hopkins ISD #270, Hopkins, MN, USA
ph: 952.988.4103 fax: 952.988.4311 AIM: tis270

Well, I’m on redhat 9, and I unpacked into
/opt/rt3/local/html/Statistics, and I didn’t have a problem with it not
being found. Same with RTFM. They both should show up in the blue bar
on the right of the RT pages.

-Kelly

-----Original Message-----
From: Tim Wilson [mailto:tim_wilson@hopkins.k12.mn.us]
Sent: Monday, January 05, 2004 5:30 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Contrib/Statistics3?

Is anyone using Statistics wirh RT 3 (specifically 3.0.0.8)?

I haven’t had any luck with Statistics yet. I’m running 3.0.6 here and
I
thought I’d found the latest version of the Statistics package. I
installed
it according to the directions, but I get a 404 and “The requested URL
/Statistics/index.html was not found on this server.”

I didn’t have much more luck with RTFM. Again, I followed the
directions
exactly, but I don’t see any RTFM link at all. I’m puzzled. BTW, I’m
running
this on Debian (testing) with Postgres.

I’d love to hear any suggestions.

-Tim


Timothy Wilson
Technology Integration Specialist
Hopkins ISD #270, Hopkins, MN, USA
ph: 952.988.4103 fax: 952.988.4311 AIM: tis270


rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

Have you read the FAQ? The RT FAQ Manager lives at
http://fsck.com/rtfm

Statistics shows up on my blue bar as well (when unpacked into
/opt/rt3/local/html/) however a 404 is generated when attempting to
access it.

Error logs show:
[Mon Jan 05 17:20:38 2004] [error] [client xxx.xxx.xxx.xxx] File does
not exist: /opt/rt3/share/html/Statistics, referer: xxxxxxxxxxxxxxxxx

So rt3 is looking at the /local/ dir, but apache isn’t. Is there a
config line that needs to be added to httpd.conf? (or maybe a modperl
include that isn’t being read)

Other then that - a happy rt3 user here.

Garrett ScottFrom: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Kelly F.
Hickel
Sent: Monday, January 05, 2004 4:40 PM
To: Tim Wilson; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] Contrib/Statistics3?

Well, I’m on redhat 9, and I unpacked into
/opt/rt3/local/html/Statistics, and I didn’t have a problem with it not
being found. Same with RTFM. They both should show up in the blue bar
on the right of the RT pages.

-Kelly

-----Original Message-----
From: Tim Wilson [mailto:tim_wilson@hopkins.k12.mn.us]
Sent: Monday, January 05, 2004 5:30 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Contrib/Statistics3?

Is anyone using Statistics wirh RT 3 (specifically 3.0.0.8)?

I haven’t had any luck with Statistics yet. I’m running 3.0.6 here and
I
thought I’d found the latest version of the Statistics package. I
installed
it according to the directions, but I get a 404 and “The requested URL
/Statistics/index.html was not found on this server.”

I didn’t have much more luck with RTFM. Again, I followed the
directions
exactly, but I don’t see any RTFM link at all. I’m puzzled. BTW, I’m
running
this on Debian (testing) with Postgres.

I’d love to hear any suggestions.

-Tim


Timothy Wilson
Technology Integration Specialist
Hopkins ISD #270, Hopkins, MN, USA
ph: 952.988.4103 fax: 952.988.4311 AIM: tis270


rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

Have you read the FAQ? The RT FAQ Manager lives at
http://fsck.com/rtfm
rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

First try pointing your browser directly to /Statistics/index.html

I had to load it directly once, then it started working. You also might try restarting apache.

-KellyFrom: Garrett Scott [mailto:garrett@gothik.org]
Sent: Mon 1/5/2004 7:12 PM
To: Kelly F. Hickel; ‘Tim Wilson’; rt-users@lists.bestpractical.com
Cc:
Subject: RE: [rt-users] Contrib/Statistics3?

Statistics shows up on my blue bar as well (when unpacked into 
/opt/rt3/local/html/)  however a 404 is generated when attempting to 
access it. 

Error logs show: 
[Mon Jan 05 17:20:38 2004] [error] [client xxx.xxx.xxx.xxx] File does 
not exist: /opt/rt3/share/html/Statistics, referer: xxxxxxxxxxxxxxxxx 

So rt3 is looking at the /local/ dir, but apache isn't.  Is there a 
config line that needs to be added to httpd.conf? (or maybe a modperl 
include that isn't being read) 

Other then that - a happy rt3 user here. 

Garrett Scott 



From: rt-users-bounces@lists.bestpractical.com 
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Kelly F. 
Hickel 
Sent: Monday, January 05, 2004 4:40 PM 
To: Tim Wilson; rt-users@lists.bestpractical.com 
Subject: RE: [rt-users] Contrib/Statistics3? 

Well, I'm on redhat 9, and I unpacked into 
/opt/rt3/local/html/Statistics, and I didn't have a problem with it not 
being found.  Same with RTFM.  They both should show up in the blue bar 
on the right of the RT pages. 

-Kelly 

> -----Original Message----- 
> From: Tim Wilson [mailto:tim_wilson@hopkins.k12.mn.us] 
> Sent: Monday, January 05, 2004 5:30 PM 
> To: rt-users@lists.bestpractical.com 
> Subject: Re: [rt-users] Contrib/Statistics3? 
> 

> 
> > Is anyone using Statistics wirh RT 3 (specifically 3.0.0.8)? 
> 
> I haven't had any luck with Statistics yet. I'm running 3.0.6 here and 
I 
> thought I'd found the latest version of the Statistics package. I 
> installed 
> it according to the directions, but I get a 404 and "The requested URL 
> /Statistics/index.html was not found on this server." 
> 
> I didn't have much more luck with RTFM. Again, I followed the 
directions 
> exactly, but I don't see any RTFM link at all. I'm puzzled. BTW, I'm 
> running 
> this on Debian (testing) with Postgres. 
> 
> I'd love to hear any suggestions. 
> 
> -Tim 
> 
> -- 
> Timothy Wilson 
> Technology Integration Specialist 
> Hopkins ISD #270, Hopkins, MN, USA 
> ph: 952.988.4103  fax: 952.988.4311  AIM: tis270 
> 
> _______________________________________________ 
> rt-users mailing list 
> rt-users@lists.bestpractical.com 
> http://lists.bestpractical.com/mailman/listinfo/rt-users 
> 
> Have you read the FAQ? The RT FAQ Manager lives at 
http://fsck.com/rtfm 
rt-users mailing list 
rt-users@lists.bestpractical.com 
http://lists.bestpractical.com/mailman/listinfo/rt-users 

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Fixed. Apparently the README install docs, changed over the course of
rt3 development. =)

Below is what I HAD (new version is in the readme). Amazing what rtfm
will do:

    # ServerName xxx.xxx.xxx.xxx
    # DocumentRoot /opt/rt3/share/html
    # AddDefaultCharset UTF-8
    # # this line applies to Apache2+mod_perl2 only
    # PerlModule Apache2 Apache::compat
    # PerlModule Apache::DBI
    # PerlRequire /opt/rt3/bin/webmux.pl
# <FilesMatch "\.html$">
    # SetHandler perl-script
    # PerlHandler RT::Mason
# </FilesMatch>
# <LocationMatch "/Attachment/">
    # SetHandler perl-script
    # PerlHandler RT::Mason
# </LocationMatch>
# <LocationMatch "/REST/">
    # SetHandler perl-script
    # PerlHandler RT::Mason
# </LocationMatch>

Garrett ScottFrom: Kelly F. Hickel [mailto:kfh@mqsoftware.com]
Sent: Monday, January 05, 2004 5:22 PM
To: Garrett Scott; Tim Wilson; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] Contrib/Statistics3?

First try pointing your browser directly to /Statistics/index.html

I had to load it directly once, then it started working. You also might
try restarting apache.

-Kelly

From: Garrett Scott [mailto:garrett@gothik.org] 
Sent: Mon 1/5/2004 7:12 PM 
To: Kelly F. Hickel; 'Tim Wilson';

rt-users@lists.bestpractical.com
Cc:
Subject: RE: [rt-users] Contrib/Statistics3?

Statistics shows up on my blue bar as well (when unpacked into 
/opt/rt3/local/html/)  however a 404 is generated when

attempting to
access it.

Error logs show: 
[Mon Jan 05 17:20:38 2004] [error] [client xxx.xxx.xxx.xxx] File

does
not exist: /opt/rt3/share/html/Statistics, referer:
xxxxxxxxxxxxxxxxx

So rt3 is looking at the /local/ dir, but apache isn't.  Is

there a
config line that needs to be added to httpd.conf? (or maybe a
modperl
include that isn’t being read)

Other then that - a happy rt3 user here. 

Garrett Scott 



From: rt-users-bounces@lists.bestpractical.com 
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of

Kelly F.
Hickel
Sent: Monday, January 05, 2004 4:40 PM
To: Tim Wilson; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] Contrib/Statistics3?

Well, I'm on redhat 9, and I unpacked into 
/opt/rt3/local/html/Statistics, and I didn't have a problem with

it not
being found. Same with RTFM. They both should show up in the
blue bar
on the right of the RT pages.

-Kelly 

> -----Original Message----- 
> From: Tim Wilson [mailto:tim_wilson@hopkins.k12.mn.us] 
> Sent: Monday, January 05, 2004 5:30 PM 
> To: rt-users@lists.bestpractical.com 
> Subject: Re: [rt-users] Contrib/Statistics3? 
> 

> 
> > Is anyone using Statistics wirh RT 3 (specifically 3.0.0.8)?

> 
> I haven't had any luck with Statistics yet. I'm running 3.0.6

here and
I
> thought I’d found the latest version of the Statistics
package. I
> installed
> it according to the directions, but I get a 404 and “The
requested URL
> /Statistics/index.html was not found on this server.”
>
> I didn’t have much more luck with RTFM. Again, I followed the
directions
> exactly, but I don’t see any RTFM link at all. I’m puzzled.
BTW, I’m
> running
> this on Debian (testing) with Postgres.
>
> I’d love to hear any suggestions.
>
> -Tim
>
> –
> Timothy Wilson
> Technology Integration Specialist
> Hopkins ISD #270, Hopkins, MN, USA
> ph: 952.988.4103 fax: 952.988.4311 AIM: tis270
>
> _______________________________________________
> rt-users mailing list
> rt-users@lists.bestpractical.com
> The rt-users Archives
>
> Have you read the FAQ? The RT FAQ Manager lives at
http://fsck.com/rtfm
rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

Have you read the FAQ? The RT FAQ Manager lives at

http://fsck.com/rtfm

Good. So, now if you start looking at the statistics, do the displays make sense? My issue is that stat reports from today seem to end last week (last displayed date is “Fri 2”), but the numbers displayed are from today.

Also, the graphics don’t show up for me.

-KellyFrom: Garrett Scott [mailto:garrett@gothik.org]
Sent: Mon 1/5/2004 7:40 PM
To: rt-users@lists.bestpractical.com
Cc:
Subject: RE: [rt-users] Contrib/Statistics3?

Fixed.  Apparently the README install docs, changed over the course of 
rt3 development. =) 

Below is what I HAD (new version is in the readme).  Amazing what rtfm 
will do: 

# <VirtualHost xxx.xxx.xxx.xxx> 
        # ServerName xxx.xxx.xxx.xxx 
        # DocumentRoot /opt/rt3/share/html 
        # AddDefaultCharset UTF-8 
        # # this line applies to Apache2+mod_perl2 only 
        # PerlModule Apache2 Apache::compat 
        # PerlModule Apache::DBI 
        # PerlRequire /opt/rt3/bin/webmux.pl 
    # <FilesMatch "\.html$"> 
        # SetHandler perl-script 
        # PerlHandler RT::Mason 
    # </FilesMatch> 
    # <LocationMatch "/Attachment/"> 
        # SetHandler perl-script 
        # PerlHandler RT::Mason 
    # </LocationMatch> 
    # <LocationMatch "/REST/"> 
        # SetHandler perl-script 
        # PerlHandler RT::Mason 
    # </LocationMatch> 
# </VirtualHost> 

Garrett Scott 



From: Kelly F. Hickel [mailto:kfh@mqsoftware.com] 
Sent: Monday, January 05, 2004 5:22 PM 
To: Garrett Scott; Tim Wilson; rt-users@lists.bestpractical.com 
Subject: RE: [rt-users] Contrib/Statistics3? 

First try pointing your browser directly to <URL TO 
RT>/Statistics/index.html 
  
I had to load it directly once, then it started working.  You also might 
try restarting apache. 
  
-Kelly 


        From: Garrett Scott [mailto:garrett@gothik.org] 
        Sent: Mon 1/5/2004 7:12 PM 
        To: Kelly F. Hickel; 'Tim Wilson'; 
rt-users@lists.bestpractical.com 
        Cc: 
        Subject: RE: [rt-users] Contrib/Statistics3? 
        
        

        Statistics shows up on my blue bar as well (when unpacked into 
        /opt/rt3/local/html/)  however a 404 is generated when 
attempting to 
        access it. 

        Error logs show: 
        [Mon Jan 05 17:20:38 2004] [error] [client xxx.xxx.xxx.xxx] File 
does 
        not exist: /opt/rt3/share/html/Statistics, referer: 
xxxxxxxxxxxxxxxxx 

        So rt3 is looking at the /local/ dir, but apache isn't.  Is 
there a 
        config line that needs to be added to httpd.conf? (or maybe a 
modperl 
        include that isn't being read) 

        Other then that - a happy rt3 user here. 

        Garrett Scott 



        From: rt-users-bounces@lists.bestpractical.com 
        [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of 
Kelly F. 
        Hickel 
        Sent: Monday, January 05, 2004 4:40 PM 
        To: Tim Wilson; rt-users@lists.bestpractical.com 
        Subject: RE: [rt-users] Contrib/Statistics3? 

        Well, I'm on redhat 9, and I unpacked into 
        /opt/rt3/local/html/Statistics, and I didn't have a problem with 
it not 
        being found.  Same with RTFM.  They both should show up in the 
blue bar 
        on the right of the RT pages. 

        -Kelly 

        > -----Original Message----- 
        > From: Tim Wilson [mailto:tim_wilson@hopkins.k12.mn.us] 
        > Sent: Monday, January 05, 2004 5:30 PM 
        > To: rt-users@lists.bestpractical.com 
        > Subject: Re: [rt-users] Contrib/Statistics3? 
        > 

        > 
        > > Is anyone using Statistics wirh RT 3 (specifically 3.0.0.8)? 

        > 
        > I haven't had any luck with Statistics yet. I'm running 3.0.6 
here and 
        I 
        > thought I'd found the latest version of the Statistics 
package. I 
        > installed 
        > it according to the directions, but I get a 404 and "The 
requested URL 
        > /Statistics/index.html was not found on this server." 
        > 
        > I didn't have much more luck with RTFM. Again, I followed the 
        directions 
        > exactly, but I don't see any RTFM link at all. I'm puzzled. 
BTW, I'm 
        > running 
        > this on Debian (testing) with Postgres. 
        > 
        > I'd love to hear any suggestions. 
        > 
        > -Tim 
        > 
        > -- 
        > Timothy Wilson 
        > Technology Integration Specialist 
        > Hopkins ISD #270, Hopkins, MN, USA 
        > ph: 952.988.4103  fax: 952.988.4311  AIM: tis270 
        > 
        > _______________________________________________ 
        > rt-users mailing list 
        > rt-users@lists.bestpractical.com 
        > http://lists.bestpractical.com/mailman/listinfo/rt-users 
        > 
        > Have you read the FAQ? The RT FAQ Manager lives at 
        http://fsck.com/rtfm 
        rt-users mailing list 
        rt-users@lists.bestpractical.com 
        http://lists.bestpractical.com/mailman/listinfo/rt-users 

        Have you read the FAQ? The RT FAQ Manager lives at 
http://fsck.com/rtfm 


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

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Fixed. Apparently the README install docs, changed over the course of
rt3 development. =)

Below is what I HAD (new version is in the readme). Amazing what rtfm
will do:

I read the README and followed the directions for Debian users:

Debian Users:

Just put the contents of this archive into

/usr/local/share/request-tracker3/html

It doesn’t work, however. My error log shows:

[Tue Jan 6 07:36:14 2004] [error] [client 10.50.10.116] File does not
exist: /usr/share/request-tracker3/html/Statistics/index.html

which indicates that Apache isn’t looking in
/usr/local/share/request-tracker3 like I thought it was supposed to.

Garrett, how did you fix this?

-Tim

Timothy Wilson
Technology Integration Specialist
Hopkins ISD #270, Hopkins, MN, USA
ph: 952.988.4103 fax: 952.988.4311 AIM: tis270

Tim,

I followed the README section pretty much line for line as follows:

ServerName xxx.xxx.xxx DocumentRoot /opt/rt3/share/html AddDefaultCharset UTF-8
    PerlSetVar MasonArgsMethod CGI
    PerlModule Apache2 Apache::compat
    RewriteEngine On
    RewriteRule ^(.*)/$ $1/index.html

    PerlModule Apache::DBI
    PerlRequire /opt/rt3/bin/webmux.pl

    <Location />
            SetHandler perl-script
            PerlHandler RT::Mason
    </Location>

Garrett Scott-----Original Message-----
From: Tim Wilson [mailto:tim_wilson@hopkins.k12.mn.us]
Sent: Tuesday, January 06, 2004 5:46 AM
To: Garrett Scott; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Contrib/Statistics3?

On 1/5/04 7:40 PM, “Garrett Scott” garrett@gothik.org wrote:

Fixed. Apparently the README install docs, changed over the course of
rt3 development. =)

Below is what I HAD (new version is in the readme). Amazing what rtfm
will do:

I read the README and followed the directions for Debian users:

Debian Users:

Just put the contents of this archive into

/usr/local/share/request-tracker3/html

It doesn’t work, however. My error log shows:

[Tue Jan 6 07:36:14 2004] [error] [client 10.50.10.116] File does not
exist: /usr/share/request-tracker3/html/Statistics/index.html

which indicates that Apache isn’t looking in
/usr/local/share/request-tracker3 like I thought it was supposed to.

Garrett, how did you fix this?

-Tim

Timothy Wilson
Technology Integration Specialist
Hopkins ISD #270, Hopkins, MN, USA
ph: 952.988.4103 fax: 952.988.4311 AIM: tis270

Garrett Scott wrote:

ServerName xxx.xxx.xxx DocumentRoot /opt/rt3/share/html AddDefaultCharset UTF-8
   PerlSetVar MasonArgsMethod CGI
   PerlModule Apache2 Apache::compat
   RewriteEngine On
   RewriteRule ^(.*)/$ $1/index.html

   PerlModule Apache::DBI
   PerlRequire /opt/rt3/bin/webmux.pl

   <Location />
           SetHandler perl-script
           PerlHandler RT::Mason
   </Location>

I finally got mine working yesterday, after installing the -dev postgres
package for Mandrake 9.1.

However, apache throws an error on startup if I include the
Apache::compat part of that one line.

Here’s the error:

[root@deedee root]# /etc/init.d/httpd restart
Re-creating /etc/httpd/extramodules
Shutting down httpd-perl: [ OK ]
Shutting down httpd2: [ OK ]
Re-creating /etc/httpd/extramodules
Starting httpd-perl: Syntax error on line 53 of
/etc/httpd/conf/vhosts/Vhosts.conf:
Subroutine exit redefined at
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apache2/Apache/compat.pm
line 74.
Compilation failed in require at (eval 12) line 3.

                                                            [FAILED]

Starting httpd2: [ OK ]
[root@deedee root]#

Here’s the config section:

<VirtualHost 10.69.1.31>
ServerName host.domain.com
DocumentRoot /local/rt3/share/html
AddDefaultCharset UTF-8

# these four lines apply to Apache2+mod_perl2 only: {{{
PerlSetVar MasonArgsMethod CGI
PerlModule Apache2 Apache::compat
RewriteEngine On
RewriteRule ^(.*)/$ $1/index.html
# }}}

PerlModule Apache::DBI
PerlRequire /local/rt3/bin/webmux.pl

<Location />
    SetHandler perl-script
    PerlHandler RT::Mason
</Location>

If I do the following, apache starts with no errors, and I can log into
rt3.0.8 just fine.

<VirtualHost 10.69.1.31>
ServerName rt3.tripwire.com
DocumentRoot /local/rt3/share/html
AddDefaultCharset UTF-8

# these four lines apply to Apache2+mod_perl2 only: {{{
PerlSetVar MasonArgsMethod CGI
PerlModule Apache2
RewriteEngine On
RewriteRule ^(.*)/$ $1/index.html
# }}}

PerlModule Apache::DBI
PerlRequire /local/rt3/bin/webmux.pl

<Location />
    SetHandler perl-script
    PerlHandler RT::Mason
</Location>

Russ Johnson