inheritance problems

Grötzner, Frank Frank.Groetzner at buw.de
Mon Oct 1 16:45:13 CEST 2007


Hello,

in beta1 the following configuration was possible:


----------- snip ------------
define contactgroup{
contactgroup_name admins
alias admins
members contactA, contactB, contactC, contactD
}

define host{
use generic-fw
host_name hostname
alias hostalias
address XXX.XXX.XXX.XXX
parents someparents
contacts contactE, !contactD
contact_groups admins
process_perf_data 1
}
---------- snap -------------

After updating to beta4 i get the following message during verify:

Error: Contact '!contactD' specified in host 'hostalias' is not defined anywhere!


Another problem occurs, when you define a contact group in the template,
but clear it in the hosts configuration with "contact_groups null" and
set another contact (e.g. "contacts contactA"). The contact_groups from
the template will still be assigned, as you can see in the configuration
overview.

This could be verified in different installations.

Best regards,
Frank

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/




More information about the Developers mailing list