Send alert mail over exchange smtp

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
maxvandl
Posts: 4
Joined: Fri Oct 27, 2017 2:41 am

Send alert mail over exchange smtp

Post by maxvandl »

Hello!

When i try send alert mail over exchange smtp i get
Oct 25 21:42:11 svrumskmon01 postfix/error[28944]: CB82C1B79: to=<helpdesk@domain>, relay=none, delay=185076, delays=185074/1.4/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to mailserver[IP]:25: Connection refused)

i make relay and connections to exchange
I use exchange 2013 did i need make any changes for postfix relay.
kyang

Re: Send alert mail over exchange smtp

Post by kyang »

Did you change your email settings in XI Home --> Admin --> (Under system config) click Manage email settings --> Change sendmail to SMTP.

Then add your SMTP host, Port --> username and password if necessary and security.

Take a look at the documentation on SMTP from pages (specifically pages 5-7)
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Does this help?
maxvandl
Posts: 4
Joined: Fri Oct 27, 2017 2:41 am

Re: Send alert mail over exchange smtp

Post by maxvandl »

kyang wrote:Did you change your email settings in XI Home --> Admin --> (Under system config) click Manage email settings --> Change sendmail to SMTP.

Then add your SMTP host, Port --> username and password if necessary and security.

Take a look at the documentation on SMTP from pages (specifically pages 5-7)
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Does this help?
it not help me. I did it.
kyang

Re: Send alert mail over exchange smtp

Post by kyang »

Are you able to telnet the exchange server over port 25?

Code: Select all

telnet <ipaddress> 25
Or you could run the check_smtp plugin from Nagios

Code: Select all

 cd /usr/local/nagios/libexec
 ./check_smtp -H hostaddress -p 25
Are you authenticating SMTP?
maxvandl
Posts: 4
Joined: Fri Oct 27, 2017 2:41 am

Re: Send alert mail over exchange smtp

Post by maxvandl »

kyang wrote:Are you able to telnet the exchange server over port 25?

Code: Select all

telnet <ipaddress> 25
Or you could run the check_smtp plugin from Nagios

Code: Select all

 cd /usr/local/nagios/libexec
 ./check_smtp -H hostaddress -p 25
Are you authenticating SMTP?
[root@host libexec]# ./check_smtp -H mailserver -p 25
SMTP OK - 0.007 sec. response time|time=0.006663s;;;0.000000
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Send alert mail over exchange smtp

Post by dwhitfield »

maxvandl wrote:delivery temporarily suspended
Are you still having issues? The temporary nature of this suggests you need to speak with your mail administrator, whether this is someone in your organization or an external provider.

It's possible there was initially a flood of emails. If you have warnings and criticals resolved, that flood would no longer be causing you to get blocked.
maxvandl
Posts: 4
Joined: Fri Oct 27, 2017 2:41 am

Re: Send alert mail over exchange smtp

Post by maxvandl »

dwhitfield wrote:
maxvandl wrote:delivery temporarily suspended
Are you still having issues? The temporary nature of this suggests you need to speak with your mail administrator, whether this is someone in your organization or an external provider.

It's possible there was initially a flood of emails. If you have warnings and criticals resolved, that flood would no longer be causing you to get blocked.
Now i can get email from nagios to nagios mailbox but cannt get email on helpdesk@domain
Still get error
svrumskmon01 postfix/error[28944]: CB82C1B79: to=<helpdesk@domain>, relay=none, delay=185076, delays=185074/1.4/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to mailserver[IP]:25: Connection refused)
kyang

Re: Send alert mail over exchange smtp

Post by kyang »

It looks like it's the same issue as before?
status=deferred (delivery temporarily suspended: connect to mailserver[IP]:25: Connection refused)
Did you have a chance to speak to your mail administrator?

It goes back to what @dwhitfield said in his previous post.
If you have warnings and criticals resolved, that flood would no longer be causing you to get blocked.
Do you have a lot of issues on Nagios, which are causing a lot of notifications?
Locked