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.
nomanntl
Posts: 8
Joined: Thu Jul 23, 2015 12:53 am

Error while Plotting Graphs using Network Switch Router

Post 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.
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 »

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
nomanntl
Posts: 8
Joined: Thu Jul 23, 2015 12:53 am

Re: Error while Plotting Graphs using Network Switch Router

Post by nomanntl »

We are still getting same error even after running the mentioned script. Please assist.
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 »

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
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 »

Error is still there. I have run the command and output is attached. Please assist.
You do not have the required permissions to view the files attached to this post.
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 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Error while Plotting Graphs using Network Switch Router

Post by ssax »

Please run these commands and post the full output:

Code: Select all

su - nagios
cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh
nomanntl
Posts: 8
Joined: Thu Jul 23, 2015 12:53 am

Re: Error while Plotting Graphs using Network Switch Router

Post by nomanntl »

Please find attached the output of both scripts as asked. Kindly advise further.
You do not have the required permissions to view the files attached to this post.
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 »

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?
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 »

Hi,

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