Reports in Email are empty

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ssnewpenn
Posts: 2
Joined: Mon Oct 03, 2016 10:17 am

Reports in Email are empty

Post by ssnewpenn »

We recently installed the new 5.3 NagiosXI from the OVA on the website. This VM was created with 32 Gig of RAM, 25 GB HD, and 2 Processors with 2 Cores each. At this time we can view reports on the HTML site or via download, but if we send the reports via email, either scheduled or ad hoc, we get empty or corrupt attachments. Any help would be greatly appreciated. We have updated the server with the alert fix since it was unable to send email alerts when first installed.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Reports in Email are empty

Post by lmiltchev »

Were you able to schedule reports prior to the upgrade? Are you emailing a "regular" report, i.e. availability, state history, etc. or you are scheduling a page, and emailing it? Are you using/forcing ssl?

Go to Admin->System Settings, and show a screenshot of this page.

Also, run the following commands, and show the output in code wraps:

Code: Select all

ip addr | grep global | grep -m 1 'inet' | awk '/inet[^6]/{print substr($2,0)}' | sed 's|/.*||'
hostname -f
cat /etc/hosts
grep use_https /usr/local/nagiosxi/html/config.inc.php
tail -100 /var/log/httpd/error_log
Be sure to check out our Knowledgebase for helpful articles and solutions!
ssnewpenn
Posts: 2
Joined: Mon Oct 03, 2016 10:17 am

Re: Reports in Email are empty

Post by ssnewpenn »

Sorry for my delayed response, I had also opened an email support ticket. What we found out was that the External URL was missing the /nagiosxi/ at the end of the address. Once we added that to the External URL, everything start working properly. I just wanted to put the solution up here in case anyone else ever experiences the issue.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Reports in Email are empty

Post by tmcdonald »

Thanks for posting back! I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked