Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2008 20:45:52 +0930
From:      Jarrod Sayers <jarrod@netleader.com.au>
To:        Randy Bush <randy@psg.com>
Cc:        freebsd ports <freebsd-ports@freebsd.org>
Subject:   Re: nagios: Error: Host 'foo' has already been defined
Message-ID:  <F8BFEFF7-2E7C-4EB1-BD92-87D6709C0745@netleader.com.au>
In-Reply-To: <48282418.1090301@psg.com>
References:  <48282418.1090301@psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/05/2008, at 8:33 PM, Randy Bush wrote:
> i386, very current
> nagios 2.11
>
> after portupgrade, a nagios which used to work fine now does

Did this include an upgrade of Nagios or has the upgrade of a  
dependent resulted in this?

> # /usr/local/etc/rc.d/nagios start
> Performing sanity check of nagios configuration: FAILED
>
> Nagios 2.11
> Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
> Last Modified: 03-12-2008
> License: GPL
>
> Reading configuration data...
>
> Error: Host 'bbgp' has already been defined
> Error: Could not register host (config file
> '/usr/local/etc/nagios/servers/randy/bbgp.psg.com.cfg', starting on  
> line 1)

Starting on line 1, hmm...  Sounds like the files are being read  
twice, what does nagios.cfg have to say for itself?

Jarrod.
(net-mgmt/nagios maintainer)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F8BFEFF7-2E7C-4EB1-BD92-87D6709C0745>