Re: [rt-users] Help reverting RT 3.8.6 back to displaying username instead of RealName

2009-12-07 Thread Kenneth Marshall
On Sun, Dec 06, 2009 at 11:12:56PM +1300, Aaron Guise wrote:
 Hi,
 
 Just updated to RT 3.8.6,  all looks well but on rt 3.8.0 all users were
 listed in select box and transaction history as username i.e aguise for
 myself.   RT 3.8.6 is displaying the full name (Aaron Guise) .  Our users
 are so used to the old format and they really want it back.  Can someone
 point me to the file in which I can amend this?  I found this snippet in
 RT_Config.pm and basically I need to find the procedure is so I can alter it
 to get the username instead.
 
 Any help would be greatly appreciated.
 
 =item C$UsernameFormat
 
 This determines how user info is displayed. 'concise' will show one of
 either NickName, RealName, Name or EmailAddress, depending on what exists
 and whether the user is privileged or not. 'verbose' will show RealName and
 EmailAddress.
 
 =cut
 
 Set($UsernameFormat, 'concise');
 
 
 --
 Regards,
 
 Aaron

Hi Aaron,

We had the same problem here. It was a bit odd that the old format
is not one of the options. Here are the changes we made for 3.8.5
that will probably work in 3.8.6 as well:

cp RTHOME/share/html/Elements/ShowUser - local/html/Element/ShowUser

Patch as follows:

--- share/html/Elements/ShowUser2009-10-13 12:24:43.0 -0500
+++ local/html/Elements/ShowUser2009-10-27 10:13:58.0 -0500
@@ -60,6 +60,9 @@
 if ( $style eq 'concise' ) {
 $m-comp( '/Elements/ShowUserConcise', User = $User );
 }
+elsif ( $style eq 'old' ) {
+$m-comp( '/Elements/ShowUserOld', User = $User );
+}
 else { $m-comp( '/Elements/ShowUserVerbose', User = $User ); }
 /%INIT
 %ARGS

and here is ShowUserOld:


%INIT
if ($User) {
my $printable;
if ( $User-EmailAddress  $User-EmailAddress ne $User-Name ) {
 $printable = $User-Name . ' ' . $User-EmailAddress .'';
}
else {
 $printable = $User-Name
  || $User-EmailAddress
  || $User-RealName
  || $User-NickName;
}
$m-out( $m-interp-apply_escapes( $printable, 'h' ) );
}

/%INIT
%ARGS
$User = undef
$Address = undef
/%ARGS

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
 
 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com
 
 
 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Only showing a certain custom field when another custom field has a certain value selected

2009-12-07 Thread Kevin Falcone
On Fri, Dec 04, 2009 at 03:23:24PM -0500, Kyle McKinley wrote:
 I realize this is an open ended question here.  I'm looking for a way to 
 hide custom fields until necessitated by the choice of a value in 
 another custom field.  Is their a way to do this with Scrips or do I 
 need to dig into the config files?  Or is this some capability that 
 hierarchal custom fields will provide when I upgrade at some point?  So 
 what I'm really getting at, is should I just wait till I upgrade.  Thanks!

Hierarchical Custom Fields just allow you to change the options
available in Custom Field B based on your selection in Custom Field A.

Hiding or showing CFs based on selection values would require custom
hacking.

-kevin


pgpYFuqdGxeTm.pgp
Description: PGP signature
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Can I add more than one email address to a user? (within user configuration)

2009-12-07 Thread Kevin Falcone
On Sat, Dec 05, 2009 at 06:48:20AM -0800, John David Chapman wrote:
 
 Lets assume I have set up user Joe Bloggs.
 
 I added joe.blog...@example.com; joe.blog...@example.com as the email with
 user configuration.
 
 However, RT only ever notifies joe.blog...@example.com

You can't do this.

You can have two users and use RT-Extension-MergeUsers to merge the
two and have RT look up the secondary address to find the primary
user.

