Need help configuring Nagios/OTRS intergration

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
nathanplatt
Posts: 267
Joined: Thu May 07, 2015 4:59 am

Re: Need help configuring Nagios/OTRS intergration

Post by nathanplatt »

Okay, so finally OTRS is recieving emails...

However this is the log it gave;

Code: Select all

***** Nagios *****

Notification Type: RECOVERY

Service: Event Handler Test
Host: event_handler_test
Address: 127.0.0.1
State: OK

Date/Time: Fri Jul 15 09:12:38 EDT 2016

Additional Info:

(No output on stdout) stderr:
The final bit doesn't seem to make a lot of sense?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Need help configuring Nagios/OTRS intergration

Post by tgriep »

It looks like the script is having problems creating the URL link in the email.
Can you login to the Nagios Server run the following command and post the output?

Code: Select all

hostname -f
Be sure to check out our Knowledgebase for helpful articles and solutions!
nathanplatt
Posts: 267
Joined: Thu May 07, 2015 4:59 am

Re: Need help configuring Nagios/OTRS intergration

Post by nathanplatt »

tgriep wrote:It looks like the script is having problems creating the URL link in the email.
Can you login to the Nagios Server run the following command and post the output?

Code: Select all

hostname -f
# hostname -f localhost
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Need help configuring Nagios/OTRS intergration

Post by tgriep »

Can you post which eventhandler caused that error?
Be sure to check out our Knowledgebase for helpful articles and solutions!
nathanplatt
Posts: 267
Joined: Thu May 07, 2015 4:59 am

Re: Need help configuring Nagios/OTRS intergration

Post by nathanplatt »

Appoligies for not coming back sooner. I'm due to install the system again on new hardware, and will attempt to get this running asap. If you want to close the case and i'll relog once i have everything re-configured.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Need help configuring Nagios/OTRS intergration

Post by mcapra »

May as well keep it open for posterity. Let us know when you have any updates!
Former Nagios employee
https://www.mcapra.com/
Locked