Re: [Nagios-devel] Possible additive inheritance?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Possible additive inheritance?

Post by Guest »

Is it possible to have a situation like the following?

define contact {
name default
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r,f
host_notification_options d,r,f
register 0
}

define contact {
name email
service_notification_commands +notify_by_email
host_notification_commands +host_notify_by_email
register 0
}

define contact {
name snpp
service_notification_commands +notify_by_snpp
host_notification_commands +host_notify_by_snpp
register 0
}

And then define a contact as:

define contact{
use default,email,snpp
contact_name slords
alias Shad Lords
email [email protected]
pager [email protected]
}

When I try to do the following all I get is the email notification commands.
What I'd like is for the additive to be applied so that you can define
multiple inheritance that can be additive.

Thanks,

-Shad






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked