1.
define contact {
contact_name n_testUser
alias TestUser Account
host_notification_period n_testUser_notification_times
service_notification_period n_testUser_notification_times
host_notification_options d,u,r,f,s
service_notification_options w,u,c,r,f,s
email
[email protected]
host_notifications_enabled 1
service_notifications_enabled 1
use xi_contact_generic
}
2.
###############################################################################
#
# Contacttemplate configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2015-09-09 11:24:31
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################
define contact {
name generic-contact
host_notification_period 24x7
service_notification_period 24x7
host_notification_options d,u,r,f,s
service_notification_options w,u,c,r,f,s
host_notification_commands notify-host-by-email
service_notification_commands notify-service-by-email
register 0
}
define contact {
name xi_contact_generic
contactgroups xi_contactgroup_all
host_notification_options d,u,r,f,s
service_notification_options w,u,c,r,f,s
host_notification_commands xi_host_notification_handler
service_notification_commands xi_service_notification_handler
register 0
}
###############################################################################
#
# Contacttemplate configuration file
#
# END OF FILE
#
###############################################################################
3. See attached