Emmanuel Lacour wrote: > 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))
http://wiki.bestpractical.com/view/AutoCloseOnNagiosRecoveryMessages > and add this mail to > this ticket and set it resolved with a scrip) > _______________________________________________ > 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 > -- Drew Barnes Applications Analyst Network Resources Department Raymond Walters College University of Cincinnati _______________________________________________ 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