# Generic contact definition
define contact{
name generic-contact
register 0
host_notifications_enabled 1
service_notifications_enabled 1
email alignak@localhost
}
# A contact template
define contact{
name not_notified
use generic-contact
register 0
host_notifications_enabled 0
service_notifications_enabled 0
}
# and two contacts
define contact{
use generic-contact
contact_name admin
alias Administrator
}
define contact{
use not_notified
contact_name no_notif
alias No notifications
}
the contact named no_notif should inherit the host_notifications_enabled and service_notifications_enabled parameters from the not_notified template. As of now, these parameters are False (their default value)
Assuming this configuration:
the contact named no_notif should inherit the host_notifications_enabled and service_notifications_enabled parameters from the not_notified template. As of now, these parameters are False (their default value)