Error: Could not add object property in file '/usr/local/etc/nagios/objects/commands.cfg' on line 29.
Phill Hocking
phillhocking at gmail.com
Thu Oct 9 17:31:02 CEST 2008
Greetings, my name is Phill and I am having difficulties with a fresh
install. Here is the error I get:
# nagios -v /usr/local/etc/nagios/nagios.cfg
Nagios 3.0.3
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 06-25-2008
License: GPL
Reading configuration data...
Warning: Duplicate definition found for command 'notify-host-by-email'
(config file '/usr/local/etc/nagios/objects/commands.cfg', starting on
line 28)
Error: Could not add object property in file
'/usr/local/etc/nagios/objects/commands.cfg' on line 29.
***> 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.
however that is the only notify-host-by-email entry in the file. I
made a pastebin of said file at http://pastebin.ca/1223752. If blank out
out all of the .cfg files in that directory, nagios starts to parse
the main config file, but throws a bunch of errors for the undef
stuff. The search wrapsin vi for that string notify-host-by-email.
This is why I am
scratching my head.
Nagios 3.0.3
FreeBSD 7.0
So any help that you all can give me would be sincerely appreciated,
thanks a bundle and I look forward to hearing back from you!
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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