Page 1 of 2

Nagios XI Sendmail Test

Posted: Thu Feb 08, 2018 12:27 am
by DataAssure
What's the secret behind Nagios XI Email alert? I was able to send test emails and Nagiox reported successful but I never received the mails in my Gmail, O365 and IPS mail. Already checked nagiosadmin profile & Email setting. They looked OK. Nagio XI is a VM running on Windows 2012R2 Hyper-V w/ Internet enabled. TIA

Re: Nagios XI Sendmail Test

Posted: Thu Feb 08, 2018 10:33 am
by npolovenko
Hello, @DataAssure. So XI says that a test email was sent but you never received it, right? Can you try sending it one more time and then upload the most recent maillog from your system:

Code: Select all

/var/log/maillog

Re: Nagios XI Sendmail Test

Posted: Thu Feb 08, 2018 11:17 am
by DataAssure
The maillog says: Network unreachable! Let me investigate my XI config. Tx for the pointer!
The frustrating thing is it says successful & no error. At first I thought it's O365 STARTTLS so we switched to Gmail & ISP. No dice.
Pls don't lock this yet. Let me check first. TX

Re: Nagios XI Sendmail Test

Posted: Thu Feb 08, 2018 11:28 am
by DataAssure
Network checked OK but we are still getting the Network Timeout error. Let me try the Nagios XI VM on our VMware server. The one doesn't work is on Hyper-V.

Re: Nagios XI Sendmail Test

Posted: Thu Feb 08, 2018 11:38 am
by DataAssure
Both Hyper-V & VMware displayed the same error: Network Unreachable. We have others VMs, Windows & Linux, on both hypervisors & they are working fine except Nagios XI.

Re: Nagios XI Sendmail Test

Posted: Thu Feb 08, 2018 12:15 pm
by npolovenko
@DataAssure, Are you using SSL with Nagios XI? Also, this article might provide a solution to your problem:
http://ithelpblog.com/itapplications/ho ... ble-error/

Re: Nagios XI Sendmail Test

Posted: Thu Feb 08, 2018 12:55 pm
by DataAssure
No.

Re: Nagios XI Sendmail Test

Posted: Thu Feb 08, 2018 1:08 pm
by kyang
Could you PM me your mail log, phpmailer.log, profile and post a screenshot of your mail settings?

Code: Select all

/var/log/maillog

Code: Select all

/usr/local/nagiosxi/tmp/phpmailer.log
Mail settings screenshot --> XI home page --> click Admin --> on the left side under System Config --> Click Manage Email Settings --> Screenshot this page.


Nagios XI Profile instructions --> On the XI Home Page click "Admin" > "System Profile" --> "Download Profile" button
Save the profile.zip file and upload it here or PM me.

If you receive a PROFILE BUILD FAILED
Please follow this article,

https://support.nagios.com/kb/article.p ... ategory=44

After you PM the profile please update this thread, unless you post the profile on here. Thanks!

Re: Nagios XI Sendmail Test

Posted: Thu Feb 08, 2018 1:47 pm
by DataAssure
General Mail Settings
Send Mail From:
Nagios XI <[email protected]>
Mail Method:
Sendmail
SMTP
Debug Log:
This will enable debug logging for phpmailer emails. The log is located here: /usr/local/nagiosxi/tmp/phpmailer.log
Sendmail log location depends on your system (examples: /var/log/maillog or /var/log/mail.log)

Re: Nagios XI Sendmail Test

Posted: Thu Feb 08, 2018 2:02 pm
by DataAssure
I just downloaded the VMware image 5.4.2 & deploy it in my vSphere. I did change the Mail Settings before tried sending a test mails. No go.