still not working.
Code: Select all
define contact{
contact_name wsawarn
alias WSAWarn
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,f
host_notification_options u,f
service_notification_commands notify-service-by-email
host_notification_commands notify-host-by-email
email [email protected]
}
define contact{
contact_name wsacritical
alias WSACRITICAL
service_notification_period 24x7
host_notification_period 24x7
service_notification_options c
host_notification_options d
service_notification_commands notify-service-by-email
host_notification_commands notify-host-by-email
service_notifications_enabled 1
host_notifications_enabled 1
email [email protected]
}
###############################################################################
###############################################################################
#
# CONTACT GROUPS
#
###############################################################################
###############################################################################
# We only have one contact in this simple configuration file, so there is
# no need to create more than one contact group.
define contactgroup{
contactgroup_name DevNull
members wsawarn
}
define contactgroup{
contactgroup_name admins
alias Nagios Administrators
members wsawarn,wsacritical
}
define contactgroup{
contactgroup_name Dustin-admins
alias Dustin
members wsawarn
}
define contactgroup{
contactgroup_name sms-admins
alias SMS
members wsawarn
}
define contactgroup{
contactgroup_name SmsOnlyOnce
members wsawarn
}
define contactgroup{
contactgroup_name Nagiosadmins
alias Administrators
members wsacritical
}