Check time mismatch
Posted: Wed Jan 24, 2018 6:57 am
Hi
I have configured a service to check during the check_period given,also whenever this check run it logs a report so that to check the run time for future reference,i have configyred service to run at the specific time periods mentioned,but some time the check run at wrong time.refer logs given below,ideally it should run at XX-06 times.but some time it runs at other also not sure why it runs. my service check is mentioned as below.my need is check needs to run only one every hour -06 minutes,
01-24-2018_04-06-00 File found!
01-24-2018_06-06-00 File found!
01-24-2018_07-06-00 File found!
01-24-2018_08-06-00 File found!
01-24-2018_09-06-00 FILE NOT FOUND-Reporting service is Down!
01-24-2018_09-14-04 FILE NOT FOUND-Reporting service is Down!
01-24-2018_10-06-00 File found!
01-24-2018_10-06-03 FILE NOT FOUND-Reporting service is Down!
01-24-2018_11-06-00 File found!
Service configuration
#File exist service check for XXXX
define service{
service_description XXX
host XXX
check_command check_file-exist
contact_groups XXXXX
use XXXXX
notifications_enabled 1
check_interval 5
max_check_attempts 1
check_period File_CheckPeriod
notification_period 24x7
notification_interval 0
}
I have configured a service to check during the check_period given,also whenever this check run it logs a report so that to check the run time for future reference,i have configyred service to run at the specific time periods mentioned,but some time the check run at wrong time.refer logs given below,ideally it should run at XX-06 times.but some time it runs at other also not sure why it runs. my service check is mentioned as below.my need is check needs to run only one every hour -06 minutes,
01-24-2018_04-06-00 File found!
01-24-2018_06-06-00 File found!
01-24-2018_07-06-00 File found!
01-24-2018_08-06-00 File found!
01-24-2018_09-06-00 FILE NOT FOUND-Reporting service is Down!
01-24-2018_09-14-04 FILE NOT FOUND-Reporting service is Down!
01-24-2018_10-06-00 File found!
01-24-2018_10-06-03 FILE NOT FOUND-Reporting service is Down!
01-24-2018_11-06-00 File found!
Service configuration
#File exist service check for XXXX
define service{
service_description XXX
host XXX
check_command check_file-exist
contact_groups XXXXX
use XXXXX
notifications_enabled 1
check_interval 5
max_check_attempts 1
check_period File_CheckPeriod
notification_period 24x7
notification_interval 0
}