Subject: | RT::Action::UpdateNagiosTickets |
Date: | Sat, 8 Jan 2011 15:01:45 -0500 |
To: | "'bug-RT-Extension-Nagios [...] rt.cpan.org'" <bug-RT-Extension-Nagios [...] rt.cpan.org> |
From: | "Jones, Marc T" <marc.jones [...] uconn.edu> |
There is one bug and one small change that I made to the regular expression that is used to identify which emails are Nagios alerts
The change is to allow notifications of the type ACKNOLWEDGEMENT to be captured also.
The bug is that on host notification, there is not slash after the host name.
UpdateNagiosTickets.pm
29c29
< m{(PROBLEM|RECOVERY|ACKNOWLEDGEMENT)\s+(Service|Host) Alert: ([^/]+)/?(.*)\s+is\s+(\w+)}i
---
Show quoted text
> m{(PROBLEM|RECOVERY)\s+(Service|Host) Alert: ([^/]+)/(.*)\s+is\s+(\w+)}i
Marc Jones
Systems Architect
Student Affairs Information Technology
University of Connecticut
e-mail: marc.jones@uconn.edu
Technical Support: 860-486-8992
Phone Number: 860-486-4559