serviceescalation dont inicialize

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

serviceescalation dont inicialize

Postby motorato » Fri Sep 23, 2011 4:19 am

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
motorato
 
Posts: 5
Joined: Tue Aug 23, 2011 3:47 am

Re: serviceescalation dont inicialize

Postby motorato » Fri Sep 23, 2011 7:52 am

Problem solved, i cant use two service definition in the "use" statement...
Ty all
motorato
 
Posts: 5
Joined: Tue Aug 23, 2011 3:47 am


Return to Nagios Core

Who is online

Users browsing this forum: MSN [Bot] and 17 guests