[icinga-users] Could not add object property in file '/usr/local/icinga/etc/objects/commands.cfg' on line 231.

Wolfgang wnd at gmx.net
Mon Mar 18 20:47:04 CET 2013


Am 18.03.2013 20:39, schrieb kanny goud:
>  Hi Guys,
>
> we are facing some issue on icinga  when we are going to verify the 
> configuration files and restart also. I had attached a file of 
>  commands.cfg . I bolded the line no 231 where we got error in 
> commands.cfg
>
> Please have a look and suggest me.
>
> Error we got as follow below
>
> root at evericinga:/usr/local/icinga/etc# /usr/local/icinga/bin/icinga -v 
> /usr/local/icinga/etc/icinga.cfg
>
> Icinga 1.8.4
> Copyright (c) 2009-2012 Icinga Development Team (http://www.icinga.org 
> <http://www.icinga.org/>)
> Copyright (c) 2009-2012 Nagios Core Development Team and Community 
> Contributors
> Copyright (c) 1999-2009 Ethan Galstad
> Last Modified: 01-13-2013
> License: GPL
>
> Reading configuration data...
>    Read main config file okay...
> Processing object config directory '/usr/local/icinga/etc/conf.d'...
> Processing object config directory '/etc/icinga/default'...
> Processing object config file '/etc/icinga/default/appgroups.cfg'...
> Processing object config file '/etc/icinga/default/hostgroups.cfg'...
> Processing object config file '/etc/icinga/default/hosts.cfg'...
> Processing object config directory '/etc/icinga/global'...
> Processing object config file '/etc/icinga/global/host_templates.cfg'...
> Processing object config file '/etc/icinga/global/miscommands.cfg'...
> Processing object config file 
> '/usr/local/icinga/etc/objects/commands.cfg'...
> Warning: Duplicate definition found for command 'check_nrpe' (config 
> file '/usr/local/icinga/etc/objects/commands.cfg', starting on line 230)
> Error: Could not add object property in file 
> '/usr/local/icinga/etc/objects/commands.cfg' on line 231.
>    Error processing object config files!
>
>
The message says "duplicate definition found".
I guess the definition exists in miscommand.cfg (or some other *.cfg 
file) apart from commands.cfg.
I wonder how this version was installed because I haven't seem this file 
layout until now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.icinga.org/pipermail/icinga-users/attachments/20130318/eb0bfa9a/attachment-0001.html>


More information about the icinga-users mailing list