Nagios core E-MailRelay

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.
Locked
bonavox
Posts: 1
Joined: Mon Sep 01, 2014 6:17 am

Nagios core E-MailRelay

Post by bonavox »

Hello,
I installed smtp relay (E-MailRelay) on my nagios server 192.168.1.150 and it works fine when I send an email using telnet command like it's described here: http://emailrelay.sourceforge.net/userguide.html#SH_1_7
The problem is when I try to send nagios notifications via E-MailRelay, I get the following message:
Sep 1 12:10:01 server1 emailrelay[4279]: emailrelay: info: smtp connection closed: read error: disconnected: 192.168.1.150:49111

Code: Select all

vi /etc/ssmtp/ssmtp.conf

[email protected]
mailhub=192.168.1.150:25
rewriteDomain=gmail.com
hostname=ubuntu-virtual
AuthUser=
AuthPass=
FromLineOverride=YES
UseTLS=YES
please advise,
Thanks for your time.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios core E-MailRelay

Post by abrist »

What notification command/handler are you using?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked