Nagios 2.5 > 3.x Any issues

Tom Brown tom at ng23.net
Thu May 8 15:11:55 CEST 2008


> http://nagios.sourceforge.net/docs/3_0/upgrading.html#nagios2x
>
> That should answer any questions you have about the upgrade. (you may
> need to copy and paste the link depending on your mail client)
>
>   

i read through that upgrade doco and did not notice anything unusual 
about host definitions etc however when i use my hosts.cfg from a 2.5 
version of nagios i get this

Nagios 3.0.1
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 04-01-2008
License: GPL

Reading configuration data...

Warning: Duplicate definition found for host 'xxxxx' (config file 
'/etc/nagios/objects/hosts.cfg', starting on line 7)
Error: Could not add object property in file 
'/etc/nagios/objects/hosts.cfg' on line 8.

and this is the start of the hosts file

###############################################################################
#
# HOSTS
#
###############################################################################
define host{
        use                     generic-host            ; Name of host 
template to use
        host_name               xxxxx
        alias                   xxxx
        address                 192.168.9.31
        check_command           check-host-alive
        max_check_attempts      10
        notification_interval   120
        notification_period     24x7
        notification_options    d,r
        contact_groups  our_contact _group
        }

has anything changed or am i doing something wrong

thanks



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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