Page 1 of 1

Nagios XI 2024R1.1.2 - Cannot Export Bandwidth Usage Reports to PDF

Posted: Tue May 07, 2024 11:08 pm
by silverbenz
Hi all,

Hoping someone else has seen this and found a solution. We've discovered we're unable to export Bandwidth Usage reports to PDF. Every attempt results in a PDF document with only an error stating "The requested URL /nagiosxi/includes/components/bandwidthreport/bandwidthreport.php was not found on this server.". This is consistent whether we attempt to view the PDF directly in a browser (any browser), save it to a file and open it, or have Nagios email it. It is also consistent for every Bandwidth Usage report page.

As stated in the Subject, the version of Nagios XI we're testing on is 2024R1.1.2. However, I've attempted the same export on another XI instance which is at version 2024R1.0.2 and had a similar result, though the error shown in the resulting PDF document is simply "File not found".

I have confirmed there is indeed no "bandwidthreport.php" file anywhere on either of the Nagios hosts that I've found this problem on.

Just in case it's not obvious, these are the steps I follow to generate the PDF:
- Reports
- [Available Reports] Bandwidth Usage
- Click any "View Report" link to open a report
- Once the report is showing, go to the top-right of the report frame and click the Download dropdown
- Select PDF

Feel free to let me know if there's any more info that might be of use. Thanks in advance for any help.

Re: Nagios XI 2024R1.1.2 - Cannot Export Bandwidth Usage Reports to PDF

Posted: Wed May 08, 2024 12:56 pm
by lgute
Hi @silverbenz, thanks for reaching out.

Thank you for reporting this issue. A ticket has been created to get this fixed.

Re: Nagios XI 2024R1.1.2 - Cannot Export Bandwidth Usage Reports to PDF

Posted: Wed May 08, 2024 6:49 pm
by silverbenz
Thanks Laura. Guessing that means 2024R1.1.3 is what I need to wait for then?

Re: Nagios XI 2024R1.1.2 - Cannot Export Bandwidth Usage Reports to PDF

Posted: Thu May 09, 2024 10:15 am
by lgute
Hi @silverbenz,

2024R1.1.3 is closed for development, so I can not say which release it will be addressed in.

Re: Nagios XI 2024R1.1.2 - Cannot Export Bandwidth Usage Reports to PDF

Posted: Tue May 14, 2024 10:51 am
by lgute
Hi @silverbenz,

Here is a patch for the Bandwidth Usage report's PDF issue.

To apply the patch, rename the index.php file.

Code: Select all

mv /usr/local/nagiosxi/html/includes/components/bandwidthreport/index.php /usr/local/nagiosxi/html/includes/components/bandwidthreport/index.php.bak
Unzip the attachment, copy index.php into the bandwidthreport directory and update the owner/group.

Code: Select all

unzip index.zip
cp index.php /usr/local/nagiosxi/html/includes/components/bandwidthreport
chown nagios:nagios /usr/local/nagiosxi/html/includes/components/bandwidthreport/index.php

Re: Nagios XI 2024R1.1.2 - Cannot Export Bandwidth Usage Reports to PDF

Posted: Wed Jun 12, 2024 1:07 am
by silverbenz
Hi Laura,

Apologies for the late reply, I've been on Leave. Thank you for the patch. I have applied it and has resolved the issue, which is awesome.

If the patch is not included in the next update (2024R1.1.3) as you mentioned, is it likely that the update will overwrite the patch and we'll need to apply it again?

Many thanks for your assistance.
Ben.

Re: Nagios XI 2024R1.1.2 - Cannot Export Bandwidth Usage Reports to PDF

Posted: Wed Jun 12, 2024 5:56 pm
by lgute
Hi @silverbenz,

I believe so. The fix will be included in our summer feature release, 2024R1.2.

Re: Nagios XI 2024R1.1.2 - Cannot Export Bandwidth Usage Reports to PDF

Posted: Thu Jun 13, 2024 12:02 am
by silverbenz
Thanks again Laura. Is there a target release date for 2024R1.2? Or even a slightly narrower window than "summer"? :)

Ben.

Re: Nagios XI 2024R1.1.2 - Cannot Export Bandwidth Usage Reports to PDF

Posted: Thu Jun 13, 2024 8:52 am
by lgute
Hi Ben (@silverbenz),

I have not heard an official date. We have a lot of things in development, so things are a bit in flux. I would guess no sooner than August.

Re: Nagios XI 2024R1.1.2 - Cannot Export Bandwidth Usage Reports to PDF

Posted: Thu Jun 13, 2024 7:02 pm
by silverbenz
No worries. Thanks again Laura for your help. Feel free to close this one off.

Ben.