I have read what you suggested over and over and over again but i still cannot get this worked out. If i press “Send Custom Service Notification” in the Service Information page i get an email exactly what i would expect and it uses the correct notificaion command to send the email. However, for the life of me i cannot get the email to be sent out automatically. Here is some of the config files i am using. One thing to note is that the email addresses have been verified to be working. i didn’t keep the real addresses for obvious reasons.
Yes i have switched it off and on and on again and off and restarted and reloaded and rebooted…
define service {
host_name Mill_Services_Truck_ESP902
service_description Ping_Mill_Services_Truck_ESP902
check_command check_ping!400,80%!500,80%
initial_state o
max_check_attempts 1
check_interval 1
retry_interval 1
active_checks_enabled 1
check_period 24x7
check_freshness 1
notification_interval 5
notification_period 24x7
notification_options u,r,c,s
notifications_enabled 1
contact_groups rts
register 1
}
define host {
host_name Mill_Services_Truck_ESP902
alias Mill_Services_Truck_ESP902
address 999.99.160.170
initial_state o
max_check_attempts 1
check_interval 20
retry_interval 5
active_checks_enabled 1
check_period 24x7
check_freshness 1
contact_groups rts
notification_interval 5
notification_period 24x7
notification_options d,u,r,s
notifications_enabled 1
register 1
}
define contactgroup {
contactgroup_name rts
alias rts support
members Don,Tim
}
define contact {
contact_name Don
alias Don
contactgroups rts
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period 24x7
service_notification_period 24x7
host_notification_options d,u,r,f,s,n
service_notification_options w,u,c,r,f,s,n
host_notification_commands notify-host-by-email
service_notification_commands notify-service-by-email
retain_status_information 1
email don@the_company.com
}
define contact {
contact_name Tim
alias Tim
contactgroups rts
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period 24x7
service_notification_period 24x7
host_notification_options d,u,r,f,s,n
service_notification_options w,u,c,r,f,s,n
host_notification_commands notify-host-by-email
service_notification_commands notify-service-by-email
email tim@the_company.com
}