Auto-merge feature not working. Stumped

Moderator: crythias

Locked
jnelson
Znuny newbie
Posts: 72
Joined: 18 Jul 2014, 14:40
Znuny Version: 5.0.4
Real Name: Jerry Nelson

Auto-merge feature not working. Stumped

Post by jnelson »

This has me pretty stumped. I thought this would be a slam dunk but it appears I'm missing something. I am testing an email alert feature from a system that is configured to send OTRS email with specific subject lines. I have a PostMaster Filter enabled to set X-OTRS-Queue value to a specific queue that I want these tickets created in. The problem is that during an alert time, the source system will resend the alert every one minute until resolution. What I want is for these to be merged as articles in a single ticket obviously but they are still creating multiple tickets.

Here's an example of the subject lines.

XXXXXXX_Program_Alert: Program=https://XX.XX.XX.XX/#/programs/unique_s ... ce_program

The first group of XX's (and Program_Alert) is the non-unique subject identifier that is used to identify the email as a match to the above mentioned filter and moved into the specified queue. The second group of XX's is obviously an IP address of the host which may or may not be unique. The string at the end is very unique to the specific instance of the program in question. Here's an example string: 4f8606be-72a6-4b68-81d9-15dw01f4b279. I may receive several alerts from various programs that are the same with the exception of this string. In the body of the email there are several components that are the same, Title, IP address, Alert message and error, error component source, First error time etc. but some things that are different, like error count and Last error time.

I've enabled Ticket->Core::PostMaster::PostmasterFollowUpSearchInReferences along with PostmasterFollowUpSearchInBody and PostmasterFollowUpSearchInRaw.

Thanks for any suggestions!

OTRS Appliance 4.0.5 on ESX VM Host
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Auto-merge feature not working. Stumped

Post by jojo »

the mentioned filters will not work as there is no ticket number present and also no In-Reference-To or In-Reply-To Header. Have a look at the system monitoring plugin for this usecase
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
jnelson
Znuny newbie
Posts: 72
Joined: 18 Jul 2014, 14:40
Znuny Version: 5.0.4
Real Name: Jerry Nelson

Re: Auto-merge feature not working. Stumped

Post by jnelson »

jojo wrote: Have a look at the system monitoring plugin for this usecase
Thanks. Is there any documentation available besides the included PDF? At a glance this appears to be related to nagios system which I don't have and the PDF is incredibly un-detailed on configuration.
OTRS 5 on CentOS 7.1
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Auto-merge feature not working. Stumped

Post by reneeb »

The SystemMonitoring plugin is not bound to Nagios.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
jnelson
Znuny newbie
Posts: 72
Joined: 18 Jul 2014, 14:40
Znuny Version: 5.0.4
Real Name: Jerry Nelson

Re: Auto-merge feature not working. Stumped

Post by jnelson »

reneeb wrote:The SystemMonitoring plugin is not bound to Nagios.
Yeah I realized that after I looked at the configuration. Is there more documentation available that you know of?
OTRS 5 on CentOS 7.1
jnelson
Znuny newbie
Posts: 72
Joined: 18 Jul 2014, 14:40
Znuny Version: 5.0.4
Real Name: Jerry Nelson

Re: Auto-merge feature not working. Stumped

Post by jnelson »

reneeb wrote:The SystemMonitoring plugin is not bound to Nagios.
Took a look at your signature and found your plugin. Thanks. Works perfectly. You rock.
OTRS 5 on CentOS 7.1
Locked