Nagios Log Server not sending alert Emails

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Log Server not sending alert Emails

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
networkeng
Posts: 27
Joined: Wed Nov 12, 2014 5:25 pm

Re: Nagios Log Server not sending alert Emails

Post 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. :?
You do not have the required permissions to view the files attached to this post.
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Nagios Log Server not sending alert Emails

Post by cmerchant »

What mail settings did you use in the logserver? (security, port and authentication), and do you know what the mail server requires?
User avatar
lgroschen
Posts: 384
Joined: Wed Nov 27, 2013 1:17 pm

Re: Nagios Log Server not sending alert Emails

Post 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:
https://technet.microsoft.com/en-us/magazine/2005.11.howitworkssmtp.aspx wrote:The second and third digits provide further details, but at the top level, all that matters is that 1xx, 2xx, and 3xx are good, and 4xx and 5xx indicate problems. (For further information on mail response codes, read RFC 1893.)
/Luke
muratKURU
Posts: 14
Joined: Fri Jan 09, 2015 4:01 am

Re: Nagios Log Server not sending alert Emails

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Log Server not sending alert Emails

Post 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?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
muratKURU
Posts: 14
Joined: Fri Jan 09, 2015 4:01 am

Re: Nagios Log Server not sending alert Emails

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Log Server not sending alert Emails

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
muratKURU
Posts: 14
Joined: Fri Jan 09, 2015 4:01 am

Re: Nagios Log Server not sending alert Emails

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios Log Server not sending alert Emails

Post by tgriep »

Could you post your SMTP settings so we can review them?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked