Page 2 of 3
Re: Nagios Log Server not sending alert Emails
Posted: Fri Jan 23, 2015 11:45 am
by scottwilkerson
networkeng wrote:
Any idea on when the test mail server feature will be implemented?
Next release
networkeng wrote:
Also, is there a good write up on how to integrate these Nagios Log Server alerts into Nagios-XI so we can just bypass this Log Server email issue altogether?
http://library.nagios.com/library/produ ... log-events
Just choose the NRDP alert method
You can get/set your NRDP token in XI from Admin -> Inbound Transfers
Also, there is a Log Server Wizard here
http://exchange.nagios.org/directory/Ad ... rd/details
Just save your queries and you can just run the wizard to set them up.
Re: Nagios Log Server not sending alert Emails
Posted: Fri Feb 13, 2015 11:28 am
by networkeng
I upgraded to the latest version and now have the 'Test Settings' button. When I press it nothing happens or it turns to 'Please Wait'. My colleague (Exchange admin) tested it and let it run for several minutes. He received the error message attached below. It looks like Nagios Log Server does not like MS Exchange. The "error" message shows that the MAIL Service is ready.

Re: Nagios Log Server not sending alert Emails
Posted: Fri Feb 13, 2015 3:56 pm
by cmerchant
What mail settings did you use in the logserver? (security, port and authentication), and do you know what the mail server requires?
Re: Nagios Log Server not sending alert Emails
Posted: Mon Feb 16, 2015 2:08 pm
by lgroschen
Can you please let me know which version of MS Exchange you are using so I can try to replicate/test this.
That message is coming up because the Test button will try the send command and if it fails print out the message that was returned, also the MS Exchange server is using E(xtended)SMTP so I think the protocol will be passed differently than SMTP. Using current SMTP settings it is passing the protocol in front of the hostname for example SSL would look like ssl://localhost. The message you received is just saying that you successfully opened a command line terminal for the Mail service. So it didn't fail it just might need to have the mail arguments (host, protocol, etc.) passed all together and to send the mail instead of opening an interactive command line.
The return code 220 is explained from the microsoft website:
Re: Nagios Log Server not sending alert Emails
Posted: Wed Feb 18, 2015 6:28 am
by muratKURU
Hi All
Is this Problem now solved?
I can't send Email alert over Nagios Log Server either!
Very very frustrating! And I'm valuating this Tool hhmmm
Re: Nagios Log Server not sending alert Emails
Posted: Wed Feb 18, 2015 12:13 pm
by scottwilkerson
@muratKURU -
What version are you running?
If it is 2014R1.3, what setting are you using in the mail settings?
Does the test mail setting succeed?
Re: Nagios Log Server not sending alert Emails
Posted: Thu Feb 19, 2015 2:58 am
by muratKURU
scottwilkerson wrote:@muratKURU -
What version are you running?
If it is 2014R1.3, what setting are you using in the mail settings?
Does the test mail setting succeed?
@scottwilkerson
The version we are using is 2015R1.2.
We choose for the "Send Email Method" SMTP Server.
Test mail? Their is
unfortunately no "send test mail" option.
Re: Nagios Log Server not sending alert Emails
Posted: Thu Feb 19, 2015 9:10 am
by scottwilkerson
I would definitely recommend upgrading to 1.3, not only is there a test email settings button, you can also verify that scheduled jobs (those that process alert emails) are running successfully.
Re: Nagios Log Server not sending alert Emails
Posted: Fri Feb 27, 2015 5:20 am
by muratKURU
Hi scottwilkerson
I did upgrade it to 1.3 but I still can't send Alert E-Mail.
Below the screenshot of the error message:
As you can see, I have the same error message as networkeng.
Please help.
Re: Nagios Log Server not sending alert Emails
Posted: Fri Feb 27, 2015 3:32 pm
by tgriep
Could you post your SMTP settings so we can review them?