Sorry to send the question here, I looked everywhere and I could not
find an answer; I had tried to set icons for status map and host with
hostextinfo.cfg....

I had tried with this lines:

# This definition is used as a template
define hostextinfo{
        name winbug                                     ; This name is
referenced in other hostextinfo definitions that
                                                        ; want to use
this as a template
        icon_image              win40.gif
        icon_image_alt          WinBug Server
        vrml_image              win40.gif
        gd2_image               win40.gd2
        register                0                       ;  DO NOT
REGISTER THIS DEFINITION - IT IS JUST A TEMPLATE!!
        }


# A 'normal' definition
define hostextinfo{
        use winbug                                      ; Use the
hostextinfo definition with name 'he1' as a template
                                                        ; for this definition
        host_name               exchange                ; Name of the
host, as recognized/used by Nagios
        2d_coords               100,350                 ; 2-D drawing
coordinates
        3d_coords               4.0,0.0,0.0             ; 3-D drawing
coordinates
        }


# Another 'normal' definition
define hostextinfo{
        use winbug                                      ; Use the
hostextinfo definition with name 'he1' as a template
                                                        ; for this definition.
        host_name               csdc                    ; Name of the
host, as recognized/used by Nagios
        2d_coords               65,425                  ; 2-D drawing
coordinates
        3d_coords               3.0,0.0,0.0             ; 3-D drawing
coordinates
        }

and all I got is  from nagios -v nagios.cfg:

thewho etc # nagios -v nagios.cfg

Nagios 1.2
Copyright (c) 1999-2004 Ethan Galstad ([EMAIL PROTECTED])
Last Modified: 02-02-2004
License: GPL

Reading configuration data...

Error: Invalid object definition type 'hostextinfo' in file
'/usr/nagios/etc/hostextinfo.cfg' on line 10.


***> 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 on the main and host config files, as well as the
     'Whats New' section to find out what has changed.

Does some one have a clue ?

-- 
gentoo-user@gentoo.org mailing list

Reply via email to