Check the nagios docs... its pretty straight forward, you create a contact in contacts, group them in contact groups (makes ur life easier), and then specify the contact group for the service in services.cfg. easy as pie.
contacts.cfg
Code:
define contact{
contact_name kyle
alias kyle
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,u,r
service_notification_commands notify-by-email
host_notification_commands host-notify-by-email
email kcorupe@emailaddress.com
}
contactgroups.cfg
Code:
define contactgroup{
contactgroup_name admins
alias admins
members internal_infosec, kyle
}
services.cfg
Code:
define service{
use basic-service
host_name azathoth
service_description ssh_check load
check_command ssh_load2!5.0,4.0,3.0!10.0,6.0,4.0
contact_groups admins
}