Nconf Error: Deployment not possible due to errors in config

Support requests, bug reports, questions etc.

Nconf Error: Deployment not possible due to errors in config

Postby rohithroki » Wed Jun 08, 2016 09:17

Dear TEam,
I am getting below error while generating nagios config in Nconf.

Please find the below log
Processing object config file '/usr/local/nagios/share/nconf/temp/global/timeperiods.cfg'...
Processing object config file '/usr/local/nagios/share/nconf/temp/global/contacts.cfg'...
Processing object config file '/usr/local/nagios/share/nconf/temp/global/misccommands.cfg'...
Processing object config file '/usr/local/nagios/share/nconf/temp/global/checkcommands.cfg'...
Processing object config file '/usr/local/nagios/share/nconf/temp/global/host_templates.cfg'...
Processing object config file '/usr/local/nagios/share/nconf/temp/global/service_templates.cfg'...
Processing object config file '/usr/local/nagios/share/nconf/temp/global/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/share/nconf/temp/Default_collector/service_dependencies.cfg'...
Processing object config file '/usr/local/nagios/share/nconf/temp/Default_collector/host_dependencies.cfg'...
Processing object config file '/usr/local/nagios/share/nconf/temp/Default_collector/advanced_services.cfg'...
Processing object config file '/usr/local/nagios/share/nconf/temp/Default_collector/services.cfg'...
Processing object config file '/usr/local/nagios/share/nconf/temp/Default_collector/servicegroups.cfg'...
Processing object config file '/usr/local/nagios/share/nconf/temp/Default_collector/hosts.cfg'...
Error: Invalid notification option 'durs' in host definition.
Error: Could not add object property in file '/usr/local/nagios/share/nconf/temp/Default_collector/hosts.cfg' on line 3109.
Error processing object config files!


***> The name of the main configuration file looks suspicious...

Make sure you are specifying the name of the MAIN configuration file on
the command line and not the name of another configuration file. The
main configuration file is typically '/usr/local/nagios/etc/nagios.cfg'

***> One or more problems was encountered while processing the config files...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.

Note : My default collector directory is empty /usr/local/nagios/share/nconf/temp/Default_collector/
rohithroki
 

Return to Support (NConf 1.3.0)

Who is online

Users browsing this forum: No registered users and 6 guests