Config error for Exchange server and Network Switch

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

Re: Config error for Exchange server and Network Switch

Post by dmanem »

Hi,

The "Write monitoring data" item caused this error on the server - see file attached. The other two items did not cause any errors on the web page.

Thank you.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Config error for Exchange server and Network Switch

Post by scottwilkerson »

If you have a large setup you will need to modify the max execution time in your php.ini

Instructions below
http://support.nagios.com/wiki/index.ph ... _Completes
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

Re: Config error for Exchange server and Network Switch

Post by dmanem »

Hi,

I increased the maximum execution time in the php.ini file but the error keeps popping up.

Thank you
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Config error for Exchange server and Network Switch

Post by scottwilkerson »

to clarify, did your restart apache

Code: Select all

service httpd restart
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

Re: Config error for Exchange server and Network Switch

Post by dmanem »

Yes I have restarted HTTPD services.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Config error for Exchange server and Network Switch

Post by scottwilkerson »

Can you show the new error?

Also, you large in terms of host/services is your setup?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

Re: Config error for Exchange server and Network Switch

Post by dmanem »

The error is "PHP Fatal error: Maximum execution time of 150 seconds exceeded in /var/www/html/nagiosql/functions/config_class.php on line 1160". This is the error that pops up when I am trying to monitor a DHCP server. What execution time do you suggest?
Nagios is monitoring 510 nodes in our network at present.

Thank you.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Config error for Exchange server and Network Switch

Post by scottwilkerson »

I am starting to think we might have either a database corruption problem or a permissions problem

Lets start with the db, run the following

Code: Select all

cd /usr/local/nagiosxi/scripts
./repairmysql.sh nagios
./repairmysql.sh nagiosql
Then if you are still seeing the same problem, I'd like you to run the following procedure
http://library.nagios.com/library/produ ... -nagios-xi
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

Re: Config error for Exchange server and Network Switch

Post by dmanem »

I am sorry but even after running the commands and also fixing the permission rights, the same execution time error popped up.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Config error for Exchange server and Network Switch

Post by scottwilkerson »

Please run the following and attach reconfig.txt back to the forum

Code: Select all

cd /usr/local/nagiosxi/scripts
reconfigure_nagios.sh &> reconfig.txt
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked