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