session timed out in schedule reports
-
- Posts: 28
- Joined: Tue May 07, 2019 12:17 am
session timed out in schedule reports
I am scheduling metric CPU and memory report in PDF. But i do receive PDF file with no data in it. I only see report name and 'session timed out' string in PDF file. I have optimized php settings but there is no success. I have uploaded httpd and wkhtmltox logs for reference.please help.
There is another issue when i try to download capacity planning report for all hosts, nagios portal does not responds i observed CPU goes 100% for wkhtmltox process and dont finish till we kill it.
There is another issue when i try to download capacity planning report for all hosts, nagios portal does not responds i observed CPU goes 100% for wkhtmltox process and dont finish till we kill it.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: session timed out in schedule reports
Hello @kn00567386,
To clarify, did you follow our directions below to optimize the PHP settings?
https://support.nagios.com/kb/article/n ... e-611.html
Can you send us your system profile to help troubleshoot? You may be running out disk space or system resources. Thanks.
To send us your system profile.
Login to the Nagios XI GUI using a web browser
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share this in a private message and then reply to this post to bring it up in the queue.
To clarify, did you follow our directions below to optimize the PHP settings?
https://support.nagios.com/kb/article/n ... e-611.html
Can you send us your system profile to help troubleshoot? You may be running out disk space or system resources. Thanks.
To send us your system profile.
Login to the Nagios XI GUI using a web browser
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share this in a private message and then reply to this post to bring it up in the queue.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 28
- Joined: Tue May 07, 2019 12:17 am
Re: session timed out in schedule reports
I have messaged you profile.
yes I have already did that but no success after it.
yes I have already did that but no success after it.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: session timed out in schedule reports
Hi,
Got your message and while looking over the profile, I noticed these entries in the Apache logs.
Lastly, can you upload or PM the empty pdf report and is this affecting all of the reports in XI. What happens when you simply download the pD of the report without scheduling it. Thanks
Got your message and while looking over the profile, I noticed these entries in the Apache logs.
I would remove the # symbol ( see: https://en.wikipedia.org/wiki/INI_file#Comments).PHP Deprecated: Comments starting with '#' are deprecated in /etc/php.ini on line 1430 in Unknown on line 0
Let's check the permissionson the config.inc.php file (attach the file).PHP Fatal error: require_once(): Failed opening required '/usr/local/nagiosxi/html/includes/../config.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagiosxi/html/includes/common.inc.php on line 6, referer: https://10.65.238.201/nagiosxi/includes ... mory+Usage
Code: Select all
ls -lR /usr/local/nagiosxi/ > /tmp/support.txt
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 28
- Joined: Tue May 07, 2019 12:17 am
Re: session timed out in schedule reports
@BenjaminSmith,
Please find attached empty report and file permission info.
There is no option to download reports in metrics. I am able to download capacity planing report in pdf. There is no issue.
Please find attached empty report and file permission info.
There is no option to download reports in metrics. I am able to download capacity planing report in pdf. There is no issue.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: session timed out in schedule reports
Hello,
It's interesting that this is only a problem for the metrics component. I would like to verify that the Program URl settings are correct. Can you verify that you have the correct IP address/url in Admin > System Config > System Settings > General Program Settings. Are you using http or https by default? Next, run the following tail command and force it send the schedule report and post the log.
You can send the schedule report from My Scheduled Reports.
Are you using any kind of network proxy? Thanks.
It's interesting that this is only a problem for the metrics component. I would like to verify that the Program URl settings are correct. Can you verify that you have the correct IP address/url in Admin > System Config > System Settings > General Program Settings. Are you using http or https by default? Next, run the following tail command and force it send the schedule report and post the log.
Code: Select all
tail -Fn0 /var/log/httpd/error_log /var/log/httpd/ssl_error_log > /tmp/report.txt
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: session timed out in schedule reports
Hi,
One more thing. I noticed that you are running an older version of Nagios XI, and there was an issue with jquery compatibility (since been resolved). Please try opening the: /usr/local/nagiosxi/html/config.inc.php file with a text editor and add the following config option:
and then test the report again. You'll see it in the comments at the end of the file.
One more thing. I noticed that you are running an older version of Nagios XI, and there was an issue with jquery compatibility (since been resolved). Please try opening the: /usr/local/nagiosxi/html/config.inc.php file with a text editor and add the following config option:
Code: Select all
$cfg['old_browser_compat'] = 1;
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 28
- Joined: Tue May 07, 2019 12:17 am
Re: session timed out in schedule reports
Hi Benjamin,
yes IP is correct and we are using https by default, please refer attached screenshot.
I had run report after making changes in config.inc.php, but no success and i have attached logs too.
yes IP is correct and we are using https by default, please refer attached screenshot.
I had run report after making changes in config.inc.php, but no success and i have attached logs too.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: session timed out in schedule reports
Hello,
Thanks for your patience on this. It's a bug and this has been corrected in the latest version; we were able to repeat the issue on 5.5.11. Please upgrade to the latest version to resolve the error.
Thanks for your patience on this. It's a bug and this has been corrected in the latest version; we were able to repeat the issue on 5.5.11. Please upgrade to the latest version to resolve the error.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 28
- Joined: Tue May 07, 2019 12:17 am
Re: session timed out in schedule reports
Hi benjamin,
I am facing same issue on 5.6.6 version also.
I am facing same issue on 5.6.6 version also.