Page 1 of 1

[Nagios-devel] inheritance problems

Posted: Mon Oct 01, 2007 6:46 am
by Guest
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 post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]