Page 1 of 1

Issues Downloading Report

Posted: Fri May 20, 2016 11:13 am
by Berto
Hello,

I was asked to get some CPU stats from Nagios and when I try to download the report I generated I get this error:

The requested URL /reports/availability.php was not found on this server.


Not sure what this mean.

--Berto

Re: Issues Downloading Report

Posted: Fri May 20, 2016 12:09 pm
by bwallace
One of the things that could cause the PDF reports to fail is that the Program URL on the Admin > System Settings screen is not set like below.
http://xxx.xxx.xxx.xxx/nagiosxi/

If /nagiosxi/ is not on the end of the URL, the PDF reports will not work.
Make sure it is set like the example above.

If that checks out, then please run the following in a shell on the Nagios system and post the output.

Code: Select all

ll /usr/local/nagiosxi/
ll /usr/local/nagiosxi/html/
ll /usr/local/nagiosxi/html/reports/

Re: Issues Downloading Report

Posted: Fri May 20, 2016 2:07 pm
by Berto
Yup my problem was having an improper URL, once I added nagiosxi to the end it worked. Thanks!!!

--Berto

Re: Issues Downloading Report

Posted: Fri May 20, 2016 2:13 pm
by bwallace
Glad to hear it is resolved! I'll go ahead and lock this thread now, thanks.