Nagios/OTRS Integration

Moderator: crythias

Locked
kevinbednar
Znuny newbie
Posts: 15
Joined: 20 Jul 2011, 16:55
Znuny Version: 3.0.9
Real Name: Kevin Bednar

Nagios/OTRS Integration

Post by kevinbednar »

Hey all, trying to get the integration of OTRS/Nagios working but not sure what steps I need to complete. I have the following set:

OTRS Helpdesk 3.0.11 - Installed, configured and running fine
Nagios XI - Installed, configured, running fine, notifications via email to a normal email account work fine

I want to set up OTRS to accept an email from Nagios and create/open/close tickets based on the email info from the nagios alert, which is what it says the OTRS module will do, which I have installed. I read the PDF included with the module, but unless I'm missing something obvious it's not very explanatory/comprehensive of WHAT exactly needs to be configured, other than changing the regexp for the inbound email address. So I have a few questions to try and get clarification so I can get this up and running.

1) The "from" email address it says needs to be set. Is that the email address being used that NAGIOS is SENDING from or the POP3 email address that OTRS needs to GET email from? ie: Lets say Nagios has a "from" address of nagios@domain.com which is actually SENT to alerts@otrsdomain.com. Which address is supposed to be used for the regexp in the module config?
2) The docs make it look like the only thing that needs to be configged in OTRS is that module email address. But all other OTRS queues require popping email frim specific accounts. How will the Nagios module in OTRS actually know how to get the email destined for it? Do I need to create an email address and queue for that purpose and somehow associate it with the Nagios module in OTRS? If so, how?

Thanks in advance all. I'm REALLY liking OTRS's capabilities so far and have 2 instances setup for different support systems, and am demoing the system to another interested party so I'm hoping to have a 3rd setup soon!

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

Re: Nagios/OTRS Integration

Post by jojo »

The FROM Address (the nagios one) needs to be in the regex. The Module will not fetch any mails nor it is Queue related. So just send the mail to one of the mailadresses OTRS will fetch.
"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
kevinbednar
Znuny newbie
Posts: 15
Joined: 20 Jul 2011, 16:55
Znuny Version: 3.0.9
Real Name: Kevin Bednar

Re: Nagios/OTRS Integration

Post by kevinbednar »

Thanks jojo. So, just to be clear, the from address should be the "nagios@domain.com" address that nagios sends FROM. And I can sent the alert to any of the existing queues on the OTRS system and if it sees that from address it will act on it using the otrs/nagios module automatically?

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

Re: Nagios/OTRS Integration

Post by jojo »

yes, thats how the module works
"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
kevinbednar
Znuny newbie
Posts: 15
Joined: 20 Jul 2011, 16:55
Znuny Version: 3.0.9
Real Name: Kevin Bednar

Re: Nagios/OTRS Integration

Post by kevinbednar »

Beautiful! Thanks for the clarification jojo! I'll give that a spin and if I have any problems I'll post. I'm looking forward to 3.1 being released!

Kevin
Locked