Template-based extened host info

Warich, Eyck Warich at secunet.de
Thu Oct 9 13:18:19 CEST 2003


Hi there,

i have some problems in defining some templated hostinfo definitions, here
is my example:

define hostextinfo {
host_name SUN
icon_image sun40.png
vrml_image sun40.png
statusmap_image sun40.png
register 0
}

define hostextinfo {
use SUN
host_name BLADE100
}

This example does not work, for example in the status map the default ?-logo
appears. When i change the example to

define hostextinfo {
host_name BLADE100
icon_image sun40.png
vrml_image sun40.png
statusmap_image sun40.png
}

everything works fine.

I thought about some problems with the template mechanism here (although i
thought is is enabled by default), so i recompiled nagios with the
--with-template-extinfo option:

 External Data Routines:
 ------------------------
              Status data:  Default (text file)
              Object data:  Template-based (text file)
             Comment data:  Default (text file)
            Downtime data:  Default (text file)
           Retention data:  Default (text file)
          Peformance data:  Default (external commands)
       Extended info data:  Template-based (text file)

But this had no effect, the problem still occurs (btw i noticed the
resulting binaries (nagios & *.cgi) to be exactly identical??)

Did i miss something?

Thx & regards,
Eyck


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
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