################################################################################ # Generic service definition template 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 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } ############################################################################### ############################################################################### # Service definition define service{ use generic-service host_name mybsd service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups cluster-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } # Service definition define service{ use generic-service host_name mybsd service_description SSH is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups cluster-admins notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_ssh } # Service definition #define service{ # use generic-service # # host_name mybsd # service_description DNS # is_volatile 0 # check_period 24x7 # max_check_attempts 3 # normal_check_interval 5 # retry_check_interval 1 # contact_groups cluster-admins # notification_interval 120 # notification_period 24x7 # notification_options w,u,c,r # check_command check_dns # } # Service definition define service{ use generic-service host_name mybsd service_description HTTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups cluster-admins notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_http } define service{ use generic-service host_name note service_description HTTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups cluster-admins notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_http } # Service definition define service{ use generic-service host_name note service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups cluster-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } # Service definition define service{ use generic-service host_name note service_description SSH is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups cluster-admins notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_ssh }