Warning time in seconds (4 hours) Critical time in seconds (1 hour) define service{ use generic-service hostgroup_name myhostgroup service_description System Uptime is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups mysupport process_perf_data 1 notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_snmp_uptime!public!14400!3600 } # comment Comunity, process define command { command_name check_snmp_uptime command_line $USER1$/check_snmp_uptime.pl -H $HOSTADDRESS$ -C $ARG1$ -w $ARG2$ -c $ARG3$ }