Error while Plotting Graphs using Network Switch Router

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Error while Plotting Graphs using Network Switch Router

Post by lmiltchev »

Can you PM me the profile.zip?

Admin->System Profile->Download Profile
Be sure to check out our Knowledgebase for helpful articles and solutions!
nomanntl
Posts: 8
Joined: Thu Jul 23, 2015 12:53 am

Re: Error while Plotting Graphs using Network Switch Router

Post by nomanntl »

Required file sent as PM. Waiting for your response.

Thank you in anticipation.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Error while Plotting Graphs using Network Switch Router

Post by lmiltchev »

I looked through the logs and I noticed the following error in the apache error log:
[Tue Aug 04 15:40:26 2015] [error] [client ::1] PHP Fatal error: Maximum execution time of 60 seconds exceeded in /usr/local/nagiosxi/html/includes/components/ccm/classes/config_class.php on line 1012
Most probably configuration never applies as the page is timing out. Please, increase the resource limits in the php.ini file, especially the "max_execution_time". For more info, check out our FAQ wiki page here:

https://support.nagios.com/wiki/index.p ... _Completes

In addition to this, the mysqld.log came up empty (0 bytes) in the profile. Can you run the following command and show the output in code wraps?

Code: Select all

tail -50 /var/log/mysqld.log
Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Error while Plotting Graphs using Network Switch Router

Post by tgriep »

Can you go to Admin > License Information and let us know the status of the licensing?
Be sure to check out our Knowledgebase for helpful articles and solutions!
nomanntl
Posts: 8
Joined: Thu Jul 23, 2015 12:53 am

Re: Error while Plotting Graphs using Network Switch Router

Post by nomanntl »

The following limits have been applied:

max_execution_time = 120
max_input_time = 120


The mysql.log file is empty.

Please suggest further
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Error while Plotting Graphs using Network Switch Router

Post by Box293 »

nomanntl wrote:max_execution_time = 120
I suggest 300, if that doesn't work then 600. Don't forget to restart httpd after making these changes.

When applying config, tail the httpd error_log

tail /var/log/httpd/error_log -f
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
nomanntl
Posts: 8
Joined: Thu Jul 23, 2015 12:53 am

Re: Error while Plotting Graphs using Network Switch Router

Post by nomanntl »

Issue still persist.

Changed the execution timeout value to 600. Attached is the error log.

Please suggest further.
You do not have the required permissions to view the files attached to this post.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Error while Plotting Graphs using Network Switch Router

Post by jdalrymple »

Where did the timestamps go from your error_log? Generally they're just noise, but in this case they could add some context to the problem for us.
Locked