Define new host

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
sodsada
Posts: 1
Joined: Wed Feb 23, 2011 11:34 pm

Define new host

Post 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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Define new host

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