Unsolved
1 Rookie
•
43 Posts
0
1860
InsightIQ stopped sending emails
I had been getting these nice reports (I can still access reports from the web-based console, so InsightIQ is able to collect data) by email.
But a couple of weeks ago, the emails stopped coming.
I went to Settings > Email, and cannot even successfully send a test email.
I have an internal email relay that is set to allow the InsightIQ's IP address, and it has in fact worked before. The relay server's logs don't show any connections from InsightIQ's IP address. The relay server and InsightIQ can both ping each other by name and IP address.
Has anyone seen anything like this, or have a suggestion what to check? I have even restarted InsightIQ to no avail.
(InsightIQ vversion: 4.1.2.7)
crklosterman
450 Posts
0
September 17th, 2018 06:00
Troubleshooting Steps:
1. SSH to the InsightIQ Server, and see if you can connect on port 25 to the relay. It's pretty simple, do: 'curl smtpserver.domain.xyz:25'. If the mail relay answers you're at least good on that front (no firewall changes in the middle stopping the traffic. If it doesn't answer, then do a 'tracert smtpserver.domain.xyz' to see all the hops between the InsightIQ server and the mail relay, and figure out what firewall or router might be blocking the traffic. Troubleshoot that device as necessary.
2. If that doesn't reveal the issue, then I'd suggest rebooting the InsightIQ server, to recycle the sendmail, or whatever other mail daemon is in use. Then send another test. If it again doesn't go through, and that mail relay is working for other devices on your network (the Isilon cluster itself for example), then open an SR with DellEMC Support.
Hope this helps;
~Chris Klosterman
Principal SE, Datadobi
chris.klosterman@datadobi.com
Phil.Lam
1 Rookie
1 Rookie
•
567 Posts
0
September 17th, 2018 09:00
kaffiend
If SMTP server answers, then do a self test email on IIQ webUI, then check the /var/log/insightiq.log. Hopefully it will give you the error.
EXAMPLE:
[root@localhost log]# cat insightiq.log | grep 2018-09-17
...
2018-09-17 08:32:56,767 INFO [insightiq.lib] SMTP: Successfully sent email
2018-09-17 08:32:56,767 INFO [insightiq.lib] FROM: IRCLab@dell.com
2018-09-17 08:32:56,767 INFO [insightiq.lib] TO: phil.lam@dell.com
2018-09-17 08:32:56,768 INFO [insightiq.lib] DATE: Mon, 17 Sep 2018 08:32:50 -0700
2018-09-17 08:32:56,768 INFO [insightiq.lib] SUBJECT: InsightIQ: Email Configuration Test
2018-09-17 08:32:56,769 INFO [insightiq.lib] SIZE: 568 bytes
CrashCart
1 Rookie
1 Rookie
•
43 Posts
0
September 18th, 2018 09:00
Thanks for the tips, guys.
I had already rebooted the server once before. And I do get a reply when I do: 'curl smtpserver.domain.xyz:25'. So, at least I can eliminate the network as the cause of the problem.
Strangely enough, the test emails now get sent. (Even sending a test email had been unsuccessful before)
I will look more closely at the insightiq.log to see if I can spot any clues - thanks for pointing out its location.
Letbetterp
196 Posts
0
September 19th, 2018 05:00
After upgrading to 4.1.2.7 reporting quit working.
The status would say running or failed.
I restarted services that fixes it, but after a week or 2 it happens again.
sudo service insightiq stop
sudo service insightiq start
Something is still not correct
I am going to open an SR
CrashCart
1 Rookie
1 Rookie
•
43 Posts
1
October 16th, 2018 14:00
After some time trying to fix this myself, I broke down and contacted support.
The problem turned out to be related to rabbitmq (message queueing) not working right.
Look at this article:
https://emcservice.force.com/CustomersPartners/kA2f1000000G3McCAK
After restarting rabbitmq ( rabbitmq-server start ), and then starting the insightiq service, I was then able to generate reports manually in the web-console. And, have been receiving daily scheduled reports as before.
Letbetterp
196 Posts
0
October 17th, 2018 08:00
Support ran through the same commands with me, but it came back again.
It took a week or 2 to happen again.
I wonder if you will have same problem