Code: Select all
define timeperiod {
timeperiod_name zzTest
alias TestTime
thursday 11:35-11:45
}
Code: Select all
define service {
host_name server1
service_description Test file checker
use generic-service
check_command share-file-check!$USER3$!$USER4$!D$!downloads/test1/testfile-*!1440!0!!
max_check_attempts 1
check_interval 10
retry_interval 2
check_period zzTest
notification_options w,c,r,
contacts user1
register 1
}
Also, after it runs the check @ 11:38 it sets the next check for 11:48, which is outside the scope of the timeperiod. When it gets to 11:48, it doesn't run the check but sets the next check to be next Thursday @ 11:58 (again, outside the time period). This causes the check not to run correctly the next Thursday. Am I doing something wrong? I've got Nagios XI 2012R1.6.
Thanks