Before installing this package, the following tasks need to be completed.
/opt/rt2
, or install it at a location of your choice, and create a symbolic link from /opt/rt2
to that directory. Instructions for installing RT are available from www.bestpractical.com/rt
.etc/config.pm
from your RT host to /opt/rt2/etc/config.pm
on all the DGEs. Edit /opt/rt2/etc/config.pm
and update $[DatabaseHost]
to point to your RT host. You also may want to update $[LogDir]
, or create the directory specified and make sure that the directory permissions are set up properly.[WebRT]
). Set an appropriate username (for example, traverse@your.domain
) but make sure to leave the email field blank. This ensures that when a new ticket is created, no auto-replies are sent, if there is such a script configured for the queue you will be using.[MySQL]
for RT database, the database user (specified in /opt/rt2/etc/config.pm
, variable $[DatabaseUser]
is only allowed access from localhost. Before this custom action can create/update tickets, it must be allowed access. [MySQL]
, this involves connecting to the rt2
database or the database name specified in /opt/rt2/etc/config.pm
) locally on the RT host as root
, and using:GRANT SELECT,INSERT,CREATE,INDEX,UPDATE,DELETE ON rt2.* TO rt_user@n.n.n.n;
n.n.n.n
is the IP address of each DGE. data/pg_hba.conf
file. Please refer to configuration documents for the respective database vendors ([MySQL]
or [PostgreSQL]
) for additional details.test-rt.pl
test script should be able to search and display all new/open tickets in your RT system (replace YOUR_QUEUE_NAME
in the script with a valid queue name).