define host{ use generic-host ; Name of host template to use host_name localhost alias myhost address 127.0.0.1 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } # 'check_scheduler' command definition define command{ command_name check_scheduler command_line /home/sos/nagios/check_scheduler.pl -H $HOSTADDRESS$ -p $ARG1$ -e $ARG2$ -v 1 } define service{ use generic-service ; Name of service template to use host_name localhost service_description Scheduler is_volatile 1 check_period 24x7 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_scheduler!4444!/monitor_service active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted }