[rt-users] help in creating Scrips

Emmanuel Lacour elacour at easter-eggs.com
Wed Jun 10 03:40:43 EDT 2009


On Tue, Jun 09, 2009 at 10:23:47PM -0400, rmp dmd wrote:
> Hi,
> 
> I would like to create a scrip which reject tickets with "Resolve" on the
> subject of the email request.
> 
> We have set-up nagios alerts that send email to RT for creation of tickets.
> We do not want tickets to be created when nagios send a RESOLVE alert.
> 


I f you do this with scrip, you will accept the mail, create a ticket,
then set it rejected. So you will fill your database with unusefull
rejected tickets.

Filter those mail with your mda or mta before entering RT would be a
better idea I think.

(or better, try to identify an already open ticket corresponding to this
resolve action (based on mail content/subject maybe, you will have to
modify lib/RT/Interface/Email.pm (method Gateway)) and add this mail to
this ticket and set it resolved with a scrip)



More information about the rt-users mailing list