Nagios XI Sendmail Test

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
kyang

Re: Nagios XI Sendmail Test

Post by kyang »

Can you run this Ping command from your XI server and show us the output?

Code: Select all

ping gmail-smtp-in.l.google.com
Could you try sending us a screenshot of the mail settings instead of text?

There should be a checkbox on that screen that says "Debug log" --> check it and Update settings. --> Send a test email and wait for other service emails --> then send us your phpmailer.log

Code: Select all

/usr/local/nagiosxi/tmp/phpmailer.log
Lastly, could you send us a profile from your Nagios XI?

These are the steps to download your profile to us.

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 »

Ping gmail-smtp-in.l.google.com Positive. My Nagios XI sees the smtp at google.
I did try to PM you the profile.zip but I have 2 mails pending in my Outbox. Do I have to adjust anything in my settings here?
kyang

Re: Nagios XI Sendmail Test

Post by kyang »

UPDATE: Thanks, I received your profile and have shared it with other techs.

About the 2 emails pending. --> It just means that I haven't opened your messages yet.

Also in your PM, you said that you tried both SMTP and Sendmail.
Are you now using SMTP or Sendmail to send to your gmail address?

Let me know, while I'm taking a look at your profile.
DataAssure
Posts: 34
Joined: Thu Jul 31, 2014 8:36 am

Re: Nagios XI Sendmail Test

Post by DataAssure »

Ideally, I would like to use O365 smtp but right now I'm using Sendmail thinking that should make things a little bit easier w/o SSL but ...
Tks a lot!

p.s. I didn't touch anything to the VMware & Hyper-V image except the Mail Setting to enable it but looks like something is definitely wrong w/ our phpmailer. Btw, I'm not the 1st customer reporting this issue. One of my customers evaluating Nagios Xi was facing the same issue which triggered my team to investigate.
kyang

Re: Nagios XI Sendmail Test

Post by kyang »

Could you run a tcpdump for me. You may have to install tcpdump. (Where 192.168.x.xxx is your Nagios XI host ip)

Code: Select all

yum install -y tcpdump
1.

Code: Select all

tcpdump -i any host 192.168.x.xxx and port 25 -w /tmp/25.pcap
Once this is running from the command line.

2. Go back into Nagios XI and submit a test email again.

3. Then hit ctrl-c to exit out of the tcpdump command, and PM or post the 25.pcacp file located in your /tmp directory to me.

Thanks!
Locked