Reports are hanging

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mkeil77
Posts: 34
Joined: Sun Mar 09, 2014 5:59 am

Reports are hanging

Post by mkeil77 »

Hi,

since a couple of days we're not able to send any reports by email.
to generate the report as PDF or CSV is working but as soon as we want to sent them by clicking the 'Save/Send' link the browser is hanging.
we already checked all available reports but it's all the same.
I also noticed that the PDF attachment for scheduled reports are not readable any more.

regards
Matthias
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Reports are hanging

Post by lmiltchev »

Are you seeing this issue with ALL reports?

Try to send a report, then run the following command and show us the output in code wraps:

Code: Select all

tail -50 /var/log/httpd/error_log
Be sure to check out our Knowledgebase for helpful articles and solutions!
mkeil77
Posts: 34
Joined: Sun Mar 09, 2014 5:59 am

Re: Reports are hanging

Post by mkeil77 »

Yes with all reports.
I think i found the reason for the problem. as per the below log Nagios is trying to use the external/public IP to generate the report.
This is of course not working if I'm on the local LAN since then the access to the external IP is blocked by the firewall.

But why is Nagios not using his internal IP?

--2015-04-20 07:24:29-- http://xxx.xxx.xxx.xxx/nagiosxi//report ... S&mode=pdf
Connecting to xxx.xxx.xxx.xxx:80... failed: Connection timed out.
Retrying.

--2015-04-20 07:25:33-- (try: 2) http://xxx.xxx.xxx.xxx/nagiosxi//report ... S&mode=pdf
Connecting to xxx.xxx.xxx.xxx:80...


lmiltchev wrote:Are you seeing this issue with ALL reports?

Try to send a report, then run the following command and show us the output in code wraps:

Code: Select all

tail -50 /var/log/httpd/error_log
Last edited by jolson on Mon Apr 20, 2015 9:47 am, edited 2 times in total.
Reason: Removed sensitive information
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Reports are hanging

Post by lmiltchev »

Have you entered by chance an external URL under the "System Settings"?

Admin->Manage System Config
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked