Multiple Emails, Same Subject

Moderator: crythias

Locked
tom_bean
Znuny newbie
Posts: 1
Joined: 08 Feb 2012, 14:24
Znuny Version: 3.1
Real Name: Tom Bean
Company: CWP

Multiple Emails, Same Subject

Post by tom_bean »

Hi All,

Recently installed OTRS and trying to sort a number of things before we go live with it.

I have tried to integrate OTRS with my network monitoring system, Nagios. To do this I set Nagios up to send its emails to the email account being monitored by OTRS, which then creates a ticket and moves it into the nagios queue.

Then, I wrote a plugin for Nagios so when the service state is changed back to Ok, it will get a connect to the MySQL backend of OTRS and close the ticket.

This all works fine, however the problem I have is that Nagios may send a number of emails about the same issue, and each of these will raise a new ticket which is a bit of a pain. Ideally, I would like it to only raise one ticket for any problem. The subject and contact of the emails are always the same, e.g.:

Subject: ** PROBLEM Service Alert: MS-BE-01/D:\ Drive Space is CRITICAL **

Any ideas how to just append any further emails to the same ticket, if one is set to open?

Thanks,

Tom
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Multiple Emails, Same Subject

Post by jojo »

use the SystemMonitoring module (installable via Paketmanager) for this
"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
info
Znuny newbie
Posts: 2
Joined: 18 Feb 2012, 00:01
Znuny Version: 3.1
Real Name: Info

Re: Multiple Emails, Same Subject

Post by info »

Hi Tom,
I am also trying to do the same thing. Integrating Nagios to OTRS. I am new to OTRS. How did you do the integration ? Could you provide little more info ? What steps are you taking in Nagios and what steps in OTRS ?
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: Multiple Emails, Same Subject

Post by ferrosti »

See the SystemMonitoring module and its documentation. You can even google it.
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
Locked