# check that web services are running define service { hostgroup_name http-servers,interlab-pcs,internet-srv-generic service_description HTTP check_command check_http use generic-service notification_interval 0 ; set > 0 if you want to be renotified } # check that ssh services are running define service { hostgroup_name ssh-servers,interlab-pcs,class-routers,internet-srv-ssh,switches service_description SSH check_command check_ssh use generic-service notifications_enabled 1 check_period 24x7 normal_check_interval 1 retry_check_interval 1 max_check_attempts 1 notification_period 24x7 notification_options w,u,c,r contact_groups admins notification_interval 0 ; set > 0 if you want to be renotified } # check that telnet is responding #define service { # hostgroup_name switches # service_description Telnet # check_command check_telnet # use generic-service # notification_interval 0 ; set > 0 if you want to be renotified #} # check that ping-only hosts are up define service { hostgroup_name ping-servers service_description PING check_command check_ping!100.0,20%!500.0,60% use generic-service notification_interval 0 ; set > 0 if you want to be renotified } # check gw-rtr if live define service { hostgroup_name gateway-router service_description PING-RTR check_command check-router-alive use generic-service notifications_enabled 1 check_period 24x7 normal_check_interval 1 retry_check_interval 1 max_check_attempts 3 notification_period 24x7 notification_options w,u,c,r contact_groups tickets notification_interval 0 ; set > 0 if you want to be renotified } define service { use generic-service host_name localhost service_description External Host Group Check check_command check_internet!eu.org!yahoo.com!x0.dk!nsrc.org!ws.edu.isoc.org }