post upgrade issue (to 3.2)

Tomasz Zajączkowski tozajaczkowski at gmail.com
Mon Aug 17 18:08:42 CEST 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090817/1dab4efd/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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