-kevin


pgpUjqP5osc1V.pgp
Description: PGP signature
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

[rt-users] Innovation in RT

2009-12-07 Thread rifaqat zaheer
Respected sir!

I completed the Project of generating an
email when an error comes in a switches and router using RT software. Now I
want something new in RT . There is scholarships program of RT software and
they are asking about the research proposal.Please guide me with your
valuable suggestions and advice about innovation in RT software, what I can
do extra customization in RT software so that based on it I can write my
research proposal.I need small research proposal in order to get some
idea.Sir kindly help  me in this situation.
I shall be very thankful



YOURS Obediently
 Rifaqat Zaheer
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Innovation in RT

2009-12-07 Thread Jesse Vincent



On Mon, Dec 07, 2009 at 09:23:37PM +0500, rifaqat zaheer wrote:
 Respected sir!
 
 I completed the Project of generating an
 email when an error comes in a switches and router using RT software. Now I
 want something new in RT . There is scholarships program of RT software and
 they are asking about the research proposal.Please guide me with your
 valuable suggestions and advice about innovation in RT software, what I can
 do extra customization in RT software so that based on it I can write my
 research proposal.I need small research proposal in order to get some
 idea.Sir kindly help  me in this situation.
 I shall be very thankful

Rifaqat,


Do they actually mean Request Tracker or are you perhaps looking at
Real-Time software?

Best,
Jesse



 
 YOURS Obediently
  Rifaqat Zaheer

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
 
 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com
 
 
 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com

-- 
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] RT response time

2009-12-07 Thread Raed El-Hames
Hi;

Versions 3.6.4 and 3.8.5
apache2,mod_perl2 and mysql5

Have anyone done any kind of monitoring / profiling of RT response time, 
ie measure the time it takes to display a ticket / (or create a ticket 
but possibly doing this every 5/10 minutes wont be desirable)
Can anyone recommend any software (preferably open source) that can do 
that?

-- 

*Roy El-hames *

ISP Systems

 

*Vialtus** Solutions*

 

Direct Dial: +44(0) 208 587 6181

E-mail: r...@vialtus.com mailto:r...@vialtus.com

 

Visit us on:

www.vialtus.com http://www.vialtus.com/

 

This email is subject to:

http://www.vialtus.com/disclaimer.html

 

 

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT response time

2009-12-07 Thread Brumm, Torsten / Kuehne + Nagel / Ham MI-ID
Ho raed,
Some of my users created a vb scrip (fuckinbg crap) doing something like this. 
Sent it to you tomorrow!
Torsten

- Originalnachricht -
Von: rt-users-boun...@lists.bestpractical.com 
rt-users-boun...@lists.bestpractical.com
An: RT Users rt-users@lists.bestpractical.com
Gesendet: Mon Dec 07 19:18:37 2009
Betreff: [rt-users] RT response time

Hi;

Versions 3.6.4 and 3.8.5
apache2,mod_perl2 and mysql5

Have anyone done any kind of monitoring / profiling of RT response time, 
ie measure the time it takes to display a ticket / (or create a ticket 
but possibly doing this every 5/10 minutes wont be desirable)
Can anyone recommend any software (preferably open source) that can do 
that?

-- 

*Roy El-hames *

ISP Systems

 

*Vialtus** Solutions*

 

Direct Dial: +44(0) 208 587 6181

E-mail: r...@vialtus.com mailto:r...@vialtus.com

 

Visit us on:

www.vialtus.com http://www.vialtus.com/

 

This email is subject to:

http://www.vialtus.com/disclaimer.html

 

 


Kuehne + Nagel (AG  Co.) KG, Geschaeftsleitung: Hans-Georg Brinkmann (Vors.), 
Dirk Blesius (Stellv.), Reiner Heiken (Stellv.), Bruno Mang, Alfred Manke, 
Christian Marnetté (Stellv.), Mark Reinhardt (Stellv.), Jens Wollesen, Rainer 
Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 
812773878, Persoenlich haftende Gesellschaft: Kuehne  Nagel A.G., Sitz: 
Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne



