## SERVICE TEMPLATES define service { name template-for-all register 0 max_check_attempts 3 check_interval 10 retry_interval 2 notification_interval 60 notification_options w,u,c,r active_checks_enabled 1 passive_checks_enabled 1 notifications_enabled 1 check_freshness 0 check_period 24x7 # By not specifying notification period in service or # service template, it is retrieved from the host or # host template instead. Unfortunately, this "inheritance" # applies to notification_period but not to check_period, # so alerts via email can be stopped but not alerts via # the web interface. #notification_period 24x7 contact_groups pasta-net-admins } define service { name template-for-windows register 0 use template-for-all } define service { name template-for-linux register 0 use template-for-all }