I would look at modifying this to suit your needs. http://wiki.bestpractical.com/view/AutoCloseOnNagiosRecoveryMessages
Thomas Hecker wrote: > Hi all, > > i use RT 3.6.1 and look for a scrip that automatically closes new ticktes > that have subjects that contain special words. > > an example: > > i have some UPS from APC wich send emails after performing selftesting. The > subject is somehing like "HOMER passes internal self test" where HOMER is > the name of the UPS. This email should be sent to rt. RT then opens a new > ticket. Now i want a scrip that closes the ticket automatically when the > subject of an email contains specail words. So status mails will still > generate tickets but are closed immediately (fpt statistic purpose). Status > mails with an error like "Error 123 while HOMER performing self test" then > correctly will open a ticket that stays open. > > My problem here is, that i know nothing about perl coding, so i can't code > this scrip by myself. Maybe sombody has allready a scrip wich works similar, > or maybe somebody could code it? > > Thanks for help > Thomas > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: [EMAIL PROTECTED] > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -- Drew Barnes Applications Analyst Raymond Walters College University of Cincinnati _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
