PDF Saving Filename issue
PDF Saving Filename issue
Nagios XI 2012R2.9
Offloaded DB
RHEL 6.5 x64
Manual Install
Save as pdf is saving as histogram.php. Have to manually change the file extension to pdf after saving.
Same problem in Firefox 30 and also IE 9
Save as csv is saving correctly as .csv
Offloaded DB
RHEL 6.5 x64
Manual Install
Save as pdf is saving as histogram.php. Have to manually change the file extension to pdf after saving.
Same problem in Firefox 30 and also IE 9
Save as csv is saving correctly as .csv
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
RHEL 6 & 7
rrdcached & ramdisk optimisation
Re: PDF Saving Filename issue
I was not able to recreate the issue in house. I can save PDFs just fine in all major browsers.
Were you able to save PDFs successfully in the past? Have you made any changes to the system prior to seeing this problem? Try to save a report as PDF, then run:
and show us the output in code wraps.
Were you able to save PDFs successfully in the past? Have you made any changes to the system prior to seeing this problem? Try to save a report as PDF, then run:
Code: Select all
tail -50 /var/log/httpd/error_logBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: PDF Saving Filename issue
See the log below, there was no errors generated when I executed the PDF save.lmiltchev wrote:I was not able to recreate the issue in house. I can save PDFs just fine in all major browsers.
Were you able to save PDFs successfully in the past? Have you made any changes to the system prior to seeing this problem? Try to save a report as PDF, then run:
and show us the output in code wraps.Code: Select all
tail -50 /var/log/httpd/error_log
All the errors below were from yesterday.
Code: Select all
[Thu Jun 19 18:11:26 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:11:36 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:11:41 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:11:52 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:12:09 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php?cmd=view&type=service
[Thu Jun 19 18:12:27 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:12:48 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:13:07 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:13:24 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:13:55 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:14:10 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:14:29 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:14:45 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:15:04 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:15:25 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:15:41 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:15:58 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:16:19 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:16:35 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:16:52 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:17:00 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php?cmd=view&type=service
[Thu Jun 19 18:17:45 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:17:51 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:17:58 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php?cmd=view&type=service
[Thu Jun 19 18:18:07 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:18:25 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:18:41 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:19:01 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:19:17 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:19:45 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:20:05 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:20:21 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:20:30 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:20:44 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:21:03 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:21:24 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:21:47 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:22:07 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:22:27 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:22:45 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:23:01 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:23:09 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:23:25 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
[Thu Jun 19 18:23:44 2014] [error] [client 10.17.44.201] PHP Notice: Undefined variable: pagejumpto in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 274, referer: http://10.17.19.235/nagiosxi//includes/components/ccm/index.php
Loading pages (1/6)
[> ] 0%
[======> ] 10%
[======> ] 11%
[=======> ] 13%
[==========> ] 17%
[============> ] 20%
[=============> ] 23%
[===============> ] 26%
[==================> ] 31%
[====================> ] 34%
[=====================> ] 35%
[===========================> ] 45%
[==============================> ] 51%
[==================================> ] 58%
[======================================> ] 64%
[=======================================> ] 66%
[==========================================> ] 70%
[===========================================> ] 73%
[=============================================> ] 75%
[==============================================> ] 77%
[=================================================> ] 82%
[======================================================> ] 90%
[============================================================] 100%
Counting pages (2/6)
[============================================================] Object 1 of 1
Resolving links (4/6)
[============================================================] Object 1 of 1
Loading headers and footers (5/6)
Printing pages (6/6)
[> ] Preparing
[============================================================] Page 1 of 1
Done
Is this right?
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
RHEL 6 & 7
rrdcached & ramdisk optimisation
Re: PDF Saving Filename issue
Permissions are fine. This is not your issue.
Are you right-clicking on the "PDF" icon (Download As PDF) and selecting "Save Link As..."? You need to left-click on the "PDF" icon to view the report then click on "Save a copy" (the diskette icon) within the report. You can use the right-click->save link as..., but you will need to rename the extension of the file to ".pdf". Let me know if this helped.
Are you right-clicking on the "PDF" icon (Download As PDF) and selecting "Save Link As..."? You need to left-click on the "PDF" icon to view the report then click on "Save a copy" (the diskette icon) within the report. You can use the right-click->save link as..., but you will need to rename the extension of the file to ".pdf". Let me know if this helped.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: PDF Saving Filename issue
I am clicking not right clicking. Anyway see the screenshots below.lmiltchev wrote:Permissions are fine. This is not your issue.
Are you right-clicking on the "PDF" icon (Download As PDF) and selecting "Save Link As..."? You need to left-click on the "PDF" icon to view the report then click on "Save a copy" (the diskette icon) within the report. You can use the right-click->save link as..., but you will need to rename the extension of the file to ".pdf". Let me know if this helped.
Using this option to save, results in correct pdf file extension Using this option however, results in php extension Please fix this issue. Thanks
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
RHEL 6 & 7
rrdcached & ramdisk optimisation
Re: PDF Saving Filename issue
Do you have the correct "Program URL" set up (Admin->Manage System Config)? Are you using external URL? Can you open the report in the browser, when you go to: Reports->Alert Histogram->right-click on the PDF icon, and select "Open Link in New Tab"? What happens, when you left-click, and change the file extension from "php" to "pdf"? Can you view the report then?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: PDF Saving Filename issue
Do you have the correct "Program URL" set up (Admin->Manage System Config)?lmiltchev wrote:Do you have the correct "Program URL" set up (Admin->Manage System Config)? Are you using external URL? Can you open the report in the browser, when you go to: Reports->Alert Histogram->right-click on the PDF icon, and select "Open Link in New Tab"? What happens, when you left-click, and change the file extension from "php" to "pdf"? Can you view the report then?
Yes
Are you using external URL?
No
Can you open the report in the browser, when you go to: Reports->Alert Histogram->right-click on the PDF icon, and select "Open Link in New Tab"?
It comes out with a save dialog with the php extension but says it is a PDF file type Here is the same save dialog when triggered from the graph save options
What happens, when you left-click, and change the file extension from "php" to "pdf"? Can you view the report then?
Yes, as updated earlier in this thread, the file is a PDF just the extension is wrong.
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
RHEL 6 & 7
rrdcached & ramdisk optimisation
Re: PDF Saving Filename issue
Can you go to the Options menu in Firefox, click on "Applications", type "pdf" in the "Search" bar, hit "Enter" and show us a screenshot of this page?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: PDF Saving Filename issue
lmiltchev wrote:Can you go to the Options menu in Firefox, click on "Applications", type "pdf" in the "Search" bar, hit "Enter" and show us a screenshot of this page?
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
RHEL 6 & 7
rrdcached & ramdisk optimisation
Re: PDF Saving Filename issue
Change "Always ask" action to "Use Adobe Reader (default)" or to "Use Adobe Acrobat (in Firefox)", or to anything else that you might use to view PDFs in the browser. Click "OK".
See if you can open PDFs now. If you can open the report as a PDF, you can click on the "Save" button within the report to save it.
See if you can open PDFs now. If you can open the report as a PDF, you can click on the "Save" button within the report to save it.
Be sure to check out our Knowledgebase for helpful articles and solutions!