newbie questions v. 2.0
Jeff Sullivan
iceman at 30below.com
Tue Dec 12 15:33:00 CET 2006
javier rojas wrote:
> hostname:/usr/local/nagios # bin/nagios -v etc/nagios.cfg
>
> Nagios 2.6
> Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
> Last Modified: 11-27-2006
> License: GPL
>
> Reading configuration data...
>
> Error: Could not add object property in file
> '/usr/local/nagios//etc/hosts.cfg' on line 6.
> here the hosts.cfg file, in case theres something wrong with it...
>
> define host{
> host_name testserver
> alias test server windows
> address 172.18.17.96
> parents
Guessing that Line 1 is a blank line, I would say that it is because
"parents" is being declared but not defined. Parents is optional for
setting up layering of you networks. Remove or comment out the parents
line an give 'er a go again.
Jeff
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list