Page 1 of 1

Reports are hanging

Posted: Wed Apr 15, 2015 3:22 am
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

Re: Reports are hanging

Posted: Wed Apr 15, 2015 9:51 am
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

Re: Reports are hanging

Posted: Sun Apr 19, 2015 10:35 pm
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

Re: Reports are hanging

Posted: Mon Apr 20, 2015 10:51 am
by lmiltchev
Have you entered by chance an external URL under the "System Settings"?

Admin->Manage System Config