Problems when I need to generate the reports in PDF

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
novisnagios
Posts: 14
Joined: Fri Jul 20, 2018 4:30 pm

Re: Problems when I need to generate the reports in PDF

Post by novisnagios »

npolovenko wrote:@novisnagios, How much ram do you have on this server? Please double the memory_limit in the /etc/php.ini file and restart the apache with:

Code: Select all

service httpd restart
[root@nvsplmonnagvt01 libexec]# free -m
total used free shared buffers cached
Mem: 12025 9854 2170 22 182 8252
-/+ buffers/cache: 1419 10605
Swap: 2015 38 1977
[root@nvsplmonnagvt01 libexec]# egrep -n '^memory_limit|^max_' /etc/php.ini
440:max_execution_time = 180
449:max_input_time = 180
457:memory_limit = 1024M
1659:max_input_vars = 5000


From the command like run the "top" command and then generate a PDF report from the GUI. Let me know what the system load looks like. Take a screenshot of the command output if you can.

Image

If you have google chrome, right click on the stuck webpage and from the drop-down list select "Inspect". First, click on the Console tab and see if there are any errors. Next, go to the network tab and take a screenshot of top time-consuming queries.
Image

Image
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Problems when I need to generate the reports in PDF

Post by tgriep »

Edit the following file on the Nagios server

Code: Select all

/etc/httpd/conf/httpd.conf
Add this line to the bottom of that config file.

Code: Select all

LimitRequestLine 100000
Save the file and restart the Apache process by running

Code: Select all

service httpd restart
Try running the report and downloading it as a PDF file.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked