Hi all,

I was wondering if you could help me. I upgraded 3.1.2 to 3.2 this week. I
moved all hosts/services files from the system and wanted to start from
scratch. I created bunch of .cfg files one for each host and despite the
template was the same I am receiving:

"
Warning: Duplicate definition found for host 'gbsr32' (config file
'/usr/local/nagios/etc/hosts/config/gbsr32.cfg', starting on line 1)
Error: Could not add object property in file
'/usr/local/nagios/etc/hosts/config/gbsr32.cfg' on line 3.
Error processing object config files!
"

gbsr32.cfg looks like this:

define host{
        use                     generic-host
        host_name          gbsr32
        alias                   GBSR32
        address              10.10.4.141
        hostgroups          windows,config_group
}

so I am quite amused why I am getting this error while simillar config file
works fine for rest 30 hosts..? All windows/config_group are created, as
well as generic-host template.

Any help will be more than welcome,
Tomasz Zajaczkowski
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to