Page 1 of 1

Define new host

Posted: Thu Feb 24, 2011 6:08 am
by sodsada
Hi all

what does it mean this message when i restart nagios ?

Warning: Duplicate definition found for host 'ns1' (config file '/usr/local/nagios//etc/servers/www/www.cfg', starting on line 1)
Error: Could not add object property in file '/usr/local/nagios//etc/servers/www/www.cfg' on line 3.
Error processing object config files!


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

Re: Define new host

Posted: Thu Feb 24, 2011 11:44 am
by mguthrie
Can you post those two configs?

Nagios won't start without a valid configuration. There's probably a syntax or logical error in the configs.