Page 1 of 1

serviceescalation dont inicialize

Posted: Fri Sep 23, 2011 4:19 am
by motorato
Good morning, need some help in serviceescalation.
I have hosescation woking just fine, e goes from escalation to escaltion and send email to diferent group of contact when the notification id reach is level...
My problem is in service escalation , made the configuration to escalation and he dont go to second contact when reach is id, like this, it send the mail message, but when getting to notification 2 dont send sms:
Please realy need some help....
define service{
name generic-service
active_checks_enabled 1
passive_checks_enabled 1
parallelize_check 1
obsess_over_service 1
check_freshness 0
notifications_enabled 1
event_handler_enabled 1
flap_detection_enabled 1
failure_prediction_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
notification_interval 0
is_volatile 0
check_period 24x7
max_check_attempts 4
notification_period 24x7
notification_options w,u,c,r
contacts bruno
register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE
}

define service{
name g5
normal_check_interval 5
retry_interval 5
notification_interval 1
register 0
}

define service {
use generic-service,g5
hostgroup_name httpservers
service_description Euritex HTTP
check_command check_http
}

define serviceescalation{
hostgroup_name httpservers
service_description HTTP
first_notification 2
last_notification 3
notification_interval 2
contact_groups admins_sms
}

Ty all for your time,
Best regards
Bruno Pereira
Sys Admin Euritex

Re: serviceescalation dont inicialize

Posted: Fri Sep 23, 2011 7:52 am
by motorato
Problem solved, i cant use two service definition in the "use" statement...
Ty all