Good evening,
We are able to export our reports in all different types except PDF. After reviewing configuration, I have found the following errors in console and terminal. If needed, I can provide a profile.
Note: The reported not found files exist on server and all ip and ports were removed from screenshots.
See attached pictures for errors found.
Can not generate PDFs from reports
Can not generate PDFs from reports
You do not have the required permissions to view the files attached to this post.
Re: Can not generate PDFs from reports
The first screenshot about the `.map` file missing is a red herring; .map files are for debugging minified scripts using the browser and are not needed or referenced unless you're debugging.
Really the only error that's concerning is the 404 error for the statehistory.php page. That page is supposed to exist, and be an actual PHP file, and the fact it's not makes me think something is messed up with your installation.
What version of Nagios XI are you running?
If you PM me a system profile, I can diagnose further.
Really the only error that's concerning is the 404 error for the statehistory.php page. That page is supposed to exist, and be an actual PHP file, and the fact it's not makes me think something is messed up with your installation.
What version of Nagios XI are you running?
If you PM me a system profile, I can diagnose further.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Re: Can not generate PDFs from reports
Good morning,
We are running Nagiox XI 5.8.1. I will pm you my profile this morning.
We are running Nagiox XI 5.8.1. I will pm you my profile this morning.
Re: Can not generate PDFs from reports
With the fourth screenshot, the one that says "Not Found" what does the URL bar say?
If it's surrounded by the Nagios XI border, open it in Firefox, right click on the error and say "This Frame => Show Only This Frame."
I can't seem to find this request in the logs in your profile, so I'm thinking that the request somehow redirects to a different server.
If it's surrounded by the Nagios XI border, open it in Firefox, right click on the error and say "This Frame => Show Only This Frame."
I can't seem to find this request in the logs in your profile, so I'm thinking that the request somehow redirects to a different server.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Re: Can not generate PDFs from reports
Good morning,
The ip and port is the same but the following is after the base url:
/nagiosxi/reports/availability.php?reportperiod=last24hours&startdate=&enddate=&host=&service=&hostgroup=&servicegroup=&advanced=0&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringdowntime=yes&includesoftstates=no&assumedhoststate=3&assumedservicestate=6&timeperiod=&mode=getreport&mode=pdf
The ip and port is the same but the following is after the base url:
/nagiosxi/reports/availability.php?reportperiod=last24hours&startdate=&enddate=&host=&service=&hostgroup=&servicegroup=&advanced=0&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringdowntime=yes&includesoftstates=no&assumedhoststate=3&assumedservicestate=6&timeperiod=&mode=getreport&mode=pdf
Re: Can not generate PDFs from reports
What's the output from the following command?
Code: Select all
ls -la /usr/local/nagiosxi/html/reportsIf you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Re: Can not generate PDFs from reports
ls -la /usr/local/nagiosxi/html/reports
total 1572
drwxr-xr-x 2 nagios nagios 4096 Feb 25 2020 .
drwxr-xr-x 19 root nagios 4096 Feb 16 14:36 ..
-rwxr-xr-- 1 nagios nagios 415993 Mar 1 17:57 alertheatmap.php
-rwxr-xr-- 1 nagios nagios 136722 Mar 1 17:57 availability.php
-rwxr-xr-- 1 nagios nagios 31146 Mar 1 17:57 eventlog.php
-rw-r--r-- 1 nagios nagios 34897 Mar 1 17:57 execsummary.php
-rwxr-xr-- 1 nagios nagios 36831 Mar 1 17:57 histogram.php
-rwxr-xr-- 1 nagios nagios 2020 Mar 1 17:57 index.php
-rwxr-xr-- 1 nagios nagios 8150 Mar 1 17:57 myreports.php
-rwxr-xr-- 1 nagios nagios 3063 Mar 1 17:57 nagiosxireports.php
-rwxr-xr-- 1 nagios nagios 43889 Mar 1 17:57 notifications.php
-rw-r--r-- 1 nagios nagios 759985 Mar 1 17:57 sla.php
-rwxr-xr-- 1 nagios nagios 62763 Mar 1 17:57 statehistory.php
-rwxr-xr-- 1 nagios nagios 46677 Mar 1 17:57 topalertproducers.php
total 1572
drwxr-xr-x 2 nagios nagios 4096 Feb 25 2020 .
drwxr-xr-x 19 root nagios 4096 Feb 16 14:36 ..
-rwxr-xr-- 1 nagios nagios 415993 Mar 1 17:57 alertheatmap.php
-rwxr-xr-- 1 nagios nagios 136722 Mar 1 17:57 availability.php
-rwxr-xr-- 1 nagios nagios 31146 Mar 1 17:57 eventlog.php
-rw-r--r-- 1 nagios nagios 34897 Mar 1 17:57 execsummary.php
-rwxr-xr-- 1 nagios nagios 36831 Mar 1 17:57 histogram.php
-rwxr-xr-- 1 nagios nagios 2020 Mar 1 17:57 index.php
-rwxr-xr-- 1 nagios nagios 8150 Mar 1 17:57 myreports.php
-rwxr-xr-- 1 nagios nagios 3063 Mar 1 17:57 nagiosxireports.php
-rwxr-xr-- 1 nagios nagios 43889 Mar 1 17:57 notifications.php
-rw-r--r-- 1 nagios nagios 759985 Mar 1 17:57 sla.php
-rwxr-xr-- 1 nagios nagios 62763 Mar 1 17:57 statehistory.php
-rwxr-xr-- 1 nagios nagios 46677 Mar 1 17:57 topalertproducers.php
Re: Can not generate PDFs from reports
I'm confused - why are the time stamps on the files yesterday, March 1? Did a complete reinstall of Nagios XI happen in the intervening time between when you first had the error and now?
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Re: Can not generate PDFs from reports
Good evening,
We did not do a re-install but an upgrade to the latest version as its our policy to upgrade our installation as soon as possible to mitigate any security issues found by the Nagios team and disclosed in the change log of a new update. The error with the new installation is the same error we were receiving prior and files present are the same. If needed, I can provide another profile but assure you that only the upgrade has changed with the installation from 5.8.1 to the latest 5.8.2
We did not do a re-install but an upgrade to the latest version as its our policy to upgrade our installation as soon as possible to mitigate any security issues found by the Nagios team and disclosed in the change log of a new update. The error with the new installation is the same error we were receiving prior and files present are the same. If needed, I can provide another profile but assure you that only the upgrade has changed with the installation from 5.8.1 to the latest 5.8.2
Re: Can not generate PDFs from reports
Are you using a non-standard port for your Nagios XI web server?
Do you have SSL configured for the Nagios XI web server, and is that what you use to connect to Nagios XI?
Do you have SSL configured for the Nagios XI web server, and is that what you use to connect to Nagios XI?
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.