Page 1 of 2

Error while Plotting Graphs using Network Switch Router

Posted: Thu Jul 23, 2015 3:37 am
by nomanntl
Hi,

We downloaded test version of Nagios XI. We successfully plottedfew interfaces using Network Switch / Router. But after few days were started to get following errors while plotting graphs using Network Switch / Router:

=====================

Configuration submitted for processing...
Waiting for configuration verification..............................................................................................................................................................................................................................................................................................................................................
Configurations failed to write to file.

Configuration Error

An error occurred while attempting to apply your configuration to the monitoring engine. Contact your Nagios administrator if this problem persists.

Run this monitoring wizard again
Run another monitoring wizard

View the latest configuration snapshots
================================

Please assist in solving this issue.

Re: Error while Plotting Graphs using Network Switch Router

Posted: Thu Jul 23, 2015 9:36 am
by jdalrymple
nomanntl wrote: Configuration submitted for processing...
Waiting for configuration verification..............................................................................................................................................................................................................................................................................................................................................
Configurations failed to write to file.

Configuration Error
Sounds to me like you should check your permissions. We have a script to fix it.

Code: Select all

[root@localhost ~]# /usr/local/nagiosxi/scripts/reset_config_perms.sh
RESETTING PERMS

Re: Error while Plotting Graphs using Network Switch Router

Posted: Fri Jul 24, 2015 2:57 am
by nomanntl
We are still getting same error even after running the mentioned script. Please assist.

Re: Error while Plotting Graphs using Network Switch Router

Posted: Fri Jul 24, 2015 8:50 am
by tgriep
Could you run the following tail command, then apply the configuration and post the output of the tail command?

Code: Select all

tail -f /usr/local/nagiosxi/var/cmdsubsys.log

Re: Error while Plotting Graphs using Network Switch Router

Posted: Tue Jul 28, 2015 1:19 am
by nomanntl
Error is still there. I have run the command and output is attached. Please assist.

Re: Error while Plotting Graphs using Network Switch Router

Posted: Tue Jul 28, 2015 12:27 pm
by tgriep
Can you run the following and post the output?

Code: Select all

ll /usr/local/nagiosxi/scripts
Could you upload this file?

Code: Select all

/usr/local/nagiosxi/scripts/nagiosql.export.monitoring

Re: Error while Plotting Graphs using Network Switch Router

Posted: Tue Jul 28, 2015 12:29 pm
by ssax
Please run these commands and post the full output:

Code: Select all

su - nagios
cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh

Re: Error while Plotting Graphs using Network Switch Router

Posted: Wed Jul 29, 2015 11:38 pm
by nomanntl
Please find attached the output of both scripts as asked. Kindly advise further.

Re: Error while Plotting Graphs using Network Switch Router

Posted: Thu Jul 30, 2015 9:36 am
by lmiltchev
Remove the "reconfigure_nagios.lock" file:

Code: Select all

rm -rf /usr/local/nagiosxi/scripts/reconfigure_nagios.lock
Increase the "resource limits" in the php.ini as described here:

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

and try to apply configuration again. Did this help?

Re: Error while Plotting Graphs using Network Switch Router

Posted: Wed Aug 05, 2015 3:03 am
by nomanntl
Hi,

We have removed the required file and increased resources but still getting error. Please suggest.