Processing object config file....

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Processing object config file....

Post by jbennett »

I just recently ran into an issue trying to apply a a new config.

The last two lines of the error log are as follows:

Code: Select all

Processing object config file '/usr/local/nagios/etc/services/yyyyyyyyyyy.cfg'...
Processing object config file '/usr/local/nagios/etc/services/xxxxxxxx
It's almost like it's just hung up and doesn't go any further.

I have tried stopping the nagios service, killing all nagios services, then restarting it, but it didn't change anything. Any ideas what could be causing this?
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Processing object config file....

Post by agriffin »

Go to Configure->Core Config Manager->Tools->Write Config Files and click through each step, top to bottom, until you get an error (or it hangs). Copy the error here and let me know what step it occurred in.
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Processing object config file....

Post by jbennett »

agriffin wrote:Go to Configure->Core Config Manager->Tools->Write Config Files and click through each step, top to bottom, until you get an error (or it hangs). Copy the error here and let me know what step it occurred in.
Everything goes through just fine according to those steps. It tells me that the files are valid, even though it appears to just quit processing config files.

Code: Select all

Processing object config file '/usr/local/nagios/etc/services/yyyyyyyyyyyy.cfg'... 
Processing object config file '/usr/local/nagios/etc/services/xxxxxxxxxx


Written configuration files are valid. Nagios can be restarted!
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Processing object config file....

Post by agriffin »

Are there any errors in /var/log/httpd/error_log?
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Processing object config file....

Post by jbennett »

Code: Select all

[Mon Apr 30 11:55:17 2012] [error] [client 127.0.0.1] PHP Warning:  include_once(/usr/local/nagiosxi/html/includes/components/snmpwalk/../configwizardhelper.inc.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /usr/local/nagiosxi/html/includes/components/snmpwalk/snmpwalk.inc.php on line 8
[Mon Apr 30 11:55:17 2012] [error] [client 127.0.0.1] PHP Warning:  include_once() [<a href='function.include'>function.include</a>]: Failed opening '/usr/local/nagiosxi/html/includes/components/snmpwalk/../configwizardhelper.inc.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagiosxi/html/includes/components/snmpwalk/snmpwalk.inc.php on line 8
I can't find much information about the SNMP walk wizard for some reason??
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Processing object config file....

Post by jbennett »

Suddenly, I am able to apply the config file without issue.

Looking back through the log, it appears that the error I posted above has been present since at least April 1 (I can't go any further back as there aren't any other logs that I see).
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Processing object config file....

Post by agriffin »

Well I'm glad you got it figured out. I'm pretty puzzled about what went wrong though. If it happens again let us know!
Locked