___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Help reverting RT 3.8.6 back to displaying username instead of RealName

2009-12-07 Thread Aaron Guise
Thanks Ken,

I have patched the files as recommended,  I will let you know how we get on.
Just waiting for the scheduled automatic restart of apache tonight.

*
Regards,*

*Aaron Guise

  07 838 7793
027 212 6638
aa...@guise.net.nz
 *


MSN: gui...@hotmail.com
Contact Me [image: Facebook] http://www.facebook.com/shadysandman


On Tue, Dec 8, 2009 at 3:25 AM, Kenneth Marshall k...@rice.edu wrote:

 On Sun, Dec 06, 2009 at 11:12:56PM +1300, Aaron Guise wrote:
  Hi,
 
  Just updated to RT 3.8.6,  all looks well but on rt 3.8.0 all users were
  listed in select box and transaction history as username i.e aguise for
  myself.   RT 3.8.6 is displaying the full name (Aaron Guise) .  Our users
  are so used to the old format and they really want it back.  Can someone
  point me to the file in which I can amend this?  I found this snippet in
  RT_Config.pm and basically I need to find the procedure is so I can alter
 it
  to get the username instead.
 
  Any help would be greatly appreciated.
 
  =item C$UsernameFormat
 
  This determines how user info is displayed. 'concise' will show one of
  either NickName, RealName, Name or EmailAddress, depending on what exists
  and whether the user is privileged or not. 'verbose' will show RealName
 and
  EmailAddress.
 
  =cut
 
  Set($UsernameFormat, 'concise');
 
 
  --
  Regards,
 
  Aaron

 Hi Aaron,

 We had the same problem here. It was a bit odd that the old format
 is not one of the options. Here are the changes we made for 3.8.5
 that will probably work in 3.8.6 as well:

 cp RTHOME/share/html/Elements/ShowUser - local/html/Element/ShowUser

 Patch as follows:

 --- share/html/Elements/ShowUser2009-10-13 12:24:43.0 -0500
 +++ local/html/Elements/ShowUser2009-10-27 10:13:58.0 -0500
 @@ -60,6 +60,9 @@
  if ( $style eq 'concise' ) {
 $m-comp( '/Elements/ShowUserConcise', User = $User );
  }
 +elsif ( $style eq 'old' ) {
 +$m-comp( '/Elements/ShowUserOld', User = $User );
 +}
  else { $m-comp( '/Elements/ShowUserVerbose', User = $User ); }
  /%INIT
  %ARGS

 and here is ShowUserOld:

 
 %INIT
 if ($User) {
my $printable;
if ( $User-EmailAddress  $User-EmailAddress ne $User-Name ) {
 $printable = $User-Name . ' ' . $User-EmailAddress .'';
}
else {
 $printable = $User-Name
  || $User-EmailAddress
  || $User-RealName
  || $User-NickName;
}
$m-out( $m-interp-apply_escapes( $printable, 'h' ) );
 }

 /%INIT
 %ARGS
 $User = undef
 $Address = undef
 /%ARGS
 
  ___
  http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
 
  Community help: http://wiki.bestpractical.com
  Commercial support: sa...@bestpractical.com
 
 
  Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
  Buy a copy at http://rtbook.bestpractical.com

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

[rt-users] requestors filling up the owner dropdownbox

2009-12-07 Thread SB
Hi,

I just started using RT 3.8.6 and i noticed that my ticket owner 
dropdown box is clogging up
I expected only the staff members to be in that list but now every 
customer dat creates a ticket ends up in this list
How do i stop that from happening ?  How do i clean that mess up?

Thanks

Leon Berkers
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] RSS

2009-12-07 Thread Bryan Rhodes
Hi,

I have a question about the RSS that RT is outputting. I open the queue that
I would like to follow with my RSS reader (liferea), but it is not a valid
feed. I have the XML::RSS perl module installed, if that helps. Here is what
I am receiving when I click the RSS link:

?xml version=1.0 encoding=UTF-8?

rdf:RDF
 xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#;
 xmlns=http://purl.org/rss/1.0/;
 xmlns:content=http://purl.org/rss/1.0/modules/content/;
 xmlns:taxo=http://purl.org/rss/1.0/modules/taxonomy/;
 xmlns:dc=http://purl.org/dc/elements/1.1/;
 xmlns:syn=http://purl.org/rss/1.0/modules/syndication/;
 xmlns:admin=http://webns.net/mvcb/;


channel rdf:about=http://rt.mydomain.local/;
titleTest: Search Owner = #x27;Nobody#x27; AND ( Status =
#x27;new#x27; OR Status = #x27;open#x27;)/title
linkhttp://rt.mydomain.local//link
description/description
syn:updateBase1901-01-01T00:00+00:00/syn:updateBase
syn:updateFrequency1/syn:updateFrequency
syn:updatePeriodhourly/syn:updatePeriod
items
 rdf:Seq
  rdf:li rdf:resource=http://rt.mydomain.local/Ticket/Display.html?id=118;
/
  rdf:li rdf:resource=http://rt.mydomain.local/Ticket/Display.html?id=113;
/
 /rdf:Seq
/items
/channel
item rdf:about=http://rt.mydomain.local/Ticket/Display.html?id=118;
titleUpdate the filter on rt.acco...@mydomain.com/title
linkhttp://rt.mydomain.local/Ticket/Display.html?id=118/link
descriptionIn addition to the currently filtered items, please
filter out mail from the
following addresses:

r...@*digest@redcondor.com
/description
dc:creatorJohn Doe/dc:creator
dc:dateMon, 7 Dec 2009 19:25:08 +/dc:date
/item
item rdf:about=http://rt.mydomain.local/Ticket/Display.html?id=113;
titleFilter voicemail emails out of rt.acco...@mydomain.com/title
linkhttp://rt.mydomain.local/Ticket/Display.html?id=113/link
descriptionCreate an account to have Support Voicemails go to so
that they are not sent to
support.
/description
dc:creatorBilly Joe/dc:creator
dc:dateMon, 7 Dec 2009 17:36:42 +/dc:date
/item
/rdf:RDF


Thanks,

Bryan
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] requestors filling up the owner dropdownbox

2009-12-07 Thread Ken Crocker
SB,

Sounds like there is a Privilege setting that is doing one or more of 
the following:

Globally defaulting a requestor as the ticket owner
Granting a variety of these Privileges ( ModifyTicket, OwnTicket, 
TakeTicket) to WAY more users than you want, either globally or in a 
queue to all privileged users, etc. Stuff like that.

If a User can Take/Own a ticket, then they are possible selections as a 
ticket owner.

Hope this helps.

Kenn
LBNL


On 12/7/2009 12:26 PM, SB wrote:
 Hi,

 I just started using RT 3.8.6 and i noticed that my ticket owner 
 dropdown box is clogging up
 I expected only the staff members to be in that list but now every 
 customer dat creates a ticket ends up in this list
 How do i stop that from happening ?  How do i clean that mess up?

 Thanks

 Leon Berkers
 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com

   
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] ToDo example in 3.8

2009-12-07 Thread Robert Nesius
I decided to give the ToDo example a try under RT 3.8.6.  I've successfully
made a ScripAction that assigns the scrip to the submitter on creation -
yay.  However, I haven't found a combination of rights that allows the
submitter to actually close the ticket.  Before pounding my head on this
any further, I'm suspicious that perhaps unprivileged users are not allowed
to modify tickets even if they've been given the right... so just wanted to
sanity check things before debugging further.  The same set of rights given
to privileged users does allow privileged users to close the ticket...

-Rob
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

[rt-users] DBIx::SearchBuilder Errors

