Config error for Exchange server and Network Switch
Re: Config error for Exchange server and Network Switch
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.
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
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
Instructions below
http://support.nagios.com/wiki/index.ph ... _Completes
Re: Config error for Exchange server and Network Switch
Hi,
I increased the maximum execution time in the php.ini file but the error keeps popping up.
Thank you
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
to clarify, did your restart apache
Code: Select all
service httpd restartRe: Config error for Exchange server and Network Switch
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
Can you show the new error?
Also, you large in terms of host/services is your setup?
Also, you large in terms of host/services is your setup?
Re: Config error for Exchange server and Network Switch
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.
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
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
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
Lets start with the db, run the following
Code: Select all
cd /usr/local/nagiosxi/scripts
./repairmysql.sh nagios
./repairmysql.sh nagiosqlhttp://library.nagios.com/library/produ ... -nagios-xi
Re: Config error for Exchange server and Network Switch
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
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