Config Error with no further informations

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Config Error with no further informations

Postby HolZ » Fri Feb 17, 2017 5:26 am

Hi,

I have new installed an Ubuntu 16.04lts and nagios core 3.5.1, because I have to switch the Hardware.
The configs are generated with nagiosql 3.2.0

I moved from my "old" installation on the old Hardware - also nagios core 3.5.1 and nagiosql 3.2.0 - to the new hardware all my configs and nagiosql database.

I tested nagios core with an example config and everthing seems okay.

But if I write the configs with nagiosql i cannot verify the config files with the -v command.
Unfortunately i get no error. Just only the following Information:

Code: Select all
Written configuration files are valid, Nagios can be restarted!

Nagios Core 3.5.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-30-2013
License: GPL

Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config file '/usr/local/nagiosql/commands.cfg'...
Processing object config file '/usr/local/nagiosql/contacts.cfg'...
Processing object config file '/usr/local/nagiosql/contactgroups.cfg'...
Processing object config file '/usr/local/nagiosql/contacttemplates.cfg'...
Processing object config file '/usr/local/nagiosql/timeperiods.cfg'...
Processing object config file '/usr/local/nagiosql/hosttemplates.cfg'...
Processing object config file '/usr/local/nagiosql/hostdependencies.cfg'...
Processing object config file '/usr/local/nagiosql/hostescalations.cfg'...
Processing object config file '/usr/local/nagiosql/hostextinfo.cfg'...
Processing object config file '/usr/local/nagiosql/hostgroups.cfg'...
Processing object config file '/usr/local/nagiosql/servicetemplates.cfg'...
Processing object config file '/usr/local/nagiosql/servicedependencies.cfg'...
Processing object config file '/usr/local/nagiosql/serviceescalations.cfg'...
Processing object config file '/usr/local/nagiosql/serviceextinfo.cfg'...
Processing object config file '/usr/local/nagiosql/servicegroups.cfg'...
Processing object config directory '/usr/local/nagiosql/hosts'...
Processing object config file '/usr/local/nagiosql/hosts/TL02ADS01.cfg'...
Processing object config directory '/usr/local/nagiosql/services'...
Processing object config file '/usr/local/nagiosql/services/Empirum.cfg'...
Error processing object config files!
***> One or more problems was encountered while processing the config files...


For testing I copied also the old files from the old server to the new server - the same result.
The Error seems are NOT in empirum.cfg, because I removed step by step the last file (normally I have here a lot of service configs. => Allways the last File will be the last shown file in the output. Followed by the last sentence "Error processing object config files!"

So how can I examine, what are my problem is?

Any Hints are welcome, because I am going to desperate.

Many thanks in advanced.
HolZ
HolZ
 
Posts: 1
Joined: Fri Feb 17, 2017 5:03 am

Re: Config Error with no further informations

Postby mcapra » Fri Feb 17, 2017 3:05 pm

Can you try enabling additional debug information like so:
https://assets.nagios.com/downloads/nag ... debug_file

Then share the results of the file generated by your debug_file directive?
Former Nagios employee - https://github.com/mcapra/
mcapra
 
Posts: 2380
Joined: Thu May 05, 2016 3:54 pm


Return to Nagios Core

Who is online

Users browsing this forum: Google [Bot] and 15 guests