Hi
I don't know if it is a bug, but is very strange.
I have defined service with should be checked every monday at 8 am. My config looks like:
define timeperiod{
timeperiod_name monday_at_8
alias monday_at_8
monday 08:00-08:20
}
My service:
normal_check_interval 60
check_period monday_at_8
max_check_attempts 5
retry_interval 3
Today is monday. I use "Re-schedule the next check of this service" and after check Nagios set up Next Scheduled Check: 08-13-2012 17:03:39 . But should be date of next monday 08-20-2012 8:00.
If i change timeperiod on e.g tuesday, or monday but at e.g 20:00 it looks fine.
Please help
Thank you
Wrong "Next Scheduled Check"
Re: Wrong "Next Scheduled Check"
I have modified it but problem still occurs.
define timeperiod{
timeperiod_name monday_at_8
alias monday_at_8
monday 08:00-08:20
exclude without_monday_at_8
}
define timeperiod{
timeperiod_name without_monday_at_8
alias without_monday_at_8
monday 00:00-08:00,08:20-24:00
tuesday 00:00-24:00
wednesday 00:00-24:00
thursday 00:00-24:00
friday 00:00-24:00
saturday 00:00-24:00
sunday 00:00-24:00
}
define timeperiod{
timeperiod_name monday_at_8
alias monday_at_8
monday 08:00-08:20
exclude without_monday_at_8
}
define timeperiod{
timeperiod_name without_monday_at_8
alias without_monday_at_8
monday 00:00-08:00,08:20-24:00
tuesday 00:00-24:00
wednesday 00:00-24:00
thursday 00:00-24:00
friday 00:00-24:00
saturday 00:00-24:00
sunday 00:00-24:00
}
Re: Wrong "Next Scheduled Check"
What version of Nagios are you using?
Re: Wrong "Next Scheduled Check"
Version 3.3.1
I think that it could be a bug, but i can't update Nagios independently.
I think that it could be a bug, but i can't update Nagios independently.
Re: Wrong "Next Scheduled Check"
Would it be easier to just schedule a passive check with NSCA to run on a cron?