[rt-users] Error when editing RegExp in RT::Extension::Nagios

2011-06-21 Thread Giuseppe Sollazzo
Hi, I've edited the regular expression that is matched against subjects to look like m{(PROBLEM|RECOVERY|ACKNOWLEDGEMENT)\s+alert\s+(Service|Host) Alt: ([^/]+)/?(.*)\s+is\s+(\w+)}i which should match, provided I'm not wrong, something like PROBLEM alert Service Alt: server/server_service is

Re: [rt-users] Error when editing RegExp in RT::Extension::Nagios

2011-06-21 Thread sunnavy
Hi Giuseppe you need to update the VALUE param of $tickets-LimitSubject() accordingly, the code is below the regex about 12 lines. best wishes sunnavy On 11-06-21 15:32, Giuseppe Sollazzo wrote: Hi, I've edited the regular expression that is matched against subjects to look like

Re: [rt-users] Error when editing RegExp in RT::Extension::Nagios

2011-06-21 Thread Giuseppe Sollazzo
Hi Sunnavy, many thanks - it now makes sense :-) I had missed that bit of code. Any plan to make the regexp customisable in future releases? G On 21/06/11 16:09, sunnavy wrote: Hi Giuseppe you need to update the VALUE param of $tickets-LimitSubject() accordingly, the code is below the regex

Re: [rt-users] Error when editing RegExp in RT::Extension::Nagios

2011-06-21 Thread sunnavy
not yet, I'll think about that though. thanks. best wishes sunnavy On 11-06-21 16:22, Giuseppe Sollazzo wrote: Hi Sunnavy, many thanks - it now makes sense :-) I had missed that bit of code. Any plan to make the regexp customisable in future releases? G On 21/06/11 16:09, sunnavy