2009-12-07 Thread Mathew Snyder
Trying to get a development server going using v3.6.5. The idea being
that I install that, port over a relatively recent backup of the
database and then upgrade to v3.8.6. Everything is installed: mysql,
apache, postfix, mod_perl, RT and all the necessary modules.

The database is created properly and to ensure it I logged in with the
rt user/pass.

Apache starts up with no errors.

The problem I'm having is with the dreaded Internal Server Error message
that I'm getting. Looking at the rt_error log that is being generated
I'm seeing:

[Mon Dec 07 22:00:27 2009] [error] [client 192.168.4.208] Unable to load
DBIx::SearchBuilder database handle for 'mysql'.\nPerhaps you've picked
an invalid database type or spelled it incorrectly.\nCan't locate
DBIx/SearchBuilder/Handle/mysql.pm in @INC (@INC contains:
/opt/rt3/local/lib /opt/rt3/lib
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/5.8.8 . /etc/httpd) at (eval 242) line 1.\nBEGIN
failed--compilation aborted at (eval 242) line 1.\nCompilation failed in
require at /opt/rt3/lib/RT.pm line 216.\n

I've verified that DBIx::SearchBuilder::mysql resides at
/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm

I've also verified that RT_SiteConfig.pm holds the proper DB name, DB
user/pass and has been configured with our org. name.

So what might the problem be? The module is there, the servers are
configured. I'm at a loss.

-Mathew
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT response time

2009-12-07 Thread Matthew Seaman

Raed El-Hames wrote:


Versions 3.6.4 and 3.8.5
apache2,mod_perl2 and mysql5

Have anyone done any kind of monitoring / profiling of RT response time, 
ie measure the time it takes to display a ticket / (or create a ticket 
but possibly doing this every 5/10 minutes wont be desirable)
Can anyone recommend any software (preferably open source) that can do 
that?


If you modify the apache log format, you can get it to include the amount
of time it spends to serve each page.  Something like this:

LogFormat %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-Agent}i\ %D

(See http://httpd.apache.org/docs/2.2/mod/mod_log_config.html)

%D is the time in microseconds it takes to serve the request.  There's also
%T, but that's measured in integer numbers of seconds, so it's almost always
0 for any reasonably good web-server.  %D is to some extent determined by
how fast the web clients can receive the data, but this should not be rate 
limiting unless you have particularly old and slow client machines or people 
accessing the site through dial-up connections.


AFAIK most weblog analysis software doesn't deal with the time taken to serve
a request, because that data isn't included in the standard log file formats.
However, writing a small perl script to calculate statistics for each of the 
different queries (%r in the format) should be fairly trivial to do.


Cheers,

Matthew

--
Dr Matthew Seaman The Bunker, Ash Radar Station
PGP: 0x60AE908C on serversMarshborough Rd
Tel: +44 1304 814890  Sandwich
Fax: +44 1304 814899  Kent, CT13 0PL, UK



signature.asc
Description: OpenPGP digital signature
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] RT response time

2009-12-07 Thread Matthew Seaman

Matthew Seaman wrote:

Raed El-Hames wrote:


Versions 3.6.4 and 3.8.5
apache2,mod_perl2 and mysql5

Have anyone done any kind of monitoring / profiling of RT response 
time, ie measure the time it takes to display a ticket / (or create a 
ticket but possibly doing this every 5/10 minutes wont be desirable)
Can anyone recommend any software (preferably open source) that can do 
that?


If you modify the apache log format, you can get it to include the amount
of time it spends to serve each page.  Something like this:

LogFormat %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-Agent}i\ %D

(See http://httpd.apache.org/docs/2.2/mod/mod_log_config.html)

%D is the time in microseconds it takes to serve the request.  There's also
%T, but that's measured in integer numbers of seconds, so it's almost 
always

0 for any reasonably good web-server.  %D is to some extent determined by
how fast the web clients can receive the data, but this should not be 
rate limiting unless you have particularly old and slow client machines 
or people accessing the site through dial-up connections.


AFAIK most weblog analysis software doesn't deal with the time taken to 
serve
a request, because that data isn't included in the standard log file 
formats.
However, writing a small perl script to calculate statistics for each of 
the different queries (%r in the format) should be fairly trivial to do.




Another approach is to use the Firebug extension to Firefox -- this
gives you a detailed breakdown of the time it takes to display a web
page (including all of the sub-requests for images etc.)

http://getfirebug.com/

Only shows you timings for one page at a time though, and needs to be
run interactively.

Cheers,

Matthew

--
Dr Matthew Seaman The Bunker, Ash Radar Station
PGP: 0x60AE908C on serversMarshborough Rd
Tel: +44 1304 814890  Sandwich
Fax: +44 1304 814899  Kent, CT13 0PL, UK



signature.asc
Description: OpenPGP digital signature
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] RT response time

2009-12-07 Thread Brumm, Torsten / Kuehne + Nagel / Ham MI-ID
Hi Raed,
find attached vbs script. let me explain how it works.

It opens IE, logging in as user (credentials you find in password file) and 
opening the homepage, opening a queue and a ticket, then does a ticket update 
(comment) and returns back to homepage. this is done every few seconds from 
begining. All counted times are stored in a newly created xls file.


Pls have a closer look into the vbs, this is created for our setup, i think you 
have to change something:

Line 179:

'Erster Schritt: Start RT bis zum Login Schirm
RTloginURL=http://ticket.int.kn/;


Line 254:

.navigate(http://ticket.int.kn/Search/Results.html?Order=ASCQuery=Queue%20%3D%20'PERFORMANCETEST'%20AND%20(Status%20%3D%20'open'%20OR%20Status%20%3D%20'new'%20OR%20Status%20%3D%20'stalled'%20OR%20Status%20%3D%20'pending'%20OR%20Status%20%3D%20'accepted'%20OR%20Status%20%3D%20'implement'%20OR%20Status%20%3D%20'approved'%20OR%20Status%20%3D%20'verified'%20OR%20Status%20%3D%20'waiting'%20OR%20Status%20%3D%20'testing'%20OR%20Status%20%3D%20'delivered'%20OR%20Status%20%3D%20'develop')Rows=OrderBy=idPage=1Format=)

Change this to your test queue

Line 275:

.navigate(http://ticket.int.kn/;)

Line 296:



Kuehne + Nagel (AG  Co.) KG, Geschaeftsleitung: Hans-Georg Brinkmann (Vors.), 
Dirk Blesius (Stellv.), Reiner Heiken (Stellv.), Bruno Mang, Alfred Manke, 
Christian Marnetté (Stellv.), Mark Reinhardt (Stellv.), Jens Wollesen, Rainer 
Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 
812773878, Persoenlich haftende Gesellschaft: Kuehne  Nagel A.G., Sitz: 
Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne



-Urspruengliche Nachricht-
Von: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] Im Auftrag von Raed El-Hames
Gesendet: Montag, 7. Dezember 2009 19:19
An: RT Users
Betreff: [rt-users] RT response time

Hi;

Versions 3.6.4 and 3.8.5
apache2,mod_perl2 and mysql5

Have anyone done any kind of monitoring / profiling of RT response time, ie 
measure the time it takes to display a ticket / (or create a ticket but 
possibly doing this every 5/10 minutes wont be desirable) Can anyone recommend 
any software (preferably open source) that can do that?

-- 

*Roy El-hames *

ISP Systems

 

*Vialtus** Solutions*

 

Direct Dial: +44(0) 208 587 6181

E-mail: r...@vialtus.com mailto:r...@vialtus.com

 

Visit us on:

www.vialtus.com http://www.vialtus.com/

 

This email is subject to:

http://www.vialtus.com/disclaimer.html

 

 

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com Commercial support: 
sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com