Subscribe Us

Post Configuration of request tracker (RT) [Part 2/2]


-> RT_SiteConfig.pm is main configuration file, must be configure properly.Edit /opt/rt4/etc/RT_SiteConfig.pm to configure your site-specific settings. Here's what I used:
Set($rtname , 'geek');

Set($Organization , "uiuc");
Set($Timezone , 'US/Central');

Set($DatabaseType , 'mysql');
Set($DatabaseHost   , 'localhost');
Set($DatabaseRTHost , 'localhost');
Set($DatabasePort , '');
Set($DatabaseUser , 'XXXXXXXX');
Set($DatabasePassword , 'YYYYYYYY');
Set($WebPath , "/rt");
#Set($WebDomain, "hostname");


Set($WebPath , "/rt");
Set($WebPort , 80);# + ($< * 7274) % 32766 + ($< && 1024));
Set($WebBaseURL , "http://peoria.ks.uiuc.edu:$WebPort");
Set($WebURL , $WebBaseURL . $WebPath . "/");


Set($OwnerEmail , 'xxxxx@xxxx.xxxx');

Set($RTAddressRegexp , '^rt\@ks.uiuc.edu$');
Set($CorrespondAddress , 'rt@ks.uiuc.edu');
Set($CommentAddress , 'rt-comment@ks.uiuc.edu');

# special solaris fix that took too long to figure out
@LogToSyslogConf = ( socket => 'inet' );

1;

Now Test file syntax :
# perl -c /path/to/your/etc/RT_SiteConfig.pm 


-> Fetchmail mail from user mail box in rt as a make tickets

Follow this link:

http://howtoconfigure.blogspot.com/2013/05/how-to-configure-fetchmail.html (In this blog)

-> Automatic marge same subject tickets in RT (2 Method)

1. Using SQL database Querys

# vim /root/automergetickets.sq

update Tickets t1 set 
t1.EffectiveId=
(select min(t2.id) 
from Tickets_temp t2
where if(substr(t2.Subject,1,4)='Re: ',substr(t2.Subject,5),
t2.Subject)=if(substr(t2.Subject,1,4)='Re: ',substr(t2.Subject,5),t2.Subject)
) 
where if(substr(t2.Subject,1,4)='Re: ',substr(t2.Subject,5),
t2.Subject)=(SELECT t3.Subject FROM Tickets_temp t3 GROUP BY 
t3.Subject HAVING COUNT(id) > 1 
)
and t1.id=t1.EffectiveId;


Set query in crontab & merge tickets after execute this script.

2. Using Perl scripts

coming soon...


Reference Site :
prel & CPAN
http://wiki-archive.bestpractical.com/view/CompilingPerl
http://www.cpan.org/src/
http://wiki-archive.bestpractical.com/view/CompilingPerl

User Manual
http://requesttracker.wikia.com/wiki/ManualUsingWebInterface

phpmyadmin
https://www.centos.org/modules/newbb/viewtopic.php?topic_id=35488


* IMP Add Ons for RT


1. Action: Linear Escalate:
LinearEscalate is a ScripAction that will move a ticket's priority from its initial priority to its final priority linearly as the ticket approaches its due date.

2. ActivityReports:
Helper routine for the various activity reports, to get the list of relevant transactions on each relevant ticket. Not yet used for Resolution* or TimeWorked reports.

3. JS Gantt :
Gantt charts are ubiquitous for project planning and management. This extension provides dynamically generated Gantt charts for any ticket search in RT using the date fields for each ticket. It also provides a Gantt chart for the dependencies of a ticket so you can see how your entire project fits together.

4. Calendar:
This RT extension provides a calendar view for your tickets and your reminders so you see when is your next due ticket. You can find it in the menu Search->Calendar.

There's a portlet to put on your home page (see Prefs/MyRT.html)

You can also enable ics (ICal) feeds for your default calendar and all your private searches in Prefs/Calendar.html. Authentication is magic number based so that you can give those feeds to other people.

5. Menubar User Tickets :
Adds an additional button and dropdown list box showing every enabled user to the top of the RT interface page. After selecting the required user from the list and clicking the show tickets button query results will be should in the normal manner.

6. Quick Calls :
Quickly create tickets in specific queues with default values

7. Workflow Builder :
Helper for configuring approval workflow in RT

Done :)

Post a Comment

4 Comments

  1. Hi there, everything is going perfectly here and ofcourse every one is sharing data,
    that's in fact excellent, keep up writing.

    my homepage: http://www.youtube.com/watch?v=9d_MM9osyUU

    ReplyDelete
  2. Hi,

    Thanks for the useful instructions. I could setup up. I am able to get mails through RT. It's bouncing. I am getting error like below
    "No recipients found. Not sending." . It's generating thousands of mail if I dont stop sendmail. Could you please let me know how do I resolve this.

    Regards,
    TechPlesk

    ReplyDelete
  3. I could not refrain from commenting. Well written!

    Also visit my page Wall Pops Wall Art

    ReplyDelete
  4. Hey there excellent website! Does running a blog like this require a
    large amount of work? I've very little knowledge of computer programming however I was hoping to start my own blog soon. Anyways, should you have any ideas or tips for new blog owners please share. I know this is off subject but I simply had to ask. Thank you!

    Also visit my homepage; wall art ideas diy; ,

    ReplyDelete