Nagios XI Sendmail Test

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
DataAssure
Posts: 34
Joined: Thu Jul 31, 2014 8:36 am

Nagios XI Sendmail Test

Post 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
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Nagios XI Sendmail Test

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
DataAssure
Posts: 34
Joined: Thu Jul 31, 2014 8:36 am

Re: Nagios XI Sendmail Test

Post 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
DataAssure
Posts: 34
Joined: Thu Jul 31, 2014 8:36 am

Re: Nagios XI Sendmail Test

Post 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.
DataAssure
Posts: 34
Joined: Thu Jul 31, 2014 8:36 am

Re: Nagios XI Sendmail Test

Post 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.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Nagios XI Sendmail Test

Post 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/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
DataAssure
Posts: 34
Joined: Thu Jul 31, 2014 8:36 am

Re: Nagios XI Sendmail Test

Post by DataAssure »

No.
kyang

Re: Nagios XI Sendmail Test

Post 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!
DataAssure
Posts: 34
Joined: Thu Jul 31, 2014 8:36 am

Re: Nagios XI Sendmail Test

Post 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)
DataAssure
Posts: 34
Joined: Thu Jul 31, 2014 8:36 am

Re: Nagios XI Sendmail Test

Post 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.
